On Thu, Mar 2, 2017 at 2:42 AM, Omar Sandoval <[email protected]> wrote:
> From: Omar Sandoval <[email protected]>
>
> loop_reread_partitions() needs to do I/O, but we just froze the queue,
> so we end up waiting forever. This can easily be reproduced with losetup
> -P. Fix it by moving the reread to after we unfreeze the queue.
>
> Fixes: ecdd09597a57 ("block/loop: fix race between I/O and set_status")
> Reported-by: Tejun Heo <[email protected]>
> Cc: Ming Lei <[email protected]>
> Cc: [email protected]
> Signed-off-by: Omar Sandoval <[email protected]>

Reviewed-by: Ming Lei <[email protected]>

Thanks,
Ming

Reply via email to