qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: cornelia.huck@de.ibm.com, qemu-devel@nongnu.org, stefanha@redhat.com
Subject: Re: [Qemu-devel] [PATCH for-2.4 v3 0/3] AioContext: fix deadlock after aio_context_acquire() race
Date: Wed, 29 Jul 2015 10:02:13 +0100	[thread overview]
Message-ID: <20150729090213.GD10617@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1438101249-25166-1-git-send-email-pbonzini@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]

On Tue, Jul 28, 2015 at 06:34:06PM +0200, Paolo Bonzini wrote:
> v3: same as v1, but include virtio-blk-dataplane fix and move thread_pool_free
> before the loop.  Same result as applying in order:
> 
> [PATCH for-2.4 1/2] AioContext: avoid leaking BHs on cleanup
> [PATCH for-2.4 2/2] AioContext: force event loop iteration using BH
> [PATCH for-2.4] block: delete bottom halves before the AioContext is freed
> 
> but bisectable.
> 
> Paolo Bonzini (1):
>   virtio-blk-dataplane: delete bottom half before the AioContext is freed
> 
> Stefan Hajnoczi (2):
>   AioContext: avoid leaking BHs on cleanup
>   AioContext: force event loop iteration using BH
> 
>  async.c                         | 29 +++++++++++++++++++++++++++--
>  hw/block/dataplane/virtio-blk.c |  2 +-
>  include/block/aio.h             |  3 +++
>  3 files changed, 31 insertions(+), 3 deletions(-)
> 
> -- 
> 2.4.3
> 
> 

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

Stefan

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

  parent reply	other threads:[~2015-07-29  9:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-28 16:34 [Qemu-devel] [PATCH for-2.4 v3 0/3] AioContext: fix deadlock after aio_context_acquire() race Paolo Bonzini
2015-07-28 16:34 ` [Qemu-devel] [PATCH for-2.4 v3 1/3] virtio-blk-dataplane: delete bottom half before the AioContext is freed Paolo Bonzini
2015-07-28 16:34 ` [Qemu-devel] [PATCH for-2.4 v3 2/3] AioContext: avoid leaking BHs on cleanup Paolo Bonzini
2015-07-28 16:34 ` [Qemu-devel] [PATCH for-2.4 v3 3/3] AioContext: force event loop iteration using BH Paolo Bonzini
2015-07-29  9:02 ` Stefan Hajnoczi [this message]
2015-07-29  9:08 ` [Qemu-devel] [PATCH for-2.4 v3 0/3] AioContext: fix deadlock after aio_context_acquire() race Cornelia Huck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150729090213.GD10617@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).