OSDN Git Service

svcrdma: Add tracepoints to report ->xpo_accept failures
authorChuck Lever <chuck.lever@oracle.com>
Thu, 30 Apr 2020 19:25:01 +0000 (15:25 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 18 May 2020 14:21:22 +0000 (10:21 -0400)
commite979a173a0b8dc1a41bc3194e34b92d79c049ad3
tree61609debcd87ce949c12266f692affb59bf19f1f
parentdecc13f7eb258b8c5c564ec1f11a24f14af275f8
svcrdma: Add tracepoints to report ->xpo_accept failures

Failure to accept a connection is typically due to a problem
specific to a transport type. Also, ->xpo_accept returns NULL
on error rather than reporting a specific problem.

So, add failure-specific tracepoints in svc_rdma_accept().

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