From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJlNl-0003O2-TQ for qemu-devel@nongnu.org; Mon, 27 Jul 2015 12:36:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJlNf-0004JT-3c for qemu-devel@nongnu.org; Mon, 27 Jul 2015 12:36:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJlNe-0004Iz-UF for qemu-devel@nongnu.org; Mon, 27 Jul 2015 12:35:59 -0400 From: Stefan Hajnoczi Date: Mon, 27 Jul 2015 17:33:37 +0100 Message-Id: <1438014819-18125-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH for-2.4 0/2] AioContext: fix deadlock after aio_context_acquire() race List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: cornelia.huck@de.ibm.com, borntraeger@de.ibm.com, Stefan Hajnoczi , Paolo Bonzini 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(-) -- 2.4.3