qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v6] QEMUBH: make AioContext's bh re-entrant


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v6] QEMUBH: make AioContext's bh re-entrant
Date: Thu, 18 Jul 2013 13:08:00 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Jul 16, 2013 at 12:28:58PM +0800, Liu Ping Fan wrote:
> BH will be used outside big lock, so introduce lock to protect
> between the writers, ie, bh's adders and deleter. The lock only
> affects the writers and bh's callback does not take this extra lock.
> Note that for the same AioContext, aio_bh_poll() can not run in
> parallel yet.
> 
> Signed-off-by: Liu Ping Fan <address@hidden>
> Reviewed-by: Stefan Hajnoczi <address@hidden>
> ---
> v6:
>   destroy ctx->bh_lock in aio_ctx_finalize()
> ---
>  async.c             | 33 +++++++++++++++++++++++++++++++--
>  include/block/aio.h |  7 +++++++
>  2 files changed, 38 insertions(+), 2 deletions(-)

Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan



reply via email to

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