NFS: Refactor nfs_page_find_head_request()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 1 Aug 2017 16:26:53 +0000 (12:26 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Aug 2017 15:54:47 +0000 (11:54 -0400)
commitb30d2f04c35d539bf8003b3e014c389abefc249b
treed9545ae599d39524d44bc4323f6526df01789d59
parentbd37d6fce184836bd5e7cd90ce40116a4fadaf2a
NFS: Refactor nfs_page_find_head_request()

Split out the 2 cases so that we can treat the locking differently.
The issue is that the locking in the pageswapcache cache is highly
linked to the commit list locking.

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