From 3f13fd7dc3d9b4a64885d7a64387bed8ed7963ce Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 2 Nov 2012 08:52:50 +0100 Subject: [PATCH] remove timeouts from 'qemu-img snapshot' commands. Those commands can take several minutes on larger files. --- Makefile | 2 +- PVE/Storage/Plugin.pm | 6 +++--- changelog.Debian | 6 ++++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index cc5d3e0..3517f35 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ RELEASE=2.2 VERSION=2.0 PACKAGE=libpve-storage-perl -PKGREL=35 +PKGREL=36 DESTDIR= PREFIX=/usr diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm index 08e505e..800639c 100644 --- a/PVE/Storage/Plugin.pm +++ b/PVE/Storage/Plugin.pm @@ -520,7 +520,7 @@ sub volume_snapshot { my $cmd = ['/usr/bin/qemu-img', 'snapshot','-c', $snap, $path]; - run_command($cmd, timeout => 30); + run_command($cmd); return undef; } @@ -534,7 +534,7 @@ sub volume_snapshot_rollback { my $cmd = ['/usr/bin/qemu-img', 'snapshot','-a', $snap, $path]; - run_command($cmd, timeout => 30); + run_command($cmd); return undef; } @@ -550,7 +550,7 @@ sub volume_snapshot_delete { my $cmd = ['/usr/bin/qemu-img', 'snapshot','-d', $snap, $path]; - run_command($cmd, timeout => 30); + run_command($cmd); return undef; } diff --git a/changelog.Debian b/changelog.Debian index 8752409..15bdabb 100644 --- a/changelog.Debian +++ b/changelog.Debian @@ -1,3 +1,9 @@ +libpve-storage-perl (2.0-36) unstable; urgency=low + + * remove timeouts from 'qemu-img snapshot' commands. + + -- Proxmox Support Team Fri, 02 Nov 2012 08:52:23 +0100 + libpve-storage-perl (2.0-35) unstable; urgency=low * remove hardcoded blowfish cipher -- 2.39.5