[pve-devel] r6539 - qemu-server/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Mon Sep 12 08:14:13 CEST 2011


Author: dietmar
Date: 2011-09-12 08:14:12 +0200 (Mon, 12 Sep 2011)
New Revision: 6539

Modified:
   qemu-server/trunk/ChangeLog
   qemu-server/trunk/Makefile
   qemu-server/trunk/changelog.Debian
   qemu-server/trunk/qmrestore
Log:
improve performance: correctly set 'dd' output block size


Modified: qemu-server/trunk/ChangeLog
===================================================================
--- qemu-server/trunk/ChangeLog	2011-09-09 05:24:35 UTC (rev 6538)
+++ qemu-server/trunk/ChangeLog	2011-09-12 06:14:12 UTC (rev 6539)
@@ -1,3 +1,8 @@
+2011-09-12  Proxmox Support Team  <support at proxmox.com>
+
+	* qmrestore: use ibs/obs instead of bs (see
+	http://lists.gnu.org/archive/html/bug-coreutils/2011-03/msg00034.html)
+
 2011-08-12  Proxmox Support Team  <support at proxmox.com>
 
 	* QemuServer.pm (config_to_command): fix for 0.15.0 - supress network boot

Modified: qemu-server/trunk/Makefile
===================================================================
--- qemu-server/trunk/Makefile	2011-09-09 05:24:35 UTC (rev 6538)
+++ qemu-server/trunk/Makefile	2011-09-12 06:14:12 UTC (rev 6539)
@@ -2,7 +2,7 @@
 
 VERSION=1.1
 PACKAGE=qemu-server
-PKGREL=31
+PKGREL=32
 
 DESTDIR=
 PREFIX=/usr

Modified: qemu-server/trunk/changelog.Debian
===================================================================
--- qemu-server/trunk/changelog.Debian	2011-09-09 05:24:35 UTC (rev 6538)
+++ qemu-server/trunk/changelog.Debian	2011-09-12 06:14:12 UTC (rev 6539)
@@ -1,3 +1,9 @@
+qemu-server (1.1-32) unstable; urgency=low
+
+  * improve performance: correctly set 'dd' output block size
+
+ -- Proxmox Support Team <support at proxmox.com>  Mon, 12 Sep 2011 08:11:18 +0200
+
 qemu-server (1.1-31) unstable; urgency=low
 
   * small fixes for new qemu-kvm 0.15.0

Modified: qemu-server/trunk/qmrestore
===================================================================
--- qemu-server/trunk/qmrestore	2011-09-09 05:24:35 UTC (rev 6538)
+++ qemu-server/trunk/qmrestore	2011-09-12 06:14:12 UTC (rev 6539)
@@ -224,7 +224,7 @@
     print STDERR "restore data to '$path' ($filesize bytes)\n";
 
     if ($opts->{prealloc} || $format ne 'raw' || (-b $path)) {
-	exec 'dd', 'bs=256K', "of=$path";
+	exec 'dd', 'ibs=256K', 'obs=256K', "of=$path";
 	die "couldn't exec dd: $!\n";
     } else {
 	exec '/usr/lib/qemu-server/sparsecp', $path;




More information about the pve-devel mailing list