Re: [Qemu-devel] [PATCH] block: add cache=directsync parameter to -drive

2011-08-03 Thread Kevin Wolf
Am 01.08.2011 11:39, schrieb Stefan Hajnoczi: > 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

[Qemu-devel] [PATCH] block: add cache=directsync parameter to -drive

2011-08-01 Thread Stefan Hajnoczi
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 o