Thread (22 messages) flat view 22 messages, 7 authors, 2021-02-22

Re: Fwd: alloc_pages_bulk()

From: Matthew Wilcox <willy@infradead.org>
Date: 2021-02-09 22:01:44
Also in: linux-nfs

On Mon, Feb 08, 2021 at 05:50:51PM +0000, Chuck Lever wrote:
quoted
We've been discussing how NFSD can more efficiently refill its
receive buffers (currently alloc_page() in a loop; see
net/sunrpc/svc_xprt.c::svc_alloc_arg()).
I'm not familiar with the sunrpc architecture, but this feels like you're
trying to optimise something that shouldn't exist.  Ideally a write
would ask the page cache for the pages that correspond to the portion
of the file which is being written to.  I appreciate that doesn't work
well for, eg, NFS-over-TCP, but for NFS over any kind of RDMA, that
should be possible, right?

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help