NFS: Reduce lock contention in nfs_try_to_update_request()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Jul 2017 13:37:12 +0000 (09:37 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Aug 2017 15:54:46 +0000 (11:54 -0400)
commit1403390d8366c717139cab26b8e94d943915fa12
tree4a254482b5f730f0927b88c0fafca3361b7f9235
parent82749dd4efcec8e90fa7769eec3dd0afa2e3396a
NFS: Reduce lock contention in nfs_try_to_update_request()

Micro-optimisation to move the lockless check into the for(;;) loop.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/write.c