[PATCH 1/3] block: remove a duplicate io_min check in blk_validate_limits

Chaitanya Kulkarni chaitanyak at nvidia.com
Sun Jun 30 23:37:02 PDT 2024


On 6/30/24 22:17, Christoph Hellwig wrote:
> If io_min is larger than the cap, it must by definition be non-zero.
>
> Signed-off-by: Christoph Hellwig<hch at lst.de>

given that BLK_DEF_MAX_SECTORS_CAP = 2560u.

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck




More information about the Linux-nvme mailing list