History

svcrdma: Fix double sync of transport header buffer

Performance optimization: Avoid syncing the transport buffer twice when Reply buffer pull-up is necessary.

Chuck Lever committed 6 years ago

Commit aee4b741 parent 6fd50344 files · +28 −44Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/sunrpc/svc_rdma.h+0−3
@@ -191,9 +191,6 @@ extern struct svc_rdma_send_ctxt * · 190 unmodified lines
191191 extern void svc_rdma_send_ctxt_put(struct svcxprt_rdma *rdma,
192192 struct svc_rdma_send_ctxt *ctxt);
193193 extern int svc_rdma_send(struct svcxprt_rdma *rdma, struct ib_send_wr *wr);
194−extern void svc_rdma_sync_reply_hdr(struct svcxprt_rdma *rdma,
195− struct svc_rdma_send_ctxt *ctxt,
196− unsigned int len);
197194 extern int svc_rdma_map_reply_msg(struct svcxprt_rdma *rdma,
198195 struct svc_rdma_send_ctxt *sctxt,
199196 const struct svc_rdma_recv_ctxt *rctxt,