Skip to content
Commit 2a1e4f21 authored by Chuck Lever's avatar Chuck Lever
Browse files

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: default avatarChuck Lever <chuck.lever@oracle.com>
parent e844d307
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment