]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: remove an offlined xprt using sysfs
authorOlga Kornievskaia <kolga@netapp.com>
Thu, 24 Jun 2021 03:28:53 +0000 (23:28 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 8 Jul 2021 18:03:24 +0000 (14:03 -0400)
commit8cab4ad89ffd394ee3ef7eb702fc4887213b6058
tree7e350a6beea75278ad9bceb16cc33daf5a3fec95
parent3dace7ff502047e6d54c104bb9a2287780da133c
sunrpc: remove an offlined xprt using sysfs

Once a transport has been put offline, this transport can be also
removed from the list of transports. Any tasks that have been stuck
on this transport would find the next available active transport
and be re-tried. This transport would be removed from the xprt_switch
list and freed.

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