From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [Qemu-devel] [RFC] Replace posix-aio with custom thread pool Date: Fri, 12 Dec 2008 21:12:49 +0100 Message-ID: <4942C5C1.9080107@redhat.com> References: <49400F69.8080707@codemonkey.ws> <20081210190810.GG18814@random.random> <20081212142435.GL6809@random.random> <494276CD.6060904@codemonkey.ws> <20081212154418.GM6809@random.random> <49429629.20309@codemonkey.ws> <20081212170916.GO6809@random.random> <49429EA3.8070008@codemonkey.ws> <20081212175213.GP6809@random.random> <4942AAD6.1090408@codemonkey.ws> <20081212182634.GQ6809@random.random> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, kvm-devel To: Andrea Arcangeli Return-path: Received: from mx2.redhat.com ([66.187.237.31]:43091 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752369AbYLLUMz (ORCPT ); Fri, 12 Dec 2008 15:12:55 -0500 In-Reply-To: <20081212182634.GQ6809@random.random> Sender: kvm-owner@vger.kernel.org List-ID: Andrea Arcangeli wrote: > On Fri, Dec 12, 2008 at 12:17:58PM -0600, Anthony Liguori wrote: >> You assume that anything using bdrv_aio_readv/writev will be going through >> a DMA API. This isn't a safe assumption. > > Well it's obviously a safe assumption right now... ;) Well, the xen block backend in my xen patch queue calls bdrv_* directly right now. Dunno whenever it is possible/useful to fit the grant table stuff into the upcoming dma api somehow. cheers, Gerd