]> git.karo-electronics.de Git - linux-beck.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Jan 2017 07:32:24 +0000 (08:32 +0100)
commit24b049fa0cd93e9e3e4166de8937b197b101a585
treec90752302bc1e884eb4319ce62aee5bb46eed619
parentb775b86a5fe8f45500ce027a60ca0f1e1f49a13e
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