]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Retry CLOSE and DELEGRETURN on NFS4ERR_OLD_STATEID.
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 6 Nov 2017 20:28:05 +0000 (15:28 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 17 Nov 2017 21:43:47 +0000 (16:43 -0500)
commit9b2b64d0cdec044d298bcd984dd00aa331ba23d8
tree9a600a7d2a3aab850f7de32d3ce0170026b6815f
parent7b5be094166aef8d1e2e9d223d7f9eace3d0099c
NFSv4: Retry CLOSE and DELEGRETURN on NFS4ERR_OLD_STATEID.

If we're racing with an OPEN, then retry the operation instead of
declaring it a success.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
[Andrew W Elble: Fix a typo in nfs4_refresh_open_stateid]
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/delegation.c
fs/nfs/delegation.h
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c