Blame SOURCES/kvm-qemu-img-decrease-progress-update-interval-on-conver.patch.patch

0a122b
From e81aa6e8c41c14f1ff46dfe7085174bc8331fbe1 Mon Sep 17 00:00:00 2001
0a122b
Message-Id: <e81aa6e8c41c14f1ff46dfe7085174bc8331fbe1.1389014116.git.minovotn@redhat.com>
0a122b
In-Reply-To: <c8cc35838d42aa286242772d97e3a9be7bb786ba.1389014116.git.minovotn@redhat.com>
0a122b
References: <c8cc35838d42aa286242772d97e3a9be7bb786ba.1389014116.git.minovotn@redhat.com>
0a122b
From: Paolo Bonzini <pbonzini@redhat.com>
0a122b
Date: Mon, 9 Dec 2013 14:09:38 +0100
0a122b
Subject: [PATCH 50/50] qemu-img: decrease progress update interval on convert
0a122b
0a122b
RH-Author: Paolo Bonzini <pbonzini@redhat.com>
0a122b
Message-id: <1386598178-11845-53-git-send-email-pbonzini@redhat.com>
0a122b
Patchwork-id: 56089
0a122b
O-Subject: [RHEL 7.0 qemu-kvm PATCH 52/52] qemu-img: decrease progress update interval on convert
0a122b
Bugzilla: 1039557
0a122b
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
0a122b
RH-Acked-by: Fam Zheng <famz@redhat.com>
0a122b
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
0a122b
0a122b
From: Peter Lieven <pl@kamp.de>
0a122b
0a122b
when doing very large jobs updating the progress only every 2%
0a122b
is too rare.
0a122b
0a122b
Signed-off-by: Peter Lieven <pl@kamp.de>
0a122b
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
0a122b
(cherry picked from commit 405889820bcd5c2abf4eb70598e96f525f862c0f)
0a122b
---
0a122b
 qemu-img.c | 2 +-
0a122b
 1 file changed, 1 insertion(+), 1 deletion(-)
0a122b
0a122b
Signed-off-by: Michal Novotny <minovotn@redhat.com>
0a122b
---
0a122b
 qemu-img.c | 2 +-
0a122b
 1 file changed, 1 insertion(+), 1 deletion(-)
0a122b
0a122b
diff --git a/qemu-img.c b/qemu-img.c
0a122b
index 55bb82c..1fe175b 100644
0a122b
--- a/qemu-img.c
0a122b
+++ b/qemu-img.c
0a122b
@@ -1225,7 +1225,7 @@ static int img_convert(int argc, char **argv)
0a122b
     out_filename = argv[argc - 1];
0a122b
 
0a122b
     /* Initialize before goto out */
0a122b
-    qemu_progress_init(progress, 2.0);
0a122b
+    qemu_progress_init(progress, 1.0);
0a122b
 
0a122b
     if (options && is_help_option(options)) {
0a122b
         ret = print_block_option_help(out_filename, out_fmt);
0a122b
-- 
0a122b
1.7.11.7
0a122b