block: introduce bdev_dma_alignment helper
authorKeith Busch <kbusch@kernel.org>
Fri, 10 Jun 2022 19:58:23 +0000 (12:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Jun 2022 12:29:11 +0000 (06:29 -0600)
commit4a2dcc35911324d6fcde09b1760cf4f2962699ef
tree860be4d6d89079ed8033a4b5448b932624e3d92a
parent3850e13f2853a17c083eb00fad2c6da4fde0b41e
block: introduce bdev_dma_alignment helper

Preparing for upcoming dma_alignment users that have a block_device, but
don't need the request_queue.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220610195830.3574005-5-kbusch@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blkdev.h