diff options
| author | John Garry <[email protected]> | 2025-07-11 10:52:57 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-07-17 12:01:16 +0000 |
| commit | 5fb9d4341b782a80eefa0dc1664d131ac3c8885d (patch) | |
| tree | 275458e96f602697a7718bd7bb35ae67974775a4 /lib/crypto/mpi/mpi-add.c | |
| parent | md/raid10: set chunk_sectors limit (diff) | |
| download | kernel-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
