block: add mq_ops method for DMA mapping bvecs
authorJens Axboe <axboe@kernel.dk>
Tue, 12 Oct 2021 13:19:08 +0000 (07:19 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 18 Dec 2022 18:20:05 +0000 (11:20 -0700)
commitca340941a859ac8c64a11e6b1477275d3ae47b26
treefc2122ffb3b2e43e2735e463e5daf017913cfe1a
parent4f327861b1666cc13ac939c828289da9147e724b
block: add mq_ops method for DMA mapping bvecs

Add a way for a driver to DMA map an array of bvecs, and return the
device to which it was mapped. This goes along with a set of block
helpers for mapping and unmapping.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bdev.c
include/linux/blk-mq.h
include/linux/blkdev.h