]> 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>
Mon, 1 Oct 2012 19:35:07 +0000 (15:35 -0400)
commit351a51f9cbeee70918249ee7f3142cdd35fcc684
tree7625f7a8066ed4c3de084bf8074ef7bcadf029f4
parentdcf844b9a786197dc4b5a84b52247561328b64b3
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