diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-04-07 18:33:33 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-05-12 15:22:07 +0200 |
commit | ce0f141259f06fd77fde2519cc352618ad797ce2 (patch) | |
tree | 204c5d21527ea538dddc7cdda5c239cf6a08c5e9 /translate-all.c | |
parent | b6e84c97ed0d786a7cda4e184736e25bb8824c2c (diff) | |
download | qemu-ce0f141259f06fd77fde2519cc352618ad797ce2.zip |
block: introduce bdrv_no_throttling_begin/end
Extract the handling of throttling from bdrv_flush_io_queue. These
new functions will soon become BdrvChildRole callbacks, as they can
be generalized to "beginning of drain" and "end of drain".
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'translate-all.c')
0 files changed, 0 insertions, 0 deletions