[Pkg-libvirt-commits] [libguestfs] 222/266: v2v: Use copy_on_read in the overlays.
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:42:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.
commit 1ce930ed2749b50bed52910f6d9067f37d3d1a84
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Fri Aug 29 18:22:20 2014 +0100
v2v: Use copy_on_read in the overlays.
To speed up conversions by storing everything we read during
conversion in the overlay instead of having to reread it from the
remote server during copying.
Thanks: Matthew Booth.
---
v2v/v2v.ml | 1 +
1 file changed, 1 insertion(+)
diff --git a/v2v/v2v.ml b/v2v/v2v.ml
index 8f964cb..a4f20b3 100644
--- a/v2v/v2v.ml
+++ b/v2v/v2v.ml
@@ -122,6 +122,7 @@ let rec main () =
fun (overlay_file, _) ->
g#add_drive_opts overlay_file
~format:"qcow2" ~cachemode:"unsafe" ~discard:"besteffort"
+ ~copyonread:true
) overlays;
g#launch ();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list