Re: [PATCH v2 4/5] dm-stripe: limit chunk_sectors to the stripe size

From: Nilay Shroff
Date: Fri Jun 20 2025 - 10:34:47 EST




On 6/18/25 2:07 PM, John Garry wrote:
> 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.
>
> Signed-off-by: John Garry <john.g.garry@xxxxxxxxxx>

Looks good to me:
Reviewed-by: Nilay Shroff <nilay@xxxxxxxxxxxxx>