diff options
author | Keith Busch <kbusch@kernel.org> | 2022-11-10 21:44:58 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-11-17 01:58:11 +0300 |
commit | 86e4d3e8d1838ca88fb9267e669c36f6c8f7c6cd (patch) | |
tree | 3295393cfa41c74798d8bc0230ff8858f38c5f21 /include/linux/blkdev.h | |
parent | c964d62f5cab7b43dd0534f22a96eab386c6ec5d (diff) | |
download | linux-86e4d3e8d1838ca88fb9267e669c36f6c8f7c6cd.tar.xz |
dm-crypt: provide dma_alignment limit in io_hints
This device mapper needs bio vectors to be sized and memory aligned to
the logical block size. Set the minimum required queue limit
accordingly.
Link: https://lore.kernel.org/linux-block/20221101001558.648ee024@xps.demsh.org/
Fixes: b1a000d3b8ec5 ("block: relax direct io memory alignment")
Reportred-by: Eric Biggers <ebiggers@kernel.org>
Reported-by: Dmitrii Tcvetkov <me@demsh.org>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Link: https://lore.kernel.org/r/20221110184501.2451620-3-kbusch@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions