diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2018-01-03 23:42:18 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2018-01-18 19:52:51 +0300 |
commit | 482725027ff32bc857f5527fb17feda5361265fe (patch) | |
tree | f34000848827662e93d0015e053bc6f5ae3e0b28 /net/sunrpc/xprtrdma/svc_rdma_backchannel.c | |
parent | 66282ec1cf004c09083c29cb5e49019037937bbd (diff) | |
download | linux-482725027ff32bc857f5527fb17feda5361265fe.tar.xz |
svcrdma: Post Receives in the Receive completion handler
This change improves Receive efficiency by posting Receives only
on the same CPU that handles Receive completion. Improved latency
and throughput has been noted with this change.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma_backchannel.c')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_backchannel.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_backchannel.c b/net/sunrpc/xprtrdma/svc_rdma_backchannel.c index af7893501e40..a73632ca9048 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_backchannel.c +++ b/net/sunrpc/xprtrdma/svc_rdma_backchannel.c @@ -95,7 +95,6 @@ out_shortreply: out_notfound: dprintk("svcrdma: unrecognized bc reply: xprt=%p, xid=%08x\n", xprt, be32_to_cpu(xid)); - goto out_unlock; } @@ -129,10 +128,6 @@ static int svc_rdma_bc_sendto(struct svcxprt_rdma *rdma, if (ret < 0) goto out_err; - ret = svc_rdma_repost_recv(rdma, GFP_NOIO); - if (ret) - goto out_err; - /* Bump page refcnt so Send completion doesn't release * the rq_buffer before all retransmits are complete. */ |