NFS: Switch to using mapping->private_lock for page writeback lookups.
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 1 Aug 2017 16:34:44 +0000 (12:34 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Aug 2017 15:54:48 +0000 (11:54 -0400)
commit4b9bb25b36baa3e2e42b91e451bcd3acfe197a1d
treeb99c777b2cce0719c09fc376413df404371c1c22
parent5cb953d4b1e70a09084f71594c45d47458346bc2
NFS: Switch to using mapping->private_lock for page writeback lookups.

Switch from using the inode->i_lock for this to avoid contention with
other metadata manipulation.

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