From: Olga Kornievskaia <kolga@xxxxxxxxxx> A client needs to deal with changes to trunking group membership, specially when a particular connection (endpoint) is no longer a part of the trunking group membership. On such occasion, the attempts of using such transports result in BAD_SESSION error as the endpoint no longer shares session state with the others. To deal with such situation, this series proposes to destroy trunking connections when the client destroys the session. Olga Kornievskaia (3): SUNRPC provide accessible functions for offline remote xprt functionality SUNRPC add function to offline remote trunkable transports NFSv4.1 destroy trunkable transport when destroying the session fs/nfs/nfs4proc.c | 1 + include/linux/sunrpc/clnt.h | 1 + include/linux/sunrpc/xprt.h | 2 ++ net/sunrpc/clnt.c | 39 +++++++++++++++++++++++++++++++++++++ net/sunrpc/sysfs.c | 23 +++++----------------- net/sunrpc/xprt.c | 25 ++++++++++++++++++++++++ 6 files changed, 73 insertions(+), 18 deletions(-) -- 2.27.0