libxl/qemu-xen: use cache=writeback for IDE and SCSI
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 5 Oct 2012 13:34:28 +0000 (14:34 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 5 Oct 2012 13:34:28 +0000 (14:34 +0100)
commite9a327bbbcab127625b0917a2780cb3601a81d01
treeabc38a648a6b1d679e4561eff61e92249f79ac93
parentfb0ddeafbc3334a5d7acff44e8f32887b3ee8cc6
libxl/qemu-xen: use cache=writeback for IDE and SCSI

Change caching mode from writethrough to writeback for upstream QEMU.

After a lengthy discussion, we came up with the conclusion that
WRITEBACK is OK for IDE.
See: http://marc.info/?l=xen-devel&m=133311527009773

Given that the same reasons apply to SCSI as well, change to writeback
for SCSI too.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_dm.c