]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Avoid delayed reference update looping
authorYan Zheng <zheng.yan@oracle.com>
Fri, 24 Jul 2009 16:42:46 +0000 (12:42 -0400)
committerChris Mason <chris.mason@oracle.com>
Fri, 24 Jul 2009 16:42:46 +0000 (12:42 -0400)
commit25a6e81ea41cd8f5a514388ae1397fb4f9049b83
treebb3f8aafe721504c329d448f84f3b3868e056413
parent8d9b3f7262cc0df871725d67bd13790c71c57251
Btrfs: Avoid delayed reference update looping

btrfs_split_leaf and btrfs_del_items can end up in a loop
where one is constantly spliting a given leaf and the other
is constantly merging it back with the adjacent nodes.

There is a better fix for this, but in the interest of something
small, this patch just changes btrfs_del_items back to balancing less
often.

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