From: Chris Mason Date: Tue, 9 Jun 2009 22:35:15 +0000 (-0400) Subject: Btrfs: avoid allocation clusters that are too spread out X-Git-Tag: v2.6.31-rc1~380^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c604480171c510c1beeb81b82418e5bc4de8f1ae;p=pandora-kernel.git Btrfs: avoid allocation clusters that are too spread out In SSD mode for data, and all the time for metadata the allocator will try to find a cluster of nearby blocks for allocations. This commit adds extra checks to make sure that each free block in the cluster is close to the last one. Signed-off-by: Chris Mason --- Reading git-diff-tree failed