diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-07-25 07:34:26 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-07-29 14:49:57 -0400 |
commit | f54fe962b88fbecd918feeb49b8838e272184c91 (patch) | |
tree | b227371770c27c5b66465acc069bd4ebfa4cdcc8 /net | |
parent | 0b26693c56cc4beae2f913e737b15c12bc2b5b97 (diff) | |
download | linux-f54fe962b88fbecd918feeb49b8838e272184c91.tar.bz2 |
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 <neilb@suse.de>
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions