LWN.net Logo

Native Linux KVM tool v2

Native Linux KVM tool v2

Posted Jun 15, 2011 22:21 UTC (Wed) by aliguori (subscriber, #30636)
In reply to: Native Linux KVM tool v2 by aliguori
Parent article: Native Linux KVM tool v2

It's worse than I initially thought :-( Writes are unstable but FLUSH isn't currently implemented. So even if a guest does send FLUSH commands correctly, native KVM tool ignores them...


(Log in to post comments)

Native Linux KVM tool v2

Posted Jun 15, 2011 22:46 UTC (Wed) by aliguori (subscriber, #30636) [Link]

Nope, misread the code. It does do an fsync() on FLUSH so for guests that support barriers problem, it will work correctly.

So the behavior is equivalent to cache=writeback in QEMU.

Native Linux KVM tool v2

Posted Jun 16, 2011 6:35 UTC (Thu) by penberg (subscriber, #30234) [Link]

Yup, we worked pretty hard to make sure we don't eat your QCOW2 images for lunch :-).

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds