[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/6] throttle: Extract timers from ThrottleState
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 1/6] throttle: Extract timers from ThrottleState into a separate structure |
Date: |
Tue, 24 Mar 2015 15:03:14 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Tue, Mar 10, 2015 at 05:30:45PM +0200, Alberto Garcia wrote:
> From: BenoƮt Canet <address@hidden>
>
> Group throttling will share ThrottleState between multiple bs.
> As a consequence the ThrottleState will be accessed by multiple aio
> context.
>
> Timers are tied to their aio context so they must go out of the
> ThrottleState structure.
>
> This commit paves the way for each bs of a common ThrottleState to
> have its own timer.
>
> Signed-off-by: Benoit Canet <address@hidden>
> Signed-off-by: Alberto Garcia <address@hidden>
> ---
> block.c | 35 ++++++++++++--------
> include/block/block_int.h | 1 +
> include/qemu/throttle.h | 38 ++++++++++++++--------
> tests/test-throttle.c | 82
> ++++++++++++++++++++++++++---------------------
> util/throttle.c | 73 ++++++++++++++++++++++++-----------------
> 5 files changed, 135 insertions(+), 94 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
pgpn_zhFJpHJu.pgp
Description: PGP signature
- [Qemu-devel] [PATCH v3 0/6] Block Throttle Group Support, Alberto Garcia, 2015/03/10
- [Qemu-devel] [PATCH 3/6] throttle: Add throttle group infrastructure tests, Alberto Garcia, 2015/03/10
- [Qemu-devel] [PATCH 5/6] throttle: add the name of the ThrottleGroup to BlockDeviceInfo, Alberto Garcia, 2015/03/10
- [Qemu-devel] [PATCH 1/6] throttle: Extract timers from ThrottleState into a separate structure, Alberto Garcia, 2015/03/10
- Re: [Qemu-devel] [PATCH 1/6] throttle: Extract timers from ThrottleState into a separate structure,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 4/6] throttle: Add throttle group support, Alberto Garcia, 2015/03/10
Re: [Qemu-devel] [PATCH v3 0/6] Block Throttle Group Support, Stefan Hajnoczi, 2015/03/24