From: Ian Jackson Subject: Re: [PATCH v2] introduce a cache options for PV disks Date: Thu, 27 Jun 2013 15:21:56 +0100 Message-ID: <20940.19076.523978.4704@mariner.uk.xensource.com> References: 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: xen-devel@lists.xensource.com, Ian Campbell List-Id: xen-devel@lists.xenproject.org Stefano Stabellini writes ("[PATCH v2] introduce a cache options for PV disks"): > +cache= > +------------- Following a discussion with Stefano, we're going to rework this somewhat. The problem with this "cache=..." option is that it gives the impression that it should do a lot more than it actually does. For example, people might try to set cache=none because they know or suspect their guest is being loose with its barriers, or something. Or they might want to try to stop their host buffer cache being swamped by an unfriendly guest's IDE IO. To avoid these problems we intend to rename this option and change the documentation accordingly. Probably, to "direct-io-safe" (both in Xenstore and the libxl API). The documentation will say that this option just disables any workaround where we avoid using direct IO because of bugs. Ian.