From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLxXO-0002ho-NF for qemu-devel@nongnu.org; Wed, 10 Oct 2012 10:45:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLxXN-0001UQ-IJ for qemu-devel@nongnu.org; Wed, 10 Oct 2012 10:45:30 -0400 Received: from e23smtp02.au.ibm.com ([202.81.31.144]:48115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLxXN-00013g-0I for qemu-devel@nongnu.org; Wed, 10 Oct 2012 10:45:29 -0400 Received: from /spool/local by e23smtp02.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 11 Oct 2012 00:42:44 +1000 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q9AEj2TX46071902 for ; Thu, 11 Oct 2012 01:45:02 +1100 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q9AEj1ar015063 for ; Thu, 11 Oct 2012 01:45:02 +1100 From: Anthony Liguori In-Reply-To: <50757894.2000703@redhat.com> References: <1348577763-12920-1-git-send-email-pbonzini@redhat.com> <20121008113932.GB16332@stefanha-thinkpad.redhat.com> <5072CE54.8020208@redhat.com> <20121009090811.GB13775@stefanha-thinkpad.redhat.com> <877gqzn0xc.fsf@codemonkey.ws> <50743D91.4010900@redhat.com> <87391n8xmq.fsf@codemonkey.ws> <5074502F.5030706@redhat.com> <87ehl7lcxu.fsf@codemonkey.ws> <50751FAB.1000201@redhat.com> <87haq2ldjr.fsf@codemonkey.ws> <50757894.2000703@redhat.com> Date: Wed, 10 Oct 2012 09:44:50 -0500 Message-ID: <87391mtmhp.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] Block I/O outside the QEMU global mutex was "Re: [RFC PATCH 00/17] Support for multiple "AIO contexts"" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Kevin Wolf , Stefan Hajnoczi , Ping Fan Liu , qemu-devel@nongnu.org, Avi Kivity Paolo Bonzini writes: > Il 10/10/2012 14:25, Anthony Liguori ha scritto: >>> > NBD uses coroutines; curl can use the non-unlocked >>> > bdrv_aio_readv/writev. In both cases they would execute in the >>> > dataplane thread. qcow2-over-raw would also execute its read/write code >>> > entirely from the dataplane thread, for example. >> Does that mean that we'd stop processing the queue if we're waiting for >> an I/O completion to handle meta data operations? >> >> If that's the case, that probably will hurt performance overall. > >>>From discussion on IRC it looked like this was ENOCAFFEINE. :) > > Paolo Correct :-) Regards, Anthony Liguori