sunrpc: provide transport info in the sysfs directory
authorOlga Kornievskaia <kolga@netapp.com>
Tue, 8 Jun 2021 19:59:20 +0000 (15:59 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 8 Jul 2021 18:03:24 +0000 (14:03 -0400)
commit4a09651a6b28748af401a1dd5cf9cea06c3aa329
treef7a33b9e141b01cbe22ad2cf877b606c49a5cb66
parent587bc7255d26ca80b58026881db5fb3bf770cc43
sunrpc: provide transport info in the sysfs directory

Allow to query transport's attributes. Currently showing following
fields of the rpc_xprt structure: state, last_used, cong, cwnd,
max_reqs, min_reqs, num_reqs, sizes of queues binding, sending,
pending, backlog.

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