Searched hist:"92196 b2f5664d5defa778b1b24df56e2239b5e93" (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/ |
H A D | qemu-img.c | diff 92196b2f5664d5defa778b1b24df56e2239b5e93 Thu Aug 04 06:26:52 CDT 2011 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> block: add cache=directsync parameter to -drive
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.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
H A D | qemu-options.hx | diff 92196b2f5664d5defa778b1b24df56e2239b5e93 Thu Aug 04 06:26:52 CDT 2011 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> block: add cache=directsync parameter to -drive
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.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
H A D | block.c | diff 92196b2f5664d5defa778b1b24df56e2239b5e93 Thu Aug 04 06:26:52 CDT 2011 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> block: add cache=directsync parameter to -drive
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.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|