]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Wait for requests that are locked on the commit list
authorTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 1 Aug 2017 21:29:29 +0000 (17:29 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Aug 2017 15:54:48 +0000 (11:54 -0400)
commitd15a2fed4d665a00c44806fd82c9f6b24e77fc51
tree1728cf3caf2430e3a4cd944228b31f084f577115
parentd30105acfcd27cdc194b75f71b1106a9c1c7cddb
NFS: Wait for requests that are locked on the commit list

If a request is on the commit list, but is locked, we will currently skip
it, which can lead to livelocking when the commit count doesn't reduce
to zero.

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