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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jan 2017 07:22:01 +0000 (08:22 +0100)
commit7de1b81c27fd271e5df350ab6ca8316e0724cc22
tree632dd8a4c242b4d9e89e3366c51ee7f61946f475
parent8f5ff877bf19076c49eda0b440ad16507ebd1fcf
pNFS: On error, do not send LAYOUTGET until the LAYOUTRETURN has completed

commit 6604b203fb6394ed1f24c21bfa3c207e5ae8e461 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/pnfs.c
fs/nfs/pnfs.h