summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorAlberto Garcia2018-08-02 16:50:26 +0200
committerKevin Wolf2018-08-15 12:50:39 +0200
commit25b8e4db7f3baca47244ccd945eb62b32a6e2019 (patch)
tree7bacf36596dc3aba9021987929993826d1d6029b /scripts/switch-timer-api
parentqemu-iotests: Update 093 to improve the draining test (diff)
downloadqemu-25b8e4db7f3baca47244ccd945eb62b32a6e2019.tar.gz
qemu-25b8e4db7f3baca47244ccd945eb62b32a6e2019.tar.xz
qemu-25b8e4db7f3baca47244ccd945eb62b32a6e2019.zip
throttle-groups: Don't allow timers without throttled requests
Commit 6fccbb475bc6effc313ee9481726a1748b6dae57 fixed a bug caused by QEMU attempting to remove a throttle group member with no pending requests but an active timer set. This was the result of a previous bdrv_drained_begin() call processing the throttled requests but leaving the timer untouched. Although the commit does solve the problem, the situation shouldn't happen in the first place. If we try to drain a throttle group member which has a timer set, we should cancel the timer instead of ignoring it. Signed-off-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions