Re: [PATCH] loop: Only freeze block queue when needed.

From: Chaitanya Kulkarni
Date: Tue Mar 10 2020 - 16:06:13 EST


Looks good to me.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx>

On 03/10/2020 06:07 AM, Martijn Coenen wrote:
> __loop_update_dio() can be called as a part of loop_set_fd(), when the
> block queue is not yet up and running; avoid freezing the block queue in
> that case, since that is an expensive operation.
>
> Signed-off-by: Martijn Coenen<maco@xxxxxxxxxxx>