Received: from eggs.gnu.org ([2001:4830:134:3::10]:51158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKNMF-0008TA-Gr for qemu-devel@nongnu.org; Wed, 29 Jul 2015 05:09:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKNMB-00012X-Dp for qemu-devel@nongnu.org; Wed, 29 Jul 2015 05:09:03 -0400 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:42045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKNMB-00012E-4Z for qemu-devel@nongnu.org; Wed, 29 Jul 2015 05:08:59 -0400 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 29 Jul 2015 10:08:57 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 8D1D92190063 for ; Wed, 29 Jul 2015 10:08:29 +0100 (BST) Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t6T98rBu19529792 for ; Wed, 29 Jul 2015 09:08:53 GMT Received: from d06av02.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t6T98r2u008183 for ; Wed, 29 Jul 2015 03:08:53 -0600 Date: Wed, 29 Jul 2015 11:08:51 +0200 From: Cornelia Huck Message-ID: <20150729110851.360f9be2.cornelia.huck@de.ibm.com> In-Reply-To: <1438101249-25166-1-git-send-email-pbonzini@redhat.com> References: <1438101249-25166-1-git-send-email-pbonzini@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-2.4 v3 0/3] AioContext: fix deadlock after aio_context_acquire() race List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, stefanha@redhat.com On Tue, 28 Jul 2015 18:34:06 +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(-) > Did a quick verification on top of current master; starting, managedsave and device_del with dataplane devices all seem to work fine.