diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-09-02 15:57:01 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-09-30 15:35:17 -0400 |
commit | 0de43976fbe716379084f954b1e370c35aa87bf0 (patch) | |
tree | 64a6ea935fc8015c7369b9ece308771585cd3053 /include/linux/nfs_fs.h | |
parent | 6ba0c4e5bb08cc929662588aa2015e0ee7ee9376 (diff) | |
download | blackbird-op-linux-0de43976fbe716379084f954b1e370c35aa87bf0.tar.gz blackbird-op-linux-0de43976fbe716379084f954b1e370c35aa87bf0.zip |
NFS: Convert lookups of the open context to RCU
Reduce contention on the inode->i_lock by ensuring that we use RCU
when looking up the NFS open context.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r-- | include/linux/nfs_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index d2f4f88a0e66..6e0417c02279 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -83,6 +83,7 @@ struct nfs_open_context { struct list_head list; struct nfs4_threshold *mdsthreshold; + struct rcu_head rcu_head; }; struct nfs_open_dir_context { |