SUNRPC: Add trace points to observe transport congestion control
authorChuck Lever <chuck.lever@oracle.com>
Wed, 9 Oct 2019 16:58:14 +0000 (12:58 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 24 Oct 2019 14:30:39 +0000 (10:30 -0400)
commitbf7ca707ae60045342e145c88a83bbe00f66775f
tree1ac54b9b5e925c3811e8b8f805fa836b993364b0
parent5cd8b0d4dd96eece89f0b4ad623028057edd3245
SUNRPC: Add trace points to observe transport congestion control

To help debug problems with RPC/RDMA credit management, replace
dprintk() call sites in the transport send lock paths with trace
events.

Similar trace points are defined for the non-congestion paths.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/trace/events/sunrpc.h
net/sunrpc/xprt.c