From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:37942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAnST-0002kH-Ju for qemu-devel@nongnu.org; Fri, 15 Apr 2011 14:09:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAnSP-0003uj-KO for qemu-devel@nongnu.org; Fri, 15 Apr 2011 14:09:29 -0400 Received: from mail-yw0-f45.google.com ([209.85.213.45]:46666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAnSP-0003ue-Hs for qemu-devel@nongnu.org; Fri, 15 Apr 2011 14:09:25 -0400 Received: by ywl41 with SMTP id 41so969753ywl.4 for ; Fri, 15 Apr 2011 11:09:24 -0700 (PDT) Message-ID: <4DA889CF.7070706@codemonkey.ws> Date: Fri, 15 Apr 2011 13:09:19 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <1302874855-14736-1-git-send-email-stefanha@linux.vnet.ibm.com> <20110415150513.GA29619@lst.de> <20110415153448.GA30116@lst.de> <1302884634.32391.3.camel@badari-desktop> In-Reply-To: <1302884634.32391.3.camel@badari-desktop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] raw-posix: Linearize direct I/O on Linux NFS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Badari Pulavarty Cc: Kevin Wolf , Anthony Liguori , Stefan Hajnoczi , Stefan Hajnoczi , qemu-devel@nongnu.org, Khoa Huynh , Christoph Hellwig On 04/15/2011 11:23 AM, Badari Pulavarty wrote: > On Fri, 2011-04-15 at 17:34 +0200, Christoph Hellwig wrote: >> On Fri, Apr 15, 2011 at 04:26:41PM +0100, Stefan Hajnoczi wrote: >>> On Fri, Apr 15, 2011 at 4:05 PM, Christoph Hellwig wrote: >>>> NAK. ?Just wait for the bloody NFS client fix to get in instead of >>>> adding crap like that. >>> That's totally fine if NFS client will be fixed in the near future but >>> this doesn't seem likely: >>> >>> http://www.spinics.net/lists/linux-nfs/msg20462.html >> The code to use preadv/pwritev has been in qemu for over 2 years, >> and it took people to notice the NFS slowdown until now, so don't >> expect it to be fixed three days layer. > True. That brings up a different question - whether we are doing > enough testing on mainline QEMU :( The issue here is NFS, not QEMU. Moreover, the real problem is that we're using O_DIRECT. O_DIRECT seems to result in nothing but problems and it never seems to be tested well on any file system. I think the fundamental problem we keep running into really boils down to O_DIRECT being a second class interface within Linux. Regards, Anthony Liguori