From: Ian Jackson Subject: Re: Re: [Qemu-devel] [PATCH] qemu and qemu-xen: support empty write barriers in xen_disk Date: Thu, 25 Nov 2010 19:30:08 +0000 Message-ID: <19694.47424.630046.168617@mariner.uk.xensource.com> References: <20101124165835.GF31124@lst.de> <4CED5700.9070204@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Hellwig Cc: Jeremy Fitzhardinge , xen-devel@lists.xensource.com, qemu-devel@nongnu.org, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Christoph Hellwig writes ("Re: [Xen-devel] Re: [Qemu-devel] [PATCH] qemu and qemu-xen: support empty write barriers in xen_disk"): > On Wed, Nov 24, 2010 at 10:18:40AM -0800, Jeremy Fitzhardinge wrote: > > Linux wants is a useful thing to do and implement (especially since it > > amounts to standardising the ?BSD extension). I'm not sure of their > > precise semantics (esp WRT ordering), but I think its already OK. > > The nice bit is that a pure flush does not imply any odering at all. > Which is how the current qemu driver implements the barrier requests > anyway, so that needs some fixing. Thanks for your comments. Does that mean, though, that Stefano's patch is actually making the situation worse, or simply that it isn't making it as good as it should be ? If it's an improvement it should be applied it even if it's not perfect, and it sounds to me like we don't want to wait for the more complicated discussion to finish and produce code ? Ian.