[GFS2] Make the log reserved blocks depend on block size
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 1 Jun 2007 14:19:33 +0000 (15:19 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 9 Jul 2007 07:23:03 +0000 (08:23 +0100)
commit89918647a445fddfe223b097e29f775dcfa81eab
tree627b21140ea3b2655c6818c03d3df55157c2a387
parent1990e917651d58a3c5155d0491431c09e29e385b
[GFS2] Make the log reserved blocks depend on block size

The number of blocks which we reserve in the log at the start of each
transaction needs to depends upon the block size since the overhead is
related to the number of "pointers" which can be fitted into a single
block.

This relates to Red Hat bz #240435

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/log.c