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
191extern void svc_rdma_send_ctxt_put(struct svcxprt_rdma *rdma,191extern void svc_rdma_send_ctxt_put(struct svcxprt_rdma *rdma,
192 struct svc_rdma_send_ctxt *ctxt);192 struct svc_rdma_send_ctxt *ctxt);
193extern int svc_rdma_send(struct svcxprt_rdma *rdma, struct ib_send_wr *wr);193extern int svc_rdma_send(struct svcxprt_rdma *rdma, struct ib_send_wr *wr);
194extern void svc_rdma_sync_reply_hdr(struct svcxprt_rdma *rdma,
195 struct svc_rdma_send_ctxt *ctxt,
196 unsigned int len);
197extern int svc_rdma_map_reply_msg(struct svcxprt_rdma *rdma,194extern int svc_rdma_map_reply_msg(struct svcxprt_rdma *rdma,
198 struct svc_rdma_send_ctxt *sctxt,195 struct svc_rdma_send_ctxt *sctxt,
199 const struct svc_rdma_recv_ctxt *rctxt,196 const struct svc_rdma_recv_ctxt *rctxt,