From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X74U9-0004UN-HY for qemu-devel@nongnu.org; Tue, 15 Jul 2014 11:17:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X74U2-00082f-2s for qemu-devel@nongnu.org; Tue, 15 Jul 2014 11:17:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X74U1-00081G-OA for qemu-devel@nongnu.org; Tue, 15 Jul 2014 11:17:33 -0400 Message-ID: <53C54602.6050003@redhat.com> Date: Tue, 15 Jul 2014 17:17:22 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1405435466-20801-1-git-send-email-stefanha@redhat.com> In-Reply-To: <1405435466-20801-1-git-send-email-stefanha@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 0/2] thread-pool: avoid fd usage and fix nested aio_poll() deadlock List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , qemu-devel@nongnu.org Cc: Christian Borntraeger , =?UTF-8?B?TWFyY2luIEdp?= =?UTF-8?B?YnXFgmE=?= Il 15/07/2014 16:44, Stefan Hajnoczi ha scritto: > v2: > * Leave BH scheduled so that the code can be simplified [Paolo] > > These patches convert thread-pool.c from EventNotifier to QEMUBH. They then > solve the deadlock when nested aio_poll() calls are made. > > Please speak out whether you want this in QEMU 2.1 or not. I'm not aware of > the nested aio_poll() deadlock ever having been reported, so maybe we can defer > to QEMU 2.2. It was reported as a hang in block_commit. Marcin, can you please test these patches? Paolo