OSDN Git Service

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)
commitbf8d08532bc19a14cfb54ae61099dccadefca446
treef30d21fa72dc1d8616119dc9d741d8638984e668
parentb1a000d3b8ec582da64bb644be633e5a0beffcbf
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