]> www.infradead.org Git - users/hch/misc.git/commit
block: add a bio_add_vmalloc helpers
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Apr 2025 18:52:24 +0000 (13:52 -0500)
committerChristoph Hellwig <hch@lst.de>
Tue, 29 Apr 2025 19:03:16 +0000 (14:03 -0500)
commit29cc68ff35dd2b246c4366f1ae4b95798dd80a77
treed4a6c869bf18b11161c710794cf9f21c38074676
parentc658283b0ec123ec6a20289ee3034508e19fd5fb
block: add a bio_add_vmalloc helpers

Add a helper to add a vmalloc region to a bio, abstracting away the
vmalloc addresses from the underlying pages and another one wrapping
it for the simple case where all data fits into a single bio.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/bio.c
include/linux/bio.h