SUNRPC keep track of number of transports to unique addresses
authorOlga Kornievskaia <kolga@netapp.com>
Fri, 27 Aug 2021 18:37:14 +0000 (14:37 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 27 Aug 2021 20:36:53 +0000 (16:36 -0400)
commit3a3f976639f267823e443fdd8bffa03848fa1c3f
tree482aa34aaaa77127cdee0555f753ba9fe3129c32
parent79d534f8cbf9714e2ba735f5b6c97678d266b2de
SUNRPC keep track of number of transports to unique addresses

Currently, xprt_switch keeps a number of all xprts (xps_nxprts)
that were added to the switch regardless of whethere it's an
nconnect transport or a transport to a trunkable address.
Introduce a new counter to keep track of transports to unique
destination addresses per xprt_switch.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/xprtmultipath.h
net/sunrpc/clnt.c
net/sunrpc/xprtmultipath.c