]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 4 Oct 2012 13:40:07 +0000 (09:40 -0400)
commitc4f39c7450af1f618a551d5eb9061841052095c5
treed5540d33deffe73415a974c01432ad14803fb649
parent6b7649a70ce2a13c5f3b80744e8c2651fc4eaf37
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