Skip to content

Commit 88363d3

Browse files
Olga KornievskaiaTrond Myklebust
authored andcommitted
NFSv4.1 offline trunkable transports on DESTROY_SESSION
When session is destroy, some of the transports might no longer be valid trunks for the new session. Offline existing transports. Signed-off-by: Olga Kornievskaia <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
1 parent 895245c commit 88363d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/nfs/nfs4proc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9291,6 +9291,7 @@ int nfs4_proc_destroy_session(struct nfs4_session *session,
92919291
if (status)
92929292
dprintk("NFS: Got error %d from the server on DESTROY_SESSION. "
92939293
"Session has been destroyed regardless...\n", status);
9294+
rpc_clnt_manage_trunked_xprts(session->clp->cl_rpcclient);
92949295
return status;
92959296
}
92969297

0 commit comments

Comments
 (0)