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 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html