]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix worst case calculator for space usage
authorJosef Bacik <jbacik@fusionio.com>
Tue, 17 Sep 2013 14:50:06 +0000 (10:50 -0400)
committerChris Mason <chris.mason@fusionio.com>
Sat, 21 Sep 2013 15:05:27 +0000 (11:05 -0400)
commitafdad848340345fd23faa27b07c603d5e692b3a9
treec0f6c6ccb6fa345681a453b0db9d4dc9719dad7a
parent4a08ffa71335fd0c74f8c8fb99e0d763bc83a543
Btrfs: fix worst case calculator for space usage

Forever ago I made the worst case calculator say that we could potentially split
into 3 blocks for every level on the way down, which isn't right.  If we split
we're only going to get two new blocks, the one we originally cow'ed and the new
one we're going to split.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/ctree.h