[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCHv3] QEMU(upstream): Disable xen's use of O_DIRECT by default as it results in crashes.
--On 20 March 2013 12:08:19 +0100 Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
To make it safe, just use cache=none. There are downsides (for example
tmpfs does not support it), but perhaps you can use a global option or
environment variable to toggle the behavior.
If you don't use cache=none, you it is unsafe because of the page cache
issue.
If you use cache=none, it uses O_DIRECT, and it is unsafe because of the
kernel issue.
My preference would be to leave this can of worms to the end user. I'd
rather take the risk on the first (as I'd rather domU broke than dom0)
but that's because I always use network drives. Some documentation
would be useful.
--
Alex Bligh
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|