sunrpc: add add sysfs directory per xprt under each xprt_switch
authorOlga Kornievskaia <kolga@netapp.com>
Tue, 8 Jun 2021 19:59:18 +0000 (15:59 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 8 Jul 2021 18:03:23 +0000 (14:03 -0400)
commitd408ebe04ac58eb370e2d264e88edbab746adda6
treea2dbc5142ddb7c39ad99e6b16937249448e4248f
parent2a338a543163ad6b42f4732396249cea6d3a33c8
sunrpc: add add sysfs directory per xprt under each xprt_switch

Add individual transport directories under each transport switch
group. For instance, for each nconnect=X connections there will be
a transport directory. Naming conventions also identifies transport
type -- xprt-<id>-<type> where type is udp, tcp, rdma, local, bc.

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