blk-mq-dma: provide the bio_vec array being iterated
authorKeith Busch <kbusch@kernel.org>
Wed, 13 Aug 2025 15:31:46 +0000 (08:31 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Aug 2025 13:44:38 +0000 (07:44 -0600)
commitdae75dead2359edd7c55e1964e0edf7d03535b31
tree2262cb16b6f5c2c9fc6d02617ac97f2122219a5e
parent7a6fc1634cea6f220228a69b1c0210e6b8b1aaf0
blk-mq-dma: provide the bio_vec array being iterated

This will make it easier to add different sources of the bvec array,
like for upcoming integrity support, rather than assume to use the bio's
bi_io_vec. It also makes iterating "special" payloads more in common
with iterating normal payloads.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20250813153153.3260897-3-kbusch@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-dma.c
include/linux/blk-mq-dma.h