Il 12/03/2012 15:53, zwu.ker...@gmail.com ha scritto:
> -    qemu_aio_flush();
> +    QTAILQ_FOREACH(bs, &bdrv_states, list) {
> +        do {
> +            qemu_co_queue_restart_all(&bs->throttled_reqs);
> +            qemu_aio_flush();
> +        } while (!qemu_co_queue_empty(&bs->throttled_reqs));
> +    }

Even this is not enough.  Block device 2 could start a throttled request
on block device 1.  I'm sending a related series, I'll include yours in
mine.

Paolo

Reply via email to