Re: [PATCH 06/17] block: simplify bio_map_kern

Hannes Reinecke
2025-04-23T06:14:10Z

On 4/22/25 16:26, Christoph Hellwig wrote:
> Split bio_map_kern into a simple version that can use bio_add_virt_nofail
> for kernel direct mapping addresses and a more complex bio_map_vmalloc
> with the logic to chunk up and map vmalloc ranges using the
> bio_add_vmalloc helper.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> block/blk-map.c | 74 +++++++++++++++++++------------------------------
> 1 file changed, 29 insertions(+), 45 deletions(-)
>
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