diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-07-25 13:34:26 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-07-29 20:49:57 +0200 |
commit | f54fe962b88fbecd918feeb49b8838e272184c91 (patch) | |
tree | b227371770c27c5b66465acc069bd4ebfa4cdcc8 /fs/nfsd/state.h | |
parent | nfsd: clean up nfs4_set_delegation (diff) | |
download | linux-f54fe962b88fbecd918feeb49b8838e272184c91.tar.xz linux-f54fe962b88fbecd918feeb49b8838e272184c91.zip |
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 'fs/nfsd/state.h')
0 files changed, 0 insertions, 0 deletions