[pve-devel] qemu-server: add directsync cache mode

Alexandre Derumier aderumier at odiso.com
Mon Apr 9 17:12:14 CEST 2012


this add directsync cache mode option to drive.

http://lists.gnu.org/archive/html/qemu-devel/2011-08/msg03514.html

"This patch adds -drive cache=directsync for O_DIRECT | O_SYNC host file
I/O with no disk write cache presented to the guest.

This mode is useful when guests may not be sending flushes when
appropriate and therefore leave data at risk in case of power failure.
When cache=directsync is used, write operations are only completed to
the guest when data is safely on disk.

This new mode is like cache=writethrough but it bypasses the host page
cache.
"




More information about the pve-devel mailing list