From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:34295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QB19M-0002dl-Fz for qemu-devel@nongnu.org; Sat, 16 Apr 2011 04:46:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QB19L-0005J1-Hq for qemu-devel@nongnu.org; Sat, 16 Apr 2011 04:46:40 -0400 Received: from mail-gx0-f173.google.com ([209.85.161.173]:58133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QB19L-0005Iu-CW for qemu-devel@nongnu.org; Sat, 16 Apr 2011 04:46:39 -0400 Received: by gxk26 with SMTP id 26so1695724gxk.4 for ; Sat, 16 Apr 2011 01:46:38 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4DA8CE00.3090907@us.ibm.com> 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> <20110415172909.GB303@lst.de> <4DA8C4F0.4080507@us.ibm.com> <4DA8CE00.3090907@us.ibm.com> Date: Sat, 16 Apr 2011 09:46:38 +0100 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Anthony Liguori Cc: Kevin Wolf , Stefan Hajnoczi , qemu-devel@nongnu.org, Khoa Huynh , pbadari@linux.vnet.ibm.com, Christoph Hellwig On Sat, Apr 16, 2011 at 12:00 AM, Anthony Liguori wro= te: > 3) We have no way to detect when we no longer need a work around which ma= kes > (2) really unappealing. I agree. > 4) That leaves us with: > =A0 =A0a) waiting for NFS to get fixed properly and just living with wors= e > performance on older kernels > > =A0 =A0b) having a user-tunable switch to enable bouncing > > I really dislike the idea of (b) because we're stuck with it forever and > it's yet another switch for people to mistakenly depend on. The user-tunable switch is potentially interesting for performance troubleshooting. We have seen another file system which has issues with vectored direct I/O. It would have been much easier to identify the problem by telling the user "Try running it with linearize=3Don and see if it makes a difference". But let's try harder on linux-nfs. Stefan