[pve-devel] [PATCH manager] fix #2509: add --rsyncable to pigz

Stefan Reiter s.reiter at proxmox.com
Mon Dec 16 11:16:38 CET 2019


Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---
 PVE/VZDump.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index 7ba54eff..3caa7ab8 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -588,7 +588,7 @@ sub compressor_info {
 		my $cpuinfo = PVE::ProcFSTools::read_cpuinfo();
 		$pigz_threads = int(($cpuinfo->{cpus} + 1)/2);
 	    }
-	    return ("pigz -p ${pigz_threads}", 'gz');
+	    return ("pigz -p ${pigz_threads} --rsyncable", 'gz');
 	} else {
 	    return ('gzip --rsyncable', 'gz');
 	}
-- 
2.20.1





More information about the pve-devel mailing list