Re: [PATCH V4 6/8] null_blk: add param to set max disacrd sectors

From: Shinichiro Kawasaki
Date: Wed Nov 30 2022 - 03:07:54 EST


On Nov 29, 2022 / 15:28, Chaitanya Kulkarni wrote:
> Instead of hardcoding value for the maximum discard sector to
> UINT_MAX >> 9, allow user to set the value with newly added module
> parameter max_discard_sectors.
>
> To retain the backward compatibility make set default value to
> UINT_MAX >> 9.
>
> Signed-off-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>

Looks good to me.

Reviewed-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx>

--
Shin'ichiro Kawasaki