qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH] block/nvme: call blk_drain in NVMe reset code t


From: Kevin Wolf
Subject: Re: [Qemu-block] [PATCH] block/nvme: call blk_drain in NVMe reset code to avoid lockups
Date: Thu, 22 Nov 2018 15:32:43 +0100
User-agent: Mutt/1.10.1 (2018-07-13)

Am 06.11.2018 um 13:16 hat Igor Druzhinin geschrieben:
> When blk_flush called in NVMe reset path S/C queues are already freed
> which means that re-entering AIO handling loop having some IO requests
> unfinished will lockup or crash as their SG structures being potentially
> reused. Call blk_drain before freeing the queues to avoid this nasty
> scenario.
> 
> Signed-off-by: Igor Druzhinin <address@hidden>

Thanks, applied to the block branch.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]