btrfs: free delayed node outside of root->inode_lock
authorJeff Mahoney <jeffm@suse.com>
Tue, 27 May 2014 17:53:20 +0000 (13:53 -0400)
committerChris Mason <clm@fb.com>
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 <jeffm@suse.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/delayed-inode.c