[PATCH 06/14] block: use queue_limits_commit_update in queue_discard_max_store

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed Jan 31 15:29:26 PST 2024


On 1/31/24 05:03, Christoph Hellwig wrote:
> Convert queue_discard_max_store to use queue_limits_commit_update to
> check and update the max_discard_sectors limit and freeze the queue
> before doing so to ensure we don't have requests in flight while
> changing the limits.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Damien Le Moal <dlemoal at kernel.org>
> Reviewed-by: Hannes Reinecke <hare at suse.de>
> ---
>

Looks good.

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

-ck




More information about the Linux-nvme mailing list