]> www.infradead.org Git - users/hch/block.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, 13 Jun 2022 21:21:35 +0000 (15:21 -0600)
commit40e11e7a6cc74f11b5ca23ceefec7c84af5c4c73
treed0fd71d302a99a99ffb96eccb1184e9e941f9751
parent84f970d415ef4d048e664ac308792eb93d0152fc
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