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

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Oct 13 09:44:04 CEST 2010


Author: dietmar
Date: 2010-10-13 07:44:04 +0000 (Wed, 13 Oct 2010)
New Revision: 5268

Modified:
   qemu-server/trunk/ChangeLog
   qemu-server/trunk/Makefile
   qemu-server/trunk/changelog.Debian
   qemu-server/trunk/qmrestore
Log:


Modified: qemu-server/trunk/ChangeLog
===================================================================
--- qemu-server/trunk/ChangeLog	2010-10-12 12:48:10 UTC (rev 5267)
+++ qemu-server/trunk/ChangeLog	2010-10-13 07:44:04 UTC (rev 5268)
@@ -1,3 +1,8 @@
+2010-10-13  Proxmox Support Team  <support at proxmox.com>
+
+	* qmrestore (run_command): use larger block size for dd (bs=256k)
+	to speed up restore.
+
 2010-10-05  Seth Lauzon <seth.lauzon at gmail.com>
 
 	* qmrestore (restore_qemu): new option --unique (create unique MAC

Modified: qemu-server/trunk/Makefile
===================================================================
--- qemu-server/trunk/Makefile	2010-10-12 12:48:10 UTC (rev 5267)
+++ qemu-server/trunk/Makefile	2010-10-13 07:44:04 UTC (rev 5268)
@@ -2,7 +2,7 @@
 
 VERSION=1.1
 PACKAGE=qemu-server
-PKGREL=20
+PKGREL=21
 
 DESTDIR=
 PREFIX=/usr

Modified: qemu-server/trunk/changelog.Debian
===================================================================
--- qemu-server/trunk/changelog.Debian	2010-10-12 12:48:10 UTC (rev 5267)
+++ qemu-server/trunk/changelog.Debian	2010-10-13 07:44:04 UTC (rev 5268)
@@ -1,3 +1,9 @@
+qemu-server (1.1-21) unstable; urgency=low
+
+  * use larger block size for dd (bs=256k) to speed up restore.
+
+ -- Proxmox Support Team <support at proxmox.com>  Wed, 13 Oct 2010 09:12:42 +0200
+
 qemu-server (1.1-20) unstable; urgency=low
 
   * new backup=yes|no option for drives. VZDump ignores drives with option

Modified: qemu-server/trunk/qmrestore
===================================================================
--- qemu-server/trunk/qmrestore	2010-10-12 12:48:10 UTC (rev 5267)
+++ qemu-server/trunk/qmrestore	2010-10-13 07:44:04 UTC (rev 5268)
@@ -131,7 +131,7 @@
     }
 
     if ($opts->{info}) {
-	exec 'dd', "of=/dev/null";
+	exec 'dd', 'bs=256k', "of=/dev/null";
 	die "couldn't exec dd: $!\n";
     }
 
@@ -218,7 +218,7 @@
     print STDERR "restore data to '$path' ($filesize bytes)\n";
 
     if ($opts->{prealloc} || $format ne 'raw' || (-b $path)) {
-	exec 'dd', "of=$path";
+	exec 'dd', 'bs=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