[PATCH v2 06/21] iov_iter: Make iov_iter_get_pages*() wrap iov_iter_extract_pages()
David Howells
dhowells at redhat.com
Thu Jun 4 07:26:58 PDT 2026
Christoph Hellwig <hch at infradead.org> wrote:
> On Mon, May 18, 2026 at 11:29:38PM +0100, David Howells wrote:
> > Make iov_iter_get_pages*() wrap iov_iter_extract_pages() for kernel
> > iterator types (e.g. ITER_BVEC, ITER_FOLIOQ, ITER_XARRAY). The pages
> > obtained have their refcounts incremented afterwards if they're not slab
> > pages. ITER_KVEC is left returning -EFAULT.
>
> Just kill off iov_iter_get_pages*, please. Or at least stop using it
> where these types matter.
Much as I would like to, this isn't the place to do it. It will require an
overhaul of the network socket buffering.
David
More information about the linux-afs
mailing list