[v1,0/6] Refactor path that sends error responses
mbox series

Message ID 20200622205906.2144.43930.stgit@klimt.1015granger.net
Headers show
  • Refactor path that sends error responses
Related show


Chuck Lever June 22, 2020, 9 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


Chuck Lever (6):
      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

 include/linux/sunrpc/svc_rdma.h         |  4 ++
 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c |  9 +--
 net/sunrpc/xprtrdma/svc_rdma_sendto.c   | 85 +++++++++++++++++--------
 3 files changed, 68 insertions(+), 30 deletions(-)

Chuck Lever