]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't commit instead of overcommitting
authorJosef Bacik <jbacik@fusionio.com>
Fri, 28 Sep 2012 20:04:19 +0000 (16:04 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 9 Oct 2012 13:15:42 +0000 (09:15 -0400)
commit9137717828337ec89d7ff0837d36b9665f48e738
tree2f1c94e4410a9b620b25d3e24016c5d545a727c3
parent0cbf350a52741072d7a11642754c2b3149fbf52e
Btrfs: don't commit instead of overcommitting

I don't think we have the same problem that this was supposed to fix
originally since we can allocate chunks in the enospc path now.  This code
is causing us to constantly commit the transaction as we get close to using
all of our available space in our currently allocated chunks, instead of
allocating another chunk and carrying on with life, which is not nice for
performance.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/extent-tree.c