qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/9] throttle: Extract timers from ThrottleState


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 1/9] throttle: Extract timers from ThrottleState into a separate ThrottleTimers structure
Date: Tue, 3 Mar 2015 10:03:44 -0600
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Feb 13, 2015 at 06:06:09PM +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>

Attachment: pgp0in8MJDUU4.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]