diff options
author | Keith Busch <kbusch@kernel.org> | 2022-06-10 22:58:29 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-06-27 15:29:11 +0300 |
commit | b1a000d3b8ec582da64bb644be633e5a0beffcbf (patch) | |
tree | 960fc00a20dbe8733f847f441205dae3be20b189 /include/soc/canaan | |
parent | 5debd9691c3ac64c3acd6867c264ad38bbe48cdc (diff) | |
download | linux-b1a000d3b8ec582da64bb644be633e5a0beffcbf.tar.xz |
block: relax direct io memory alignment
Use the address alignment requirements from the block_device for direct
io instead of requiring addresses be aligned to the block size. User
space can discover the alignment requirements from the dma_alignment
queue attribute.
User space can specify any hardware compatible DMA offset for each
segment, but every segment length is still required to be a multiple of
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-11-kbusch@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/soc/canaan')
0 files changed, 0 insertions, 0 deletions