OSDN Git Service

pNFS: Handle NFS4ERR_OLD_STATEID on layoutreturn by bumping the state seqid
authorTrond Myklebust <trondmy@gmail.com>
Fri, 20 Sep 2019 11:23:45 +0000 (07:23 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 20 Sep 2019 19:48:35 +0000 (15:48 -0400)
commit30cb3ee299cbf343fe07419e9b0f8dc305979eb6
treec3712b9e919e26632ea3fcaf7cbcd9c1e0eb1f47
parent922839570920c024baf740ef45dfa98009f0192e
pNFS: Handle NFS4ERR_OLD_STATEID on layoutreturn by bumping the state seqid

If a LAYOUTRETURN receives a reply of NFS4ERR_OLD_STATEID then assume we've
missed an update, and just bump the stateid.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h