svcrdma: Retain the page backing rq_res.head[0].iov_base
authorChuck Lever <chuck.lever@oracle.com>
Mon, 1 Feb 2021 20:16:57 +0000 (15:16 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 22 Mar 2021 17:22:13 +0000 (13:22 -0400)
commitcc93ce9529a63bd67e1a64682b288db0092b34b6
tree27f09327f464a2e28dbe39fcde0a85ab7bdb225e
parent579900670ac770a547ff607a60c02c56a7d27bd7
svcrdma: Retain the page backing rq_res.head[0].iov_base

svc_rdma_sendto() now waits for the NIC hardware to finish with
the pages backing rq_res. We still have to release the page array
in some cases, but now it's always safe to immediately re-use the
page backing rq_res's head buffer.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/xprtrdma/svc_rdma_sendto.c