diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-03-03 11:08:05 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2020-03-16 12:04:33 -0400 |
commit | aee4b74a3f273b54d136132fedf575ec464f4134 (patch) | |
tree | 32dd73b1aad9915c8dd2e05c9df7d4917ed56793 /net/sunrpc/xprtrdma/svc_rdma_backchannel.c | |
parent | 6fd5034db45c9c0ca57c98f3d5b9a0ce5869eab3 (diff) | |
download | linux-aee4b74a3f273b54d136132fedf575ec464f4134.tar.gz linux-aee4b74a3f273b54d136132fedf575ec464f4134.tar.bz2 linux-aee4b74a3f273b54d136132fedf575ec464f4134.zip |
svcrdma: Fix double sync of transport header buffer
Performance optimization: Avoid syncing the transport buffer twice
when Reply buffer pull-up is necessary.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma_backchannel.c')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_backchannel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_backchannel.c b/net/sunrpc/xprtrdma/svc_rdma_backchannel.c index 9830748c58d2..46b59e91d34a 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_backchannel.c +++ b/net/sunrpc/xprtrdma/svc_rdma_backchannel.c @@ -191,7 +191,6 @@ rpcrdma_bc_send_request(struct svcxprt_rdma *rdma, struct rpc_rqst *rqst) *p++ = xdr_zero; *p++ = xdr_zero; *p = xdr_zero; - svc_rdma_sync_reply_hdr(rdma, ctxt, ctxt->sc_hdrbuf.len); #ifdef SVCRDMA_BACKCHANNEL_DEBUG pr_info("%s: %*ph\n", __func__, 64, rqst->rq_buffer); |