Re: [PATCH] loop: Only freeze block queue when needed.
From: Christoph Hellwig
Date: Tue Mar 10 2020 - 13:48:01 EST
On Tue, Mar 10, 2020 at 02:06:54PM +0100, 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>
Looks good,
Reviewed-by: Christoph Hellwig <hch@xxxxxx>