summaryrefslogtreecommitdiff
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2014-07-30 05:34:36 +0400
committerJ. Bruce Fields <bfields@redhat.com>2014-07-31 22:20:26 +0400
commitd4f0489f38512027fdf5190d5d1d8007e155e88f (patch)
treed54d60e2dd6e37b3d2963e4402f790affebf19bf /fs/nfsd/state.h
parentc58c6610ec248134b0b0ede2ac80859bf1cefa29 (diff)
downloadlinux-d4f0489f38512027fdf5190d5d1d8007e155e88f.tar.xz
nfsd: Move the open owner hash table into struct nfs4_client
Preparation for removing the client_mutex. Convert the open owner hash table into a per-client table and protect it using the nfs4_client->cl_lock spin lock. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r--fs/nfsd/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index e073c86f389c..73a209dc352b 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -235,6 +235,7 @@ struct nfsd4_sessionid {
struct nfs4_client {
struct list_head cl_idhash; /* hash by cl_clientid.id */
struct rb_node cl_namenode; /* link into by-name trees */
+ struct list_head *cl_ownerstr_hashtbl;
struct list_head cl_openowners;
struct idr cl_stateids; /* stateid lookup */
struct list_head cl_delegations;