diff options
| author | Keith Busch <kbusch@kernel.org> | 2026-07-20 13:10:56 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-07-30 15:54:07 -0600 |
| commit | c5059c1af2bd22bc1435b99d27d800164162cb72 (patch) | |
| tree | b43d7d59f61378e7b70f95b23d41725f32afded7 /include/linux | |
| parent | 6c8dec275ccc35e8f86cb9287283d31c5d8e9ab7 (diff) | |
zloop: set dma_alignment from the backing files for direct I/O
Direct I/O request's use pages handed to the backing files unchanged, so
the backing's DMA alignment requirement applies. Track dio_mem_align and
advertise it as the device's dma_alignment so we communicate proper
limits and misaligned I/O is rejected here instead of reaching the
backend.
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Link: https://patch.msgid.link/20260720201057.1862857-5-kbusch@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
