[Pkg-libvirt-commits] [libguestfs] 176/266: v2v: Change "Trimming the filesystems" message to something less scary.
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:41:58 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 4d30b82ea3c6a231193203cf608f5537693c0679
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Mon Aug 25 21:36:28 2014 +0100
v2v: Change "Trimming the filesystems" message to something less scary.
Avoid copying unused and blank areas. Avoid alarm and support calls too.
---
v2v/v2v.ml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/v2v/v2v.ml b/v2v/v2v.ml
index f6d2876..4f59ada 100644
--- a/v2v/v2v.ml
+++ b/v2v/v2v.ml
@@ -180,8 +180,11 @@ let rec main () =
typ distro in
if do_copy then (
- (* Trim the filesystems to reduce transfer size. *)
- msg (f_"Trimming filesystems to reduce amount of data to copy");
+ (* Doing fstrim on all the filesystems reduces the transfer size
+ * because unused blocks are marked in the overlay and thus do
+ * not have to be copied.
+ *)
+ msg (f_"Mapping filesystem data to avoid copying unused and blank areas");
let mps = g#mountpoints () in
List.iter (
fun (_, mp) ->
--
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