]> 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)
commitb45bd7907ca3d254c340276e5408f2d0b2a3070c
treef30d21fa72dc1d8616119dc9d741d8638984e668
parentb3baa107c29c77b39ac9643186536ff9f41bb5c9
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