Btfs: More metadata allocator optimizations
commit4366211ccd050e00674b3276b5ed81981b2d7793
authorChris Mason <chris.mason@oracle.com>
Fri, 7 Nov 2008 14:06:11 +0000 (7 09:06 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 7 Nov 2008 14:06:11 +0000 (7 09:06 -0500)
treeaa2ffcc59c9c5b42ac72230704e29809aaddb361
parent3b7885bf96e03271a9fff41124c38ed7176616e2
Btfs: More metadata allocator optimizations

This lowers the empty cluster target for metadata allocations.  The lower
target makes it easier to do allocations and still seems to perform well.

It also fixes the allocator loop to drop the empty cluster when things
start getting difficult, avoiding false enospc warnings.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c