summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2026-07-20 13:10:56 -0700
committerJens Axboe <axboe@kernel.dk>2026-07-30 15:54:07 -0600
commitc5059c1af2bd22bc1435b99d27d800164162cb72 (patch)
treeb43d7d59f61378e7b70f95b23d41725f32afded7 /include
parent6c8dec275ccc35e8f86cb9287283d31c5d8e9ab7 (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')
0 files changed, 0 insertions, 0 deletions