From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KoHbI-0007nu-DA for qemu-devel@nongnu.org; Fri, 10 Oct 2008 09:00:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KoHbH-0007nJ-7M for qemu-devel@nongnu.org; Fri, 10 Oct 2008 09:00:11 -0400 Received: from [199.232.76.173] (port=46025 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KoHbG-0007n6-P4 for qemu-devel@nongnu.org; Fri, 10 Oct 2008 09:00:11 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:42628) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KoHbG-0000VS-Ad for qemu-devel@nongnu.org; Fri, 10 Oct 2008 09:00:10 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [RFC] Disk integrity in QEMU Date: Fri, 10 Oct 2008 13:59:58 +0100 References: <48EE38B9.2050106@codemonkey.ws> <20081010095829.GC12910@redhat.com> <48EF2DCE.1010308@redhat.com> In-Reply-To: <48EF2DCE.1010308@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810101359.59897.paul@codesourcery.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 Cc: Chris Wright , Mark McLoughlin , kvm-devel , Laurent Vivier , Ryan Harper , Avi Kivity >> - OS development tool >> - casual or client-side virtualization >> - server partitioning > > Absoutely agree that the default should be safe. I don't have enough > > knowledge to say whether O_DIRECT/O_DSYNC is best - which also implies > > we should choose the best setting by default, because we can't expect > > users to know the tradeoffs either. > > The fact that there are different use models for qemu implies that the > default must be chosen at some higher level than qemu code itself. It > might be done using /etc/qemu or ~/.qemu, or at the management > interface, but there is no best setting for qemu itself. This suggests that the most appropriate defaults are for the users that are least likely to be using a management tool. I'd guess that the server partitioning folks are most likely to be using a management tool, so qemu defaults should be setup for casual/development use. I don't have hard data to back this up though. Paul