]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: do not hold the file extent leaf locked when adding extent item
authorJosef Bacik <jbacik@fusionio.com>
Tue, 25 Sep 2012 19:26:16 +0000 (15:26 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 9 Oct 2012 13:15:40 +0000 (09:15 -0400)
commitfb23177893cfa3be5da0282cea516c09e019f06f
tree2800971063509c668bfda07aafc7d8dd1ab1578b
parent5d7321b0018dbcfd1cf215682343a520112358d0
Btrfs: do not hold the file extent leaf locked when adding extent item

For some reason we unlock everything except the leaf we are on, set the path
blocking and then add the extent item for the extent we just finished
writing.  I can't for the life of me figure out why we would want to do
this, and the history doesn't really indicate that there was a real reason
for it, so just remove it.  This will reduce our tree lock contention on
heavy writes.  Thanks,

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