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)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 5 May 2017 16:01:50 +0000 (12:01 -0400)
commit0048fdd06614a4ea088f9fcad11511956b795698
tree2237937ba40fce070fc6d3a80f8ddcf47d41e044
parentc296cfe26bdd86de6eeefde57d333174ed9574d0
NFSv4.1: RECLAIM_COMPLETE must handle NFS4ERR_CONN_NOT_BOUND_TO_SESSION

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>
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c