Refactor path that sends error responses
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 0 repliesNew
- v16 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | svcrdma: Fix page leak in svc_rdma_recv_read_chunk()net/ | +21 | 0 replies | |
| 2/8 | svcrdma: Remove save_io_pages() call from send_error_msg()net/ | +5 | 0 replies | |
| 3/8 | svcrdma: Add @rctxt parameter to svc_rdma_send_error() functionsnet/ net/ | +16 | 0 replies | |
| 4/8 | svcrdma: Add a @status parameter to svc_rdma_send_error_msg()net/ | +26 | 0 replies | |
| 5/8 | svcrdma: Eliminate return value for svc_rdma_send_error_msg()net/ | +14 | 0 replies | |
| 6/8 | svcrdma: Make svc_rdma_send_error_msg() a global functioninclude/ net/ | +23 | 0 replies | |
| 7/8 | svcrdma: Consolidate send_error helper functionsnet/ | +5 | 0 replies | |
| 8/8 | svcrdma: Clean up trace_svcrdma_send_failed() tracepointinclude/ net/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/8] Refactor path that sends error responses
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