Re: [PATCH 2/3] block: don't call freeze queue in elevator_switch() and elevator_disable()

Nilay Shroff
2025-04-02T13:45:28Z

On 4/2/25 10:08 AM, Ming Lei wrote:
> Both elevator_switch() and elevator_disable() are called from sysfs
> store and updating nr_hw_queue code paths only.
>
> And in the two code paths, queue has been frozen already, so don't call
> freeze queue in the two functions.
>
> Signed-off-by: Ming Lei <ming.lei@redhat.com>

Looks good to me:
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>