xprtrdma: Display the task ID when reporting MR events
authorChuck Lever <chuck.lever@oracle.com>
Mon, 9 Nov 2020 19:40:03 +0000 (14:40 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 11 Nov 2020 15:46:54 +0000 (10:46 -0500)
commit7703db978d4cf7c51426183b7c0d03c039757a44
tree80573174468b8322141c0aaddd0fc3b2da8ed5c7
parent0307cdec7c3412d7665363ab0cd61fccf82bfb2d
xprtrdma: Display the task ID when reporting MR events

Tie each MR event to the requesting rpc_task to make it easier to
follow MR ownership and control flow.

MR unmapping and recycling can happen in the background, after an
MR's mr_req field is stale, so set up a separate tracepoint class
for those events.

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
net/sunrpc/xprtrdma/rpc_rdma.c