Re: [PATCH v21 0/6] block: Use page pinning
From: Christoph Hellwig
Date: Tue May 23 2023 - 02:40:04 EST
On Mon, May 22, 2023 at 09:57:38PM +0100, David Howells wrote:
> Hi Jens, Al, Christoph,
>
> This patchset rolls page-pinning out to the bio struct and the block layer,
> using iov_iter_extract_pages() to get pages and noting with BIO_PAGE_PINNED
> if the data pages attached to a bio are pinned. If the data pages come
> from a non-user-backed iterator, then the pages are left unpinned and
> unref'd, relying on whoever set up the I/O to do the retaining.
I think I already review the patches, so nothing new here. But can
you please also take care of the legacy direct I/O code? I'd really
hate to leave yet another unfinished transition around.