]> git.karo-electronics.de Git - linux-beck.git/commit
Btrfs: Fix balance_level to free the middle block if there is room in the left one
authorChris Mason <chris.mason@oracle.com>
Thu, 24 Apr 2008 18:42:46 +0000 (14:42 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:02 +0000 (11:04 -0400)
commitbce4eae9864e6b6ebde5d7f05576ff0a6c3724d0
tree87e90c0e7b7a75b9df5c062504a86c0424cade68
parent971a1f6648bfafd4239234f1ffb9c26e907c2744
Btrfs: Fix balance_level to free the middle block if there is room in the left one

balance level starts by trying to empty the middle block, and then
pushes from the right to the middle.  This might empty the right block
and leave a small number of pointers in the middle.

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