]> 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)
commit1eb3c621253a7c488405724a3775d9fff710c1ba
tree8c83e0c9c9bdfae57967267a10cfd368e6f3974c
parent1f484f152b00e4d24a3085d87f446abeffca471c
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: 39264323fbb4 ("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