diff options
author | Alberto Garcia <berto@igalia.com> | 2018-08-02 17:50:26 +0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-08-15 12:50:39 +0200 |
commit | 25b8e4db7f3baca47244ccd945eb62b32a6e2019 (patch) | |
tree | 7bacf36596dc3aba9021987929993826d1d6029b /.editorconfig | |
parent | 3db3e9c621519cbfc2b52e98b38f13ad863c0062 (diff) | |
download | qemu-25b8e4db7f3baca47244ccd945eb62b32a6e2019.zip qemu-25b8e4db7f3baca47244ccd945eb62b32a6e2019.tar.gz qemu-25b8e4db7f3baca47244ccd945eb62b32a6e2019.tar.bz2 |
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 '.editorconfig')
0 files changed, 0 insertions, 0 deletions