> Maybe we should add flushes in the right places in
> higher level functions like bdrv_snapshot_create().
Yes, that would be better.
Paolo
Am 06.06.2012 00:04, schrieb Paolo Bonzini:
> Writethrough does not need special-casing anymore in the qcow2 caches.
> The block layer adds flushes after every guest-initiated data write,
> and these will also flush the qcow2 caches to the OS.
>
> Signed-off-by: Paolo Bonzini
> diff --git a/bloc
Writethrough does not need special-casing anymore in the qcow2 caches.
The block layer adds flushes after every guest-initiated data write,
and these will also flush the qcow2 caches to the OS.
Signed-off-by: Paolo Bonzini
---
block/qcow2-cache.c| 25 ++---
block/qcow2-