mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
6ba0c4e5bb
commit
0de43976fb
6 changed files with 57 additions and 39 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue