diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2016-03-22 12:05:35 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2016-05-19 16:45:30 +0200 |
| commit | c2066af0514d80a805dac82accaec1121babfa15 (patch) | |
| tree | 2a1eebe6ab1f73451c39533a178986cbd5239569 /target-openrisc/exception.c | |
| parent | 22aa8b246ada8d45add8eef64d4640a20b4f7ef3 (diff) | |
| download | focaccia-qemu-c2066af0514d80a805dac82accaec1121babfa15.tar.gz focaccia-qemu-c2066af0514d80a805dac82accaec1121babfa15.zip | |
block: Drain throttling queue with BdrvChild callback
This removes the last part of I/O throttling from block/io.c and moves it to the BlockBackend. Instead of having knowledge about throttling inside io.c, we can call a BdrvChild callback .drained_begin/end, which happens to drain the throttled requests for BlockBackend parents. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'target-openrisc/exception.c')
0 files changed, 0 insertions, 0 deletions