[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/2] vl: Drain before (block) job cancel when qu
Re: [Qemu-devel] [PATCH 0/2] vl: Drain before (block) job cancel when quitting
Fri, 19 Jul 2019 15:26:12 +0200
Am 13.06.2019 um 00:08 hat Max Reitz geschrieben:
> Quitting qemu should lead to qemu exiting pretty much immediately. That
> means if you have a block job running on a throttled block node, the
> node should ignore its throttling and the job should be cancelled
> Unfortunately, that is not what happens. Currently, the node will be
> drained (with a bdrv_drain_all()), and then again unquiesced (because
> bdrv_drain_all() ends). Then, the block job is cancelled; but at this
> point, the node is no longer drained, so it will block, as it befits a
> throttling node.
> To fix this issue, we have to keep all nodes drained while we cancel all
> block jobs when quitting qemu. This will make the throttle node ignore
> its throttling and thus let the block job cancel immediately.
Thanks, applied to the block branch.
|[Prev in Thread]
||[Next in Thread]|
- Re: [Qemu-devel] [PATCH 0/2] vl: Drain before (block) job cancel when quitting,
Kevin Wolf <=