]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit031b5ea572479d9b1dbfcb9914c7b2ce9e24dbfa
tree860be4d6d89079ed8033a4b5448b932624e3d92a
parent07847c146150dfd2bef52aa5daf193b707edb013
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