]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd26c4019c9ee1b1c60898be488796a80f95da1f0
treea2dbc5142ddb7c39ad99e6b16937249448e4248f
parent8f2cc0bfc11bc7ced16a5d724ac6e5db9871395b
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