]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS/flexfiles: If the layout is invalid, it must be updated before retrying
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 18 Feb 2017 00:49:09 +0000 (19:49 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 22 Feb 2017 15:49:37 +0000 (10:49 -0500)
commitf3592175680226bbe9a56244d47c0f830604ebe1
tree8c83e0c9c9bdfae57967267a10cfd368e6f3974c
parent5b3a943f89904bd3c8be0d4215443eecce0de98e
pNFS/flexfiles: If the layout is invalid, it must be updated before retrying

If we see that our pNFS READ/WRITE/COMMIT operation failed, but we
also see that our layout segment is no longer valid, then we need to
get a new layout segment before retrying.

Fixes: 24561d92cbe0 ("NFSv4.1/flexfiles: Don't mark the entire deviceid...")
Cc: stable@vger.kernel.org # v4.2+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/flexfilelayout/flexfilelayout.c