]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSv4.1: RECLAIM_COMPLETE must handle NFS4ERR_CONN_NOT_BOUND_TO_SESSION
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 4 May 2017 17:44:04 +0000 (13:44 -0400)
committerSasha Levin <alexander.levin@microsoft.com>
Wed, 23 May 2018 01:36:22 +0000 (21:36 -0400)
commitd1aec3c8f13b600a4539aa895ab71dc95e600995
tree11bd0f453054331ea3f5901e02c07b767295102e
parenta87a7c413c0d05b2f7d25588f29b8713b1e1f8ca
NFSv4.1: RECLAIM_COMPLETE must handle NFS4ERR_CONN_NOT_BOUND_TO_SESSION

[ Upstream commit 0048fdd06614a4ea088f9fcad11511956b795698 ]

If the server returns NFS4ERR_CONN_NOT_BOUND_TO_SESSION because we
are trunking, then RECLAIM_COMPLETE must handle that by calling
nfs4_schedule_session_recovery() and then retrying.

Reported-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Tested-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c