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>
Thu, 17 Feb 2022 16:42:50 +0000 (09:42 -0700)
commit65c5fe2cd20eb563d54b68350e1d5829541fe72c
tree143bc00d1e6f0058ea68a2d0b86d4014f66a7e7c
parente210fba2d046f6afa4cd04cd17d4f16273759d12
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