remove timeouts from 'qemu-img snapshot' commands.
Those commands can take several minutes on larger files.
This commit is contained in:
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ RELEASE=2.2
|
|||||||
|
|
||||||
VERSION=2.0
|
VERSION=2.0
|
||||||
PACKAGE=libpve-storage-perl
|
PACKAGE=libpve-storage-perl
|
||||||
PKGREL=35
|
PKGREL=36
|
||||||
|
|
||||||
DESTDIR=
|
DESTDIR=
|
||||||
PREFIX=/usr
|
PREFIX=/usr
|
||||||
|
|||||||
@ -520,7 +520,7 @@ sub volume_snapshot {
|
|||||||
|
|
||||||
my $cmd = ['/usr/bin/qemu-img', 'snapshot','-c', $snap, $path];
|
my $cmd = ['/usr/bin/qemu-img', 'snapshot','-c', $snap, $path];
|
||||||
|
|
||||||
run_command($cmd, timeout => 30);
|
run_command($cmd);
|
||||||
|
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
@ -534,7 +534,7 @@ sub volume_snapshot_rollback {
|
|||||||
|
|
||||||
my $cmd = ['/usr/bin/qemu-img', 'snapshot','-a', $snap, $path];
|
my $cmd = ['/usr/bin/qemu-img', 'snapshot','-a', $snap, $path];
|
||||||
|
|
||||||
run_command($cmd, timeout => 30);
|
run_command($cmd);
|
||||||
|
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
@ -550,7 +550,7 @@ sub volume_snapshot_delete {
|
|||||||
|
|
||||||
my $cmd = ['/usr/bin/qemu-img', 'snapshot','-d', $snap, $path];
|
my $cmd = ['/usr/bin/qemu-img', 'snapshot','-d', $snap, $path];
|
||||||
|
|
||||||
run_command($cmd, timeout => 30);
|
run_command($cmd);
|
||||||
|
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,9 @@
|
|||||||
|
libpve-storage-perl (2.0-36) unstable; urgency=low
|
||||||
|
|
||||||
|
* remove timeouts from 'qemu-img snapshot' commands.
|
||||||
|
|
||||||
|
-- Proxmox Support Team <support@proxmox.com> Fri, 02 Nov 2012 08:52:23 +0100
|
||||||
|
|
||||||
libpve-storage-perl (2.0-35) unstable; urgency=low
|
libpve-storage-perl (2.0-35) unstable; urgency=low
|
||||||
|
|
||||||
* remove hardcoded blowfish cipher
|
* remove hardcoded blowfish cipher
|
||||||
|
|||||||
Reference in New Issue
Block a user