OSDN Git Service

NFS: Convert lookups of the open context to RCU
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 2 Sep 2018 19:57:01 +0000 (15:57 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:17 +0000 (15:35 -0400)
commit0de43976fbe716379084f954b1e370c35aa87bf0
tree64a6ea935fc8015c7369b9ece308771585cd3053
parent6ba0c4e5bb08cc929662588aa2015e0ee7ee9376
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>
fs/nfs/delegation.c
fs/nfs/inode.c
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c
fs/nfs/pnfs.c
include/linux/nfs_fs.h