From effd5676225761abdab90becac519716515c3be4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 14 Aug 2012 15:57:49 +0100 Subject: [PATCH] Revert "qemu-xen-traditional: use O_DIRECT to open disk images for IDE" This reverts commit 1307e42a4b3c1102d75401bc0cffb4eb6c9b7a38. In fact 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 Therefore revert this which was committed in error. --- xenstore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xenstore.c b/xenstore.c index 8ab9ed4e2..1857160d8 100644 --- a/xenstore.c +++ b/xenstore.c @@ -643,7 +643,7 @@ void xenstore_parse_domain_config(int hvm_domid) } pstrcpy(bs->filename, sizeof(bs->filename), params); - flags = BDRV_O_NOCACHE; + flags = BDRV_O_CACHE_WB; /* snapshot and write-back */ is_readonly = 0; if (pasprintf(&buf, "%s/mode", bpath) == -1) continue; -- 2.39.5