Btrfs: enforce metadata allocation clustering
authorChris Mason <chris.mason@oracle.com>
Fri, 7 Nov 2008 02:48:27 +0000 (21:48 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 7 Nov 2008 02:48:27 +0000 (21:48 -0500)
The allocator uses the last allocation as a starting point for metadata
allocations, and tries to allocate in clusters of at least 256k.

If the search for a free block fails to find the expected block, this patch
forces a new cluster to be found in the free list.

Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found