OSDN Git Service

SUNRPC: Hoist trace_xprtrdma_op_allocate into generic code
authorChuck Lever <chuck.lever@oracle.com>
Wed, 8 Jul 2020 20:09:11 +0000 (16:09 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 21 Sep 2020 14:21:08 +0000 (10:21 -0400)
commit06e234c6132784c56198423c653f1ad0e1e1fdc1
tree95396589cdbcd351e05b56ff71941c640dee6812
parente4378a0fdd43a676bb4dbd858bc9e61c6661193b
SUNRPC: Hoist trace_xprtrdma_op_allocate into generic code

Introduce a tracepoint in call_allocate that reports the exact
sizes in the RPC buffer allocation request and the status of the
result. This helps catch problems with XDR buffer provisioning,
and replaces transport-specific debugging instrumentation.

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