From: Michael Tremer Date: Thu, 25 Mar 2021 16:26:00 +0000 (+0000) Subject: snapshots: Compress blocks of 256k at once X-Git-Tag: 0.9.28~1285^2~464 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51267765e8c9b0d05dcbdc4db97ac7015a0ea004;p=pakfire.git snapshots: Compress blocks of 256k at once Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/snapshot.c b/src/libpakfire/snapshot.c index d87d90271..005145d25 100644 --- a/src/libpakfire/snapshot.c +++ b/src/libpakfire/snapshot.c @@ -84,6 +84,9 @@ static struct archive* pakfire_snapshot_create_archive(Pakfire pakfire, FILE* f) goto ERROR; } + // Process bigger blocks + archive_write_set_bytes_per_block(a, 256 * 1024); + // Do not pad the last block archive_write_set_bytes_in_last_block(a, 1);