commit | 386b142945d3a8842c615421158f6d8565ef86e7 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Thu Jan 21 17:11:42 2021 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Feb 13 13:55:05 2021 +0100 |
tree | f0b5f461ca6d40f106a30570d89e84415a12fcd9 | |
parent | 8007199fe372a7de7a3bc4dc0dca364f2129923a [diff] |
pNFS/NFSv4: Try to return invalid layout in pnfs_layout_process() [ Upstream commit 08bd8dbe88825760e953759d7ec212903a026c75 ] If the server returns a new stateid that does not match the one in our cache, then try to return the one we hold instead of just invalidating it on the client side. This ensures that both client and server will agree that the stateid is invalid. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>