fix #4605: drop rsyncable from zstd invocation

This reverts 7420d7ff ("zstd: add --rsyncable flag")

That flag causes severe slow downs on fast disks, and we still have
other rsyncable compressors available.

It was originally added based on wrong documentation that made the
performance impact look a lot smaller than it actually is.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2023-04-17 09:04:18 +02:00 committed by Thomas Lamprecht
parent cf14758f5f
commit 9a023d5540

View File

@ -767,7 +767,7 @@ sub compressor_info {
my $cpuinfo = PVE::ProcFSTools::read_cpuinfo();
$zstd_threads = int(($cpuinfo->{cpus} + 1)/2);
}
return ("zstd --rsyncable --threads=${zstd_threads}", 'zst');
return ("zstd --threads=${zstd_threads}", 'zst');
} else {
die "internal error - unknown compression option '$opt_compress'";
}