]> git.baikalelectronics.ru Git - kernel.git/commit
iomap: add support for dma aligned direct-io
authorKeith Busch <kbusch@kernel.org>
Fri, 10 Jun 2022 19:58:30 +0000 (12:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Jun 2022 12:29:11 +0000 (06:29 -0600)
commitc49ec585f24aeeab83e9fddc035ead68b5a0ec6b
treef30d21fa72dc1d8616119dc9d741d8638984e668
parent23d598b5a60e05c51da7c60d71dfd750df9d9b9f
iomap: add support for dma aligned direct-io

Use the address alignment requirements from the block_device for direct
io instead of requiring addresses be aligned to the block size.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220610195830.3574005-12-kbusch@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/iomap/direct-io.c