Blame SOURCES/0025-sparsify-Use-cachemode-unsafe-for-the-overlay-disk.patch

022f11
From 322bf1dd40559d554f5c7540adbe49deacd5f590 Mon Sep 17 00:00:00 2001
022f11
From: "Richard W.M. Jones" <rjones@redhat.com>
022f11
Date: Sat, 31 Aug 2013 22:47:44 +0100
022f11
Subject: [PATCH] sparsify: Use cachemode "unsafe" for the overlay disk.
022f11
022f11
(cherry picked from commit f3a9c9f867bed178d1aabf9675955f633bf3069a)
022f11
---
022f11
 sparsify/sparsify.ml | 2 +-
022f11
 1 file changed, 1 insertion(+), 1 deletion(-)
022f11
022f11
diff --git a/sparsify/sparsify.ml b/sparsify/sparsify.ml
022f11
index 819a145..659d46f 100644
022f11
--- a/sparsify/sparsify.ml
022f11
+++ b/sparsify/sparsify.ml
022f11
@@ -260,7 +260,7 @@ let g =
022f11
   if verbose then g#set_verbose true;
022f11
 
022f11
   (* Note that the temporary overlay disk is always qcow2 format. *)
022f11
-  g#add_drive ~format:"qcow2" ~readonly:false overlaydisk;
022f11
+  g#add_drive ~format:"qcow2" ~readonly:false ~cachemode:"unsafe" overlaydisk;
022f11
 
022f11
   if not quiet then Progress.set_up_progress_bar ~machine_readable g;
022f11
   g#launch ();
022f11
-- 
022f11
1.8.3.1
022f11