mbox series

[v2,0/8] Refactor path that sends error responses

Message ID 20200629144802.15024.30635.stgit@klimt.1015granger.net (mailing list archive)
Headers show
Series Refactor path that sends error responses | expand

Message

Chuck Lever III June 29, 2020, 2:49 p.m. UTC
There are currently two paths in the server's RPC/RDMA implementation
for sending error responses. De-duplicate these two into one set of
helpers.

I mistakenly did not send the full set last week. The only change
since v1 of this series is two additional patches at the end of the
series.

---

Chuck Lever (8):
      svcrdma: Fix page leak in svc_rdma_recv_read_chunk()
      svcrdma: Remove save_io_pages() call from send_error_msg()
      svcrdma: Add @rctxt parameter to svc_rdma_send_error() functions
      svcrdma: Add a @status parameter to svc_rdma_send_error_msg()
      svcrdma: Eliminate return value for svc_rdma_send_error_msg()
      svcrdma: Make svc_rdma_send_error_msg() a global function
      svcrdma: Consolidate send_error helper functions
      svcrdma: Clean up trace_svcrdma_send_failed() tracepoint


 include/linux/sunrpc/svc_rdma.h         |  4 ++
 include/trace/events/rpcrdma.h          |  7 +-
 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 59 +++--------------
 net/sunrpc/xprtrdma/svc_rdma_sendto.c   | 87 +++++++++++++++++--------
 4 files changed, 75 insertions(+), 82 deletions(-)

--
Chuck Lever