From: Jeff Layton Date: Fri, 25 Jul 2014 11:34:26 +0000 (-0400) Subject: nfsd: give block_delegation and delegation_blocked its own spinlock X-Git-Tag: omap-for-v3.17/fixes-against-rc2~101^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f54fe962b88fbecd918feeb49b8838e272184c91;p=pandora-kernel.git nfsd: give block_delegation and delegation_blocked its own spinlock The state lock can be fairly heavily contended, and there's no reason that nfs4_file lookups and delegation_blocked should be mutually exclusive. Let's give the new block_delegation code its own spinlock. It does mean that we'll need to take a different lock in the delegation break code, but that's not generally as critical to performance. Cc: Neil Brown Signed-off-by: Jeff Layton Reviewed-by: Christoph Hellwig Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed