Am 01.03.2011 13:42, schrieb Christoph Hellwig: > > The only way to change the cache settings is from the guest. Without > that we're guranteed to lose data when going from WCE=0 to WCE=1. > > I have patches to do that, and to allow changing O_DIRECT via a monitor > command, but to toggle O_SYNC via fcntl I first need to get a kernel > patch in as that's currently not allowed to be changed at runtime.
We can re-open the file for now, and we need an implementation for older kernels/other host OSes anyway, so I don't think we have to wait for the kernel patch to be accepted. Kevin