]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Always clear the pNFS layout when handling ESTALE
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 30 May 2018 02:06:08 +0000 (22:06 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 31 May 2018 19:02:16 +0000 (15:02 -0400)
commit8a8ff97c811e242c62b08215fbebd319c18f944b
tree3f0f6ef3efddddf1a3f71795ee9b90a3801f6098
parent822ef5b403de79fc52412f44fe6cbc8a9fd533e3
NFSv4: Always clear the pNFS layout when handling ESTALE

If we get an ESTALE error in response to an RPC call operating on the
file on the MDS, we should immediately cancel the layout for that file.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs42proc.c
fs/nfs/nfs4proc.c