]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5456b5975b2b10d239a2e01eed10243d2627afba
tree28b171d563bfa2d974fb62f4260811d619ec5035
parentba9c2e0fd2280c388a30da62f9fc4209f087fef0
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