diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-09-03 01:15:15 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-09-30 21:35:17 +0200 |
commit | 9ae075fdd1901b60d87a0404f9c110753e16969a (patch) | |
tree | 49eddf2c27be1bfe9308dff02d46d35b2a3e123a /fs/nfs/nfs4_fs.h | |
parent | NFS: Convert lookups of the open context to RCU (diff) | |
download | linux-9ae075fdd1901b60d87a0404f9c110753e16969a.tar.xz linux-9ae075fdd1901b60d87a0404f9c110753e16969a.zip |
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; }; |