summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2014-07-29 21:34:36 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-07-31 14:20:26 -0400
commitd4f0489f38512027fdf5190d5d1d8007e155e88f (patch)
treed54d60e2dd6e37b3d2963e4402f790affebf19bf /fs/nfsd/state.h
parentc58c6610ec248134b0b0ede2ac80859bf1cefa29 (diff)
downloadop-kernel-dev-d4f0489f38512027fdf5190d5d1d8007e155e88f.zip
op-kernel-dev-d4f0489f38512027fdf5190d5d1d8007e155e88f.tar.gz
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 e073c86..73a209d 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;
OpenPOWER on IntegriCloud