[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 1/2] block: add the support to drain throttle
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v3 1/2] block: add the support to drain throttled requests |
Date: |
Mon, 12 Mar 2012 16:05:18 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 |
Il 12/03/2012 15:53, address@hidden 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