Re: [PATCH 03/17] block: add a bio_add_vmalloc helper
Hannes Reinecke <[email protected]>
| Newsgroups | org.kernel.vger.linux-bcache,dev.linux.lists.dm-devel,dev.linux.lists.gfs2,org.kernel.vger.linux-block,org.kernel.vger.linux-btrfs,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-pm,org.kernel.vger.linux-xfs |
|---|---|
| Message-ID | <[email protected]> |
On 4/22/25 16:26, Christoph Hellwig wrote: > Add a helper to add a vmalloc region to a bio, abstracting away the > vmalloc addresses from the underlying pages. Also add a helper to > calculate how many segments need to be allocated for a vmalloc region. > > Signed-off-by: Christoph Hellwig <[email protected]> > --- > block/bio.c | 27 +++++++++++++++++++++++++++ > include/linux/bio.h | 17 +++++++++++++++++ > 2 files changed, 44 insertions(+) > Reviewed-by: Hannes Reinecke <[email protected]> Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect [email protected] +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