Re: [PATCH 03/19] block: add a bio_add_max_vecs helper
Damien Le Moal <[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 |
|---|---|
| Organization | Western Digital Research |
| Message-ID | <[email protected]> |
On 5/1/25 06:21, Christoph Hellwig wrote: > Add a helper to check how many bio_vecs are needed to add a kernel > virtual address range to a bio, accounting for the always contiguous > direct mapping and vmalloc mappings that usually need a bio_vec > per page sized chunk. > > Signed-off-by: Christoph Hellwig <[email protected]> Looks good to me. Reviewed-by: Damien Le Moal <[email protected]> -- Damien Le Moal Western Digital Research