From: Chris Mason Date: Sat, 24 May 2008 18:04:53 +0000 (-0400) Subject: Btrfs: Allocator fix variety pack X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~166 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ef3e66b6700eb8f052daa8b89443ff872fbbdfc;p=pandora-kernel.git Btrfs: Allocator fix variety pack * Force chunk allocation when find_free_extent has to do a full scan * Record the max key at the start of defrag so it doesn't run forever * Block groups might not be contiguous, make a forward search for the next block group in extent-tree.c * Get rid of extra checks for total fs size * Fix relocate_one_reference to avoid relocating the same file data block twice when referenced by an older transaction * Use the open device count when allocating chunks so that we don't try to allocate from devices that don't exist Signed-off-by: Chris Mason --- Reading git-diff-tree failed