[dm-devel] [PATCH v6 18/20] block: add __bio_add_folio

Christoph Hellwig hch at lst.de
Wed May 31 04:26:51 UTC 2023


On Tue, May 30, 2023 at 08:49:21AM -0700, Johannes Thumshirn wrote:
> Just like for bio_add_pages() add a no-fail variant for bio_add_folio().

Can we call this bio_add_folio_nofail?  I really regret the __ prefix for
bio_add_page these days - it wasn't really intended to be used as widely
originally..

> +void __bio_add_folio(struct bio *, struct folio *, size_t len, size_t off);

.. and please spell out the parameters.



More information about the dm-devel mailing list