Skip to content

RPC server tracepoints

Chuck Lever linux-nfs linux-rdma oe-kbuild-all 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7SUNRPC: svc_show_status() macro needs enum definitionsinclude/trace/events/sunrpc.h+11 -00 replies
2/7SUNRPC: Move xpt_mutex into socket xpo_sendto methodsinclude/linux/sunrpc/svc_xprt.h net/sunrpc/svc_xprt.c net/sunrpc/svcsock.c +3 more+63 -360 replies
3/7svcrdma: Displayed remote IP address should match stored addressnet/sunrpc/xprtrdma/svc_rdma_transport.c+6 -10 replies
4/7SUNRPC: Remove kernel memory address from svc_xprt tracepointsinclude/trace/events/sunrpc.h+7 -200 replies
5/7SUNRPC: Tracepoint to record errors in svc_xpo_create()include/trace/events/sunrpc.h net/sunrpc/svc_xprt.c+35 -10 replies
6/7SUNRPC: Trace a few more generic svc_xprt eventsinclude/trace/events/rpcrdma.h include/trace/events/sunrpc.h net/sunrpc/svc_xprt.c +2 more+45 -840 replies
7/7svcrdma: Add tracepoints to report ->xpo_accept failuresinclude/trace/events/rpcrdma.h net/sunrpc/xprtrdma/svc_rdma_transport.c+48 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/7] RPC server tracepoints

Hi-

(cc: linux-nfs and linux-rdma)

A mix of RPC-over-sockets and RPC-over-RDMA observability enhancements, along with one very interesting change:

"SUNRPC: Move xpt_mutex into socket xpo_sendto methods"

I've changed svc_send() so that it no longer holds the transport mutex during the call to ->xpo_sendto. Instead, the socket sendto methods take that mutex, since they need to serialize sends on the socket. The RDMA sendto method does not need that serialization, so the mutex is not taken in svc_rdma_sendto.

Performance results for that change are reported in the patch description.

---

Chuck Lever (7):
SUNRPC: svc_show_status() macro needs enum definitions
SUNRPC: Move xpt_mutex into socket xpo_sendto methods
svcrdma: Displayed remote IP address should match stored address
SUNRPC: Remove kernel memory address from svc_xprt tracepoints
SUNRPC: Tracepoint to record errors in svc_xpo_create()
SUNRPC: Trace a few more generic svc_xprt events
svcrdma: Add tracepoints to report ->xpo_accept failures

 include/linux/sunrpc/svc_xprt.h            |  6 ++
 include/trace/events/rpcrdma.h             | 36 ++++----
 include/trace/events/sunrpc.h              | 95 ++++++++++++++++------
 net/sunrpc/svc_xprt.c                      | 41 ++++------
 net/sunrpc/svcsock.c                       | 37 ++++++---
 net/sunrpc/xprtrdma/svc_rdma_backchannel.c | 35 ++++----
 net/sunrpc/xprtrdma/svc_rdma_sendto.c      |  9 +-
 net/sunrpc/xprtrdma/svc_rdma_transport.c   | 55 +++++--------
 net/sunrpc/xprtsock.c                      | 12 ++-
 9 files changed, 187 insertions(+), 139 deletions(-)

--
Chuck Lever