]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 4 Oct 2012 13:40:10 +0000 (09:40 -0400)
commit0cbc7ef88ee8079fa9075c2712eeab8bab032748
tree88579161c18e1e96a11e6789a93e46ff0397a273
parent6714334df95c796a1e0d4c0384cca14455080124
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