]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sunrpc/xprtrdma/svc_rdma_transport.c
svcrdma: Modify the RPC reply path to use FRMR when available
[linux-2.6-omap-h63xx.git] / net / sunrpc / xprtrdma / svc_rdma_transport.c
index fb0dff5e53ea881b57980b1aaa32abb4c1e0e5f3..98f945c5a00702f75e47d9f5bd6b115291a576ac 100644 (file)
@@ -335,6 +335,8 @@ static void process_context(struct svcxprt_rdma *xprt,
 
        switch (ctxt->wr_op) {
        case IB_WR_SEND:
+               if (test_bit(RDMACTXT_F_FAST_UNREG, &ctxt->flags))
+                       svc_rdma_put_frmr(xprt, ctxt->frmr);
                svc_rdma_put_context(ctxt, 1);
                break;