btrfs: free delayed node outside of root->inode_lock
authorJeff Mahoney <[email protected]>
Tue, 27 May 2014 17:53:20 +0000 (13:53 -0400)
committerChris Mason <[email protected]>
Tue, 10 Jun 2014 00:21:08 +0000 (17:21 -0700)
commit964930312aec583809a690868119ce716f4ee926
tree25f6ca23614b5116005d6e6835e567542ae12501
parent902c68a4da74442f0ab1c0b458f7723a68dfd3b1
btrfs: free delayed node outside of root->inode_lock

On heavy workloads, we're seeing soft lockup warnings on
root->inode_lock in __btrfs_release_delayed_node. The low hanging fruit
is to reduce the size of the critical section.

Signed-off-by: Jeff Mahoney <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/delayed-inode.c