[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/2] AioContext: fix deadlock after aio_context_a
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH v2 0/2] AioContext: fix deadlock after aio_context_acquire() race |
Date: |
Tue, 28 Jul 2015 13:12:54 +0100 |
v2:
* Free BHs after thread_pool_free(), which calls qemu_bh_delete() [Cornelia]
* Remove assert for leaked BHs since we don't know how many existing cases
there are yet and QEMU 2.4-rc3 is a poor time to risk assertion failures
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 deleted 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(-)
--
2.4.3
- [Qemu-devel] [PATCH v2 0/2] AioContext: fix deadlock after aio_context_acquire() race,
Stefan Hajnoczi <=