From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: [PATCH v2] introduce a cache options for PV disks Date: Thu, 27 Jun 2013 17:09:37 +0100 Message-ID: <20940.25537.183890.394352@mariner.uk.xensource.com> References: <20940.19076.523978.4704@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20940.19076.523978.4704@mariner.uk.xensource.com> 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 , xen-devel@lists.xensource.com, Ian Campbell List-Id: xen-devel@lists.xenproject.org Ian Jackson writes ("Re: [PATCH v2] introduce a cache options for PV disks"): > 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. Here's an RFC version of the libxl part of this patch. It compiles but has not been tested. For clarity the patch below doesn't include the rebuild of libxlu_disk_l.[ch]. Ian. Signed-off-by: Ian Jackson diff --git a/docs/misc/vbd-interface.txt b/docs/misc/vbd-interface.txt index 3952e73..f873db0 100644 --- a/docs/misc/vbd-interface.txt +++ b/docs/misc/vbd-interface.txt @@ -125,3 +125,9 @@ because they directly map the bottom 8 bits of the xenstore integer directly to the Linux guest's device number and throw away the rest; they can crash due to minor number clashes. With these guests, the workaround is not to supply problematic combinations of devices. + + +Other frontend and backend options +---------------------------------- + +See xen/include/public/io/blkif.h for the full list of options. diff --git a/docs/misc/xl-disk-configuration.txt b/docs/misc/xl-disk-configuration.txt index 5bd456d..9c2650b 100644 --- a/docs/misc/xl-disk-configuration.txt +++ b/docs/misc/xl-disk-configuration.txt @@ -178,6 +178,44 @@ information to be interpreted by the executable program