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, 27 Mar 2022 21:20:07 +0000 (15:20 -0600)
commitaa62121d498b7c3b8c2cb37957095401e90f6c89
treed77fa5e0cb90a145c3bce5affab753123410c07f
parentbf5ad3d4e6495b8c5a2cff1f5279b463782f2790
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