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

Shinichiro Kawasaki
2022-11-30T08:07:52Z

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@nvidia.com>

Looks good to me.

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

--
Shin'ichiro Kawasaki