]> 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)
commit0aa49b32fde7e01abf3a1273a40e3aacfd9cda47
tree1728cf3caf2430e3a4cd944228b31f084f577115
parent073f2d8a27a7ab6e75f9e91408194a727da3b2d8
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