aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-add.c
diff options
context:
space:
mode:
authorJohn Garry <[email protected]>2025-07-11 10:52:57 +0000
committerJens Axboe <[email protected]>2025-07-17 12:01:16 +0000
commit5fb9d4341b782a80eefa0dc1664d131ac3c8885d (patch)
tree275458e96f602697a7718bd7bb35ae67974775a4 /lib/crypto/mpi/mpi-add.c
parentmd/raid10: set chunk_sectors limit (diff)
downloadkernel-5fb9d4341b782a80eefa0dc1664d131ac3c8885d.tar.gz
kernel-5fb9d4341b782a80eefa0dc1664d131ac3c8885d.zip
dm-stripe: limit chunk_sectors to the stripe size
Same as done for raid0, set chunk_sectors limit to appropriately set the atomic write size limit. Setting chunk_sectors limit in this way overrides the stacked limit already calculated based on the bottom device limits. This is ok, as when any bios are sent to the bottom devices, the block layer will still respect the bottom device chunk_sectors. Reviewed-by: Nilay Shroff <[email protected]> Reviewed-by: Mikulas Patocka <[email protected]> Signed-off-by: John Garry <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions