Re: [PATCH 01/17] block: add a bio_add_virt_nofail helper

Hannes Reinecke
2025-04-23T06:05:58Z

On 4/22/25 16:26, Christoph Hellwig wrote:
> Add a helper to add a directly mapped kernel virtual address to a
> bio so that callers don't have to convert to pages or folios.
>
> For now only the _nofail variant is provided as that is what all the
> obvious callers want.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> include/linux/bio.h | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich