From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yt9bs-0007h6-4S for qemu-devel@nongnu.org; Fri, 15 May 2015 03:00:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yt9bn-0003cr-4P for qemu-devel@nongnu.org; Fri, 15 May 2015 03:00:40 -0400 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:55587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yt9bm-0003cH-Ri for qemu-devel@nongnu.org; Fri, 15 May 2015 03:00:35 -0400 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 15 May 2015 08:00:33 +0100 Message-ID: <5555998B.10509@de.ibm.com> Date: Fri, 15 May 2015 09:00:27 +0200 From: Christian Borntraeger MIME-Version: 1.0 References: <1431619400-640-1-git-send-email-yarygin@linux.vnet.ibm.com> <5555995A.2070608@de.ibm.com> In-Reply-To: <5555995A.2070608@de.ibm.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] block: Let bdrv_drain_all() to call aio_poll() for each AioContext List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Yarygin , qemu-devel@nongnu.org Cc: Kevin Wolf , qemu-block@nongnu.org, Ekaterina Tumanova , Stefan Hajnoczi , Cornelia Huck , Paolo Bonzini Am 15.05.2015 um 08:59 schrieb Christian Borntraeger: > PS: There is another independent issue now in the kernel when exiting QEMU > caused by Linux kernel commit 6098b45b32e6baeacc04790773ced9340601d511 > Author: Gu Zheng > AuthorDate: Wed Sep 3 17:45:44 2014 +0800 > Commit: Benjamin LaHaise > CommitDate: Thu Sep 4 16:54:47 2014 -0400 > > aio: block exit_aio() until all context requests are completed > > A QEMU with 1000 devices will sleep a long time in exit_aio with now obvious > sign of activity as zombie process. I will take care of that.... > > Christian To make it clear. This kernel wait time happens with and without Alexanders patch.