From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbvWQ-0007UP-KL for Qemu-devel@nongnu.org; Wed, 29 Jun 2011 10:13:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbvWO-0001IU-Kw for Qemu-devel@nongnu.org; Wed, 29 Jun 2011 10:13:42 -0400 Received: from mail-pz0-f45.google.com ([209.85.210.45]:35094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbvWO-0001IH-4o for Qemu-devel@nongnu.org; Wed, 29 Jun 2011 10:13:40 -0400 Received: by pzk30 with SMTP id 30so1020420pzk.4 for ; Wed, 29 Jun 2011 07:13:38 -0700 (PDT) Message-ID: <4E0B330F.7090307@codemonkey.ws> Date: Wed, 29 Jun 2011 09:13:35 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <4E0B1399.4050807@redhat.com> <4E0B152B.1000201@codemonkey.ws> <4E0B1787.30709@redhat.com> <4E0B1943.4090400@codemonkey.ws> <20110629135059.GB15863@lst.de> In-Reply-To: <20110629135059.GB15863@lst.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Default cache mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Hellwig Cc: Kevin Wolf , Avi Kivity , Qemu-devel@nongnu.org, Stefan Hajnoczi On 06/29/2011 08:50 AM, Christoph Hellwig wrote: > On Wed, Jun 29, 2011 at 07:23:31AM -0500, Anthony Liguori wrote: >> Which file system on the host? > > Any filesystem. Although extN and btrfs are particularly bad. > >> At any rate, I'm a big fan of making wce tunable in the guest and then I >> think setting wce=1 is quite reasonable to do by default. > > Note that this means a manual override during each boot. Windows and > modern Linux just use what's available. Only Solaris with ZFS actually > turns WCE on if it's not set AFAIK. And to me it's a rather questionable > behaviour at least for SCSI disks where the admin might have chosen > those intentionally. (unlike ATA disks SCSI allows to store the setting > permanently) Is WCE ever persisted by a disk? Would it make sense to have a mechanism to persist the WCE setting for a guest? Regards, Anthony Liguori >