[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-2.4 0/2] AioContext: fix deadlock after aio_
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH for-2.4 0/2] AioContext: fix deadlock after aio_context_acquire() race |
Date: |
Tue, 28 Jul 2015 10:02:26 +0200 |
On Tue, 28 Jul 2015 09:07:00 +0200
Cornelia Huck <address@hidden> wrote:
> On Mon, 27 Jul 2015 17:33:37 +0100
> Stefan Hajnoczi <address@hidden> wrote:
>
> > See Patch 2 for details on the deadlock after two aio_context_acquire()
> > calls
> > race. This caused dataplane to hang on startup.
> >
> > Patch 1 is a memory leak fix for AioContext that's needed by Patch 2.
> >
> > Stefan Hajnoczi (2):
> > AioContext: avoid leaking BHs on cleanup
> > AioContext: force event loop iteration using BH
> >
> > async.c | 29 +++++++++++++++++++++++++++--
> > include/block/aio.h | 3 +++
> > 2 files changed, 30 insertions(+), 2 deletions(-)
> >
>
> Just gave this a try: The stripped-down guest that hangs during startup
> on master is working fine with these patches applied, and my full setup
> works as well.
>
> So,
>
> Tested-by: Cornelia Huck <address@hidden>
Uh-oh, spoke too soon. It starts, but when I try a virsh managedsave, I
get
qemu-system-s390x: /data/git/yyy/qemu/async.c:242: aio_ctx_finalize: Assertion
`ctx->first_bh->deleted' failed.
- [Qemu-devel] [PATCH for-2.4 0/2] AioContext: fix deadlock after aio_context_acquire() race, Stefan Hajnoczi, 2015/07/27
- [Qemu-devel] [PATCH for-2.4 1/2] AioContext: avoid leaking BHs on cleanup, Stefan Hajnoczi, 2015/07/27
- [Qemu-devel] [PATCH for-2.4 2/2] AioContext: force event loop iteration using BH, Stefan Hajnoczi, 2015/07/27
- Re: [Qemu-devel] [PATCH for-2.4 0/2] AioContext: fix deadlock after aio_context_acquire() race, Cornelia Huck, 2015/07/28
- Re: [Qemu-devel] [PATCH for-2.4 0/2] AioContext: fix deadlock after aio_context_acquire() race,
Cornelia Huck <=
- Re: [Qemu-devel] [PATCH for-2.4 0/2] AioContext: fix deadlock after aio_context_acquire() race, Stefan Hajnoczi, 2015/07/28
- Re: [Qemu-devel] [PATCH for-2.4 0/2] AioContext: fix deadlock after aio_context_acquire() race, Cornelia Huck, 2015/07/28
- Re: [Qemu-devel] [PATCH for-2.4 0/2] AioContext: fix deadlock after aio_context_acquire() race, Stefan Hajnoczi, 2015/07/28
- Re: [Qemu-devel] [PATCH for-2.4 0/2] AioContext: fix deadlock after aio_context_acquire() race, Stefan Hajnoczi, 2015/07/28
- Re: [Qemu-devel] [PATCH for-2.4 0/2] AioContext: fix deadlock after aio_context_acquire() race, Cornelia Huck, 2015/07/28
- Re: [Qemu-devel] [PATCH for-2.4 0/2] AioContext: fix deadlock after aio_context_acquire() race, Paolo Bonzini, 2015/07/28
- Re: [Qemu-devel] [PATCH for-2.4 0/2] AioContext: fix deadlock after aio_context_acquire() race, Stefan Hajnoczi, 2015/07/28