diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-09-02 19:15:15 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-09-30 15:35:17 -0400 |
commit | 9ae075fdd1901b60d87a0404f9c110753e16969a (patch) | |
tree | 49eddf2c27be1bfe9308dff02d46d35b2a3e123a /fs/nfs/nfs4_fs.h | |
parent | 0de43976fbe716379084f954b1e370c35aa87bf0 (diff) |
NFSv4: Convert open state lookup to use RCU
Further reduce contention on the inode->i_lock.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 3a6904173214..1b4737f4cac4 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h @@ -191,6 +191,7 @@ struct nfs4_state { atomic_t count; wait_queue_head_t waitq; + struct rcu_head rcu_head; }; |