Re: JFYI: ext4 bug triggerable by kvm

Avi Kivity
2010-08-17T14:53:23Z

On 08/17/2010 05:45 PM, Christoph Hellwig wrote:
>
> The users doesn't know or have to care about the caching. The
> users uses O_SYNC/fsync to tell it wants data on disk, and it's the
> operating systems job to make that happen. The situation with qemu
> is the same - if we tell the guest that we do not have a volatile write
> cache that needs explicit management the guest can rely on the fact
> that it does not have to do manual cache management.
>

In the general case this is correct, however sometimes we want to
explicitly lie (cache=unsafe, or say that we have a write-back cache
when we don't to preserve the guest's view of things after a migration).

--
error compiling committee.c: too many arguments to function