mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-18 00:00:08 +00:00
zstd: add --rsyncable flag
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
3e2c5105f8
commit
7420d7ff95
@ -615,7 +615,7 @@ sub compressor_info {
|
|||||||
my $cpuinfo = PVE::ProcFSTools::read_cpuinfo();
|
my $cpuinfo = PVE::ProcFSTools::read_cpuinfo();
|
||||||
$zstd_threads = int(($cpuinfo->{cpus} + 1)/2);
|
$zstd_threads = int(($cpuinfo->{cpus} + 1)/2);
|
||||||
}
|
}
|
||||||
return ("zstd --threads=${zstd_threads}", 'zst');
|
return ("zstd --rsyncable --threads=${zstd_threads}", 'zst');
|
||||||
} else {
|
} else {
|
||||||
die "internal error - unknown compression option '$opt_compress'";
|
die "internal error - unknown compression option '$opt_compress'";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user