OSDN Git Service

SUNRPC create an rpc function that allows xprt removal from rpc_clnt
authorOlga Kornievskaia <olga.kornievskaia@gmail.com>
Mon, 25 Jul 2022 13:32:26 +0000 (09:32 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 25 Jul 2022 14:06:04 +0000 (10:06 -0400)
commit497e6464d6adcee64f071b18fc826e63cfd2f0a5
tree6b8432ece95cc96b7047eb53e0be45539b613a95
parent9368fd6c75053630e95a6dbd17c9522e82101276
SUNRPC create an rpc function that allows xprt removal from rpc_clnt

Expose a function that allows a removal of xprt from the rpc_clnt.

When called from NFS that's running a trunked transport then don't
decrement the active transport counter.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/clnt.h
include/linux/sunrpc/xprtmultipath.h
net/sunrpc/clnt.c
net/sunrpc/xprt.c
net/sunrpc/xprtmultipath.c