block: move restarting of throttled reqs to block/throttle-groups.c
commita72f641407f4a59c3adb710a821736166a484b7f
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Apr 2016 16:33:31 +0000 (7 18:33 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 May 2016 13:22:07 +0000 (12 15:22 +0200)
tree5cafa18b3a027171f74ec3c88a5e2f55e5740c61
parent733bbc8ceaeeb771da55662cccd915afeb78cd01
block: move restarting of throttled reqs to block/throttle-groups.c

We want to remove throttled_reqs from block/io.c.  This is the easy
part---hide the handling of throttled_reqs during disable/enable of
throttling within throttle-groups.c.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/io.c
block/throttle-groups.c
include/block/throttle-groups.h