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)
commit6604b203fb6394ed1f24c21bfa3c207e5ae8e461
treeaf5022c5b4bb52bb69626dbfb13bc020d7bcae2a
parent9888d837f3cf6b1f38f7717ab58236f94123ca19
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