From e8ca21371f978d7be9a29f7c1f6b6b76683a3ab5 Mon Sep 17 00:00:00 2001 From: Alwin Antreich Date: Tue, 28 Apr 2020 15:58:11 +0200 Subject: [PATCH] Fix: #2124 add zstd support Signed-off-by: Alwin Antreich --- PVE/VZDump/Common.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/PVE/VZDump/Common.pm b/PVE/VZDump/Common.pm index 4789a50..909e3af 100644 --- a/PVE/VZDump/Common.pm +++ b/PVE/VZDump/Common.pm @@ -88,7 +88,7 @@ my $confdesc = { type => 'string', description => "Compress dump file.", optional => 1, - enum => ['0', '1', 'gzip', 'lzo'], + enum => ['0', '1', 'gzip', 'lzo', 'zstd'], default => '0', }, pigz=> { @@ -98,6 +98,13 @@ my $confdesc = { optional => 1, default => 0, }, + zstd => { + type => "integer", + description => "Zstd threads. N=0 uses half of the available cores,". + " N>0 uses N as thread count.", + optional => 1, + default => 1, + }, quiet => { type => 'boolean', description => "Be quiet.", -- 2.39.2