]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f35274d99b25f9ae73bf72496bcc165fd4b4849
tree61609debcd87ce949c12266f692affb59bf19f1f
parentb87041aa249216400a75553b123b4c934dc1a2ea
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