libxl: introduce an option for disabling the non-O_DIRECT workaround
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 30 Apr 2014 15:06:24 +0000 (16:06 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 2 May 2014 16:50:27 +0000 (17:50 +0100)
commit6ec48cf41b6656c98148380f39010063e62628c5
tree7d81a415ccc52e88486bdad96b1f1d74ff2e8ba9
parentdc92f1a781a160229e4935dc03040bc78712a828
libxl: introduce an option for disabling the non-O_DIRECT workaround

Document and implement a new option that permits disk backends which
would otherwise have to avoid O_DIRECT (because of the network memory
lifetime bug) to use it anyway.  This is:
 direct-io-safe   in the xl domain disk config specification
 direct_io_safe   in the libxl disk API
 direct-io-safe   in the backend xenstore interface

Add a reference to xen/include/public/io/blkif.h in
docs/misc/vbd-interface.txt.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Tested-by: Felipe Franciosi <felipe@paradoxo.org>
docs/misc/vbd-interface.txt
docs/misc/xl-disk-configuration.txt
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_types.idl
tools/libxl/libxlu_disk_l.c
tools/libxl/libxlu_disk_l.h
tools/libxl/libxlu_disk_l.l
xen/include/public/io/blkif.h