From: Ian Jackson Subject: Re: [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE Date: Tue, 27 Mar 2012 18:22:57 +0100 Message-ID: <20337.63345.79209.977387@mariner.uk.xensource.com> References: <1332514289-28129-1-git-send-email-stefano.stabellini@eu.citrix.com> 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.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: "Zhang, Yang Z" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Stefano Stabellini writes ("RE: [Xen-devel] [PATCH 1/3] qemu-xen-traditional: use O_DIRECT to open disk images for IDE"): > On Tue, 27 Mar 2012, Zhang, Yang Z wrote: > > Doesn't cache mode have better performance than NOCACHE? > > Actually you are correct. I think that this patch should be dropped from > the series. Of course we need O_DIRECT for QDISK otherwise we do loose > correctness but considering that IDE should only be used during > installation it can stay as it is. I don't think this assumption about IDE is correct. To say that "IDE should only be used during installation" is not an excuse for providing an IDE controller which violates the usual correctness rules. Ian.