]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/204: tweak reserve pool size
authorDave Chinner <dchinner@redhat.com>
Mon, 28 Apr 2014 00:54:27 +0000 (10:54 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 28 Apr 2014 00:54:27 +0000 (10:54 +1000)
commit31a50c7a81c3be56676dd55da11aeb5d1e720145
tree25bfd5674b0672bc39797585c87443e5ecf0856a
parent6f55bbd0f59d4a24014ceea22198a356d312b80a
generic/204: tweak reserve pool size

On small block size filesystems, the reserve pool size is kept
constant at 4MB. filesystems with smaller blocks use comparitively
more blocks for indexing metadata (e.g. in the inode and extent
btrees) and so having a higher indirect block usage. Hence we need
to leave the reserve pool at 1024 block and not scale it for a
constant size.

This makes the test pass on a filesystem made with MKFS_OPTIONS="-b
size=1024 -m crc=1".

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/204