Re: [Qemu-devel] [PATCH v3] throttle-groups: cancel timers on restart

2017-09-25 Thread Eric Blake
On 09/25/2017 08:57 AM, Stefan Hajnoczi wrote: > Throttling group members are restarted on config change and by > bdrv_drained_begin(). Pending timers should be cancelled before > restarting the queue, otherwise requests see that tg->any_timer_armed[] > is already set and do not schedule a timer.

[Qemu-devel] [PATCH v3] throttle-groups: cancel timers on restart

2017-09-25 Thread Stefan Hajnoczi
Throttling group members are restarted on config change and by bdrv_drained_begin(). Pending timers should be cancelled before restarting the queue, otherwise requests see that tg->any_timer_armed[] is already set and do not schedule a timer. For example, a hang occurs at least since QEMU 2.10.0