Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LnCNn-0004v0-3y for qemu-devel@nongnu.org; Fri, 27 Mar 2009 09:46:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LnCNh-0004jU-Si for qemu-devel@nongnu.org; Fri, 27 Mar 2009 09:46:02 -0400 Received: from [199.232.76.173] (port=51697 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LnCNh-0004jB-NN for qemu-devel@nongnu.org; Fri, 27 Mar 2009 09:45:57 -0400 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:5508) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1LnCNh-0001Mj-7q for qemu-devel@nongnu.org; Fri, 27 Mar 2009 09:45:57 -0400 Received: from samy by const with local (Exim 4.69) (envelope-from ) id 1LnCNf-0008S7-8w for qemu-devel@nongnu.org; Fri, 27 Mar 2009 14:45:55 +0100 Date: Fri, 27 Mar 2009 14:45:55 +0100 From: Samuel Thibault Subject: Re: [Qemu-devel] [PATCH] honor IDE_DMA_BUF_SECTORS Message-ID: <20090327134555.GI5408@const.bordeaux.inria.fr> References: <20090326124719.GL5642@const.bordeaux.inria.fr> <49CB7C0F.7010507@redhat.com> <20090326153021.GP5642@const.bordeaux.inria.fr> <49CBCA3C.2030909@redhat.com> <20090326184814.GC5458@const.famille.thibault.fr> <49CBDA22.3070600@redhat.com> <20090326231801.GE5458@const.famille.thibault.fr> <49CCA1CF.4000003@redhat.com> <20090327103238.GE5408@const.bordeaux.inria.fr> <49CCB02B.40201@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49CCB02B.40201@redhat.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Avi Kivity, le Fri 27 Mar 2009 13:53:31 +0300, a écrit : > Maybe I'm confused by $subject. Ah, ok. > >>block-raw-posix need not do that, just a while loop. > > > >For the synchronous interface, yes. For the asynchronous interface, > >short reads could happen too... (unfortunately we are aware of that too > >late for queuing other requests and getting efficiency). > > Currently block-raw-posix uses synchronous I/O even for asynchronous > requests (using threads) so the fix is the same in both cases. Ow, right, we are not using any native AIO interface actually. (not only related to qemu: I'm depressed when seeing how AIO is standardized/supported/used in the Unix world...) Samuel