Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JU4IQ-0006f5-8H for qemu-devel@nongnu.org; Tue, 26 Feb 2008 13:12:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JU4IL-0006Zy-A9 for qemu-devel@nongnu.org; Tue, 26 Feb 2008 13:12:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JU4IL-0006Zk-31 for qemu-devel@nongnu.org; Tue, 26 Feb 2008 13:12:49 -0500 Received: from smtp02.citrix.com ([66.165.176.63]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JU4IK-000265-LQ for qemu-devel@nongnu.org; Tue, 26 Feb 2008 13:12:48 -0500 Received: from mariner.uk.xensource.com (mariner.uk.xensource.com [172.31.17.38]) by smtp01.ad.xensource.com (8.13.1/8.13.1) with ESMTP id m1QIBrmi015139 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 26 Feb 2008 10:11:55 -0800 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.63) (envelope-from ) id 1JU4HP-0004uT-9J for qemu-devel@nongnu.org; Tue, 26 Feb 2008 18:11:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18372.22118.982894.595768@mariner.uk.xensource.com> Date: Tue, 26 Feb 2008 18:11:50 +0000 Subject: Re: [Qemu-devel] [PATCH] ide.c make write cacheing controllable by guest In-Reply-To: <20080226172535.GA22471@shareable.org> References: <18371.1341.577787.909764@mariner.uk.xensource.com> <20080225205040.GA18613@shareable.org> <18372.748.889104.623158@mariner.uk.xensource.com> <20080226124956.GA13669@shareable.org> <18372.17630.149348.378169@mariner.uk.xensource.com> <20080226172535.GA22471@shareable.org> From: Ian Jackson 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 Jamie Lokier writes ("Re: [Qemu-devel] [PATCH] ide.c make write cacheing controllable by guest"): > I agree it's a bit ambiguous. My understanding is that _increases_ in > size are included, by convention as much as anything, since the larger > size is necessary to retrieve the data later. Yes. Well, if you're sufficiently convinced then I think the right thing for you to do is to submit a patch to change the calls to fsync to calls to fdatasync. Sadly my patches don't seem to have been applied in CVS yet. I'll arrange to publish my git tree and then you can make a diff that will sit properly on top of my tree (which is what you want because I have added error checking, so otherwise we get a conflict). Ian.