]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Reduce lock contention in nfs_page_find_head_request()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Jul 2017 13:30:13 +0000 (09:30 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Aug 2017 15:54:46 +0000 (11:54 -0400)
commit772f4cd06db0a749fb2675b1f42b811a5e2439d6
tree0e8c3f768d8ab4e91944893624dcb73ef8e557e7
parent757e126b32d09b29e296b76b5557638cb3e6b90e
NFS: Reduce lock contention in nfs_page_find_head_request()

Add a lockless check for whether or not the page might be carrying
an existing writeback before we grab the inode->i_lock.

Reported-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/write.c