OSDN Git Service

svcrdma: Clean up the tracing for rw_ctx_init errors
authorChuck Lever <chuck.lever@oracle.com>
Fri, 20 Mar 2020 18:02:49 +0000 (14:02 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 18 May 2020 14:21:21 +0000 (10:21 -0400)
commit2abfbe7e3a725380f22f572c69da41515a0dd43b
treec15762ffd4dc70716fb96622a835f5cad0ac12cf
parentca4faf543a33373bed3650812d5f0cd0bd295b1a
svcrdma: Clean up the tracing for rw_ctx_init errors

- De-duplicate code
- Rename the tracepoint with "_err" to allow enabling via glob
- Report the sg_cnt for the failing rw_ctx
- Fix a dumb signage issue

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