Re: bio_vec, bv_page and folios

From: Matthew Wilcox
Date: Tue Jan 02 2024 - 04:16:06 EST


On Tue, Jan 02, 2024 at 08:56:46AM +0000, David Howells wrote:
> Hi Christoph, Willy,
>
> Will bv_page in struct bio_vec ever become a folio pointer rather than I page
> pointer? I'm guessing not as it still presumably needs to be able to point to
> non-folio pages.

My plan for bio_vec is that it becomes phyr -- a physical address +
length. No more page or folio reference.