From: Zheng Yan Date: Fri, 26 Sep 2008 14:05:48 +0000 (-0400) Subject: Btrfs: allocator fixes for space balancing update X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8569813849b5da394a195c7e76b4faa452b12d1;p=pandora-kernel.git Btrfs: allocator fixes for space balancing update * Reserved extent accounting: reserved extents have been allocated in the rbtrees that track free space but have not been allocated on disk. They were never properly accounted for in the past, making it hard to know how much space was really free. * btrfs_find_block_group used to return NULL for block groups that had been removed by the space balancing code. This made it hard to account for space during the final stages of a balance run. Signed-off-by: Chris Mason --- Reading git-diff-tree failed