qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 09/18] throttle-groups: protect throttled reques


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 09/18] throttle-groups: protect throttled requests with a CoMutex
Date: Tue, 16 May 2017 15:47:19 +0100
User-agent: Mutt/1.8.0 (2017-02-23)

On Thu, May 11, 2017 at 04:41:59PM +0200, Paolo Bonzini wrote:
> Another possibility is to use tg->lock, which we're holding anyway in
> both schedule_next_request and throttle_group_co_io_limits_intercept.
> This would require open-coding the CoQueue however, so I've chosen this
> alternative.
> 
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
>         v1->v2: rename CoMutex [Fam]
> 
>  block/block-backend.c          |  1 +
>  block/throttle-groups.c        | 12 ++++++++++--
>  include/sysemu/block-backend.h |  7 ++-----
>  3 files changed, 13 insertions(+), 7 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]