xprtrdma: Enhance MR-related trace points
authorChuck Lever <chuck.lever@oracle.com>
Wed, 12 Feb 2020 16:12:35 +0000 (11:12 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 27 Mar 2020 14:47:24 +0000 (10:47 -0400)
commit62a89501a3bde310ba339cc90bb05879528d84a0
tree28b171d563bfa2d974fb62f4260811d619ec5035
parentfb33c6510d5595144d585aa194d377cf74d31911
xprtrdma: Enhance MR-related trace points

Two changes:
- Show the number of SG entries that were mapped. This helps debug
  DMA-related problems.
- Record the MR's resource ID instead of its memory address. This
  groups each MR with its associated rdma-tool output, and reduces
  needless exposure of memory addresses.

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