]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS: On error, do not send LAYOUTGET until the LAYOUTRETURN has completed
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Oct 2016 21:54:32 +0000 (17:54 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 1 Dec 2016 22:21:40 +0000 (17:21 -0500)
commit142b295a20792184c5024726c2df92110dff4155
treeaf5022c5b4bb52bb69626dbfb13bc020d7bcae2a
parent94b70d8d4d40523addccb881611a17c3f410950e
pNFS: On error, do not send LAYOUTGET until the LAYOUTRETURN has completed

If there is an I/O error, we should not call LAYOUTGET until the
LAYOUTRETURN that reports the error is complete.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org # v4.8+
fs/nfs/pnfs.c
fs/nfs/pnfs.h