qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [PATCH 2/7] block: add aio_context field in ThrottleGro


From: Stefan Hajnoczi
Subject: Re: [Qemu-block] [PATCH 2/7] block: add aio_context field in ThrottleGroupMember
Date: Mon, 24 Jul 2017 15:38:58 +0100
User-agent: Mutt/1.8.3 (2017-05-23)

On Fri, Jul 14, 2017 at 12:45:16PM +0300, Manos Pitsidianakis wrote:
> timer_cb() needs to know about the current Aio context of the throttle
> request that is woken up. In order to make ThrottleGroupMember backend
> agnostic, this information is stored in an aio_context field instead of
> accessing it from BlockBackend.
> 
> Signed-off-by: Manos Pitsidianakis <address@hidden>
> ---
>  block/block-backend.c           | 14 ++++-----
>  block/throttle-groups.c         | 38 ++++++++++++++++---------
>  include/block/throttle-groups.h |  7 ++++-
>  tests/test-throttle.c           | 63 
> +++++++++++++++++++++--------------------
>  4 files changed, 69 insertions(+), 53 deletions(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

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