OSDN Git Service

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)
commitcf61eb268678c83eef812f937a3a9aeee67c460b
tree3f0f6ef3efddddf1a3f71795ee9b90a3801f6098
parentd68894800ec5712d7ddf042356f11e36f87d7f78
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