]> 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)
commit591c33257e79e86fd089229a4525de6f024006e5
tree3f0f6ef3efddddf1a3f71795ee9b90a3801f6098
parent40a308696dd887e89e0039054a5d15b671071b08
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