All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/7] RPC server tracepoints
@ 2020-05-01 17:33 Chuck Lever
  2020-05-01 17:33 ` [PATCH v1 1/7] SUNRPC: svc_show_status() macro needs enum definitions Chuck Lever
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Chuck Lever @ 2020-05-01 17:33 UTC (permalink / raw)
  To: linux-nfs, linux-rdma

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-05-02 12:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-01 17:33 [PATCH v1 0/7] RPC server tracepoints Chuck Lever
2020-05-01 17:33 ` [PATCH v1 1/7] SUNRPC: svc_show_status() macro needs enum definitions Chuck Lever
2020-05-01 17:33 ` [PATCH v1 2/7] SUNRPC: Move xpt_mutex into socket xpo_sendto methods Chuck Lever
2020-05-02 12:26   ` kbuild test robot
2020-05-01 17:33 ` [PATCH v1 3/7] svcrdma: Displayed remote IP address should match stored address Chuck Lever
2020-05-01 17:33 ` [PATCH v1 4/7] SUNRPC: Remove kernel memory address from svc_xprt tracepoints Chuck Lever
2020-05-01 17:33 ` [PATCH v1 5/7] SUNRPC: Tracepoint to record errors in svc_xpo_create() Chuck Lever
2020-05-01 17:33 ` [PATCH v1 6/7] SUNRPC: Trace a few more generic svc_xprt events Chuck Lever
2020-05-01 17:33 ` [PATCH v1 7/7] svcrdma: Add tracepoints to report ->xpo_accept failures Chuck Lever

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.