On 09/03/2016 02:45, Fam Zheng wrote:
>> > @@ -555,11 +574,7 @@ static int bdrv_prwv_co(BlockDriverState *bs, int64_t
>> > offset,
>> > * will not fire; so the I/O throttling function has to be disabled
>> > here
>> > * if it has been enabled.
>> > */
>> > -if (bs->io_limi
On Tue, 02/16 18:56, Paolo Bonzini wrote:
> Extract the handling of throttling from bdrv_flush_io_queue.
Looks good overall. Have two questions below.
>
> Signed-off-by: Paolo Bonzini
> ---
> block.c | 1 -
> block/io.c| 56
> +---
Extract the handling of throttling from bdrv_flush_io_queue.
Signed-off-by: Paolo Bonzini
---
block.c | 1 -
block/io.c| 56 +--
block/throttle-groups.c | 4
include/block/block_int.h | 6 ++---
4 files chang