diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2021-01-13 21:57:18 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2021-03-22 20:22:13 +0300 |
commit | 2a1e4f21d84184f7ff5768ee3d3d0c30b1135867 (patch) | |
tree | c87db194a3c60d96538d11b25971243213c955d6 /kernel | |
parent | e844d307d46cfa7e09cdb671941bfd5f1be86773 (diff) | |
download | linux-2a1e4f21d84184f7ff5768ee3d3d0c30b1135867.tar.xz |
svcrdma: Normalize Send page handling
Currently svc_rdma_sendto() migrates xdr_buf pages into a separate
page list and NULLs out a bunch of entries in rq_pages while the
pages are under I/O. The Send completion handler then frees those
pages later.
Instead, let's wait for the Send completion, then handle page
releasing in the nfsd thread. I'd like to avoid the cost of 250+
put_page() calls in the Send completion handler, which is single-
threaded.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions