criu/scripts
Radostin Stoyanov 3441f66b24 crtools/rpc/libcriu: Expose page compression
The compression paths have no supported user or RPC controls, and
clients cannot discover whether CRIU was built with LZ4.

Expose per-page and region compression, LZ4 acceleration, and worker
concurrency for LZ4 decoding and eligible large zero fills through the
CLI, configuration files, RPC, and libcriu. Add compression to the
feature-check API and document each interface.

Define --decompress-threads=0 as automatic worker concurrency and one as
the serial default with zero-fill workers disabled. Values above one
bound aggregate worker concurrency. Automatic mode derives a useful
width from CPU affinity and the work in each batch. Reduce explicit
requests above the available CPU count with a warning.

Document the independent two-slot encoded-input budget. A local restore
overlaps its next read only when it can reserve the second slot without
waiting; otherwise it keeps synchronous I/O.

Use the compression mode as the source of truth and validate every
related value. An explicit RPC OFF clears ambient compression settings
and rejects conflicting fields. Reject combinations unsupported by page
server, stream, TLS, and image-format paths, and cover option and RPC
precedence in the tests.

Assisted-by: Codex:GPT-5
Assisted-by: Claude:claude-fable-5
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2026-07-14 10:17:01 +01:00
..
build ci: remove mips64el-stable-cross and mips64el-unstable-cross 2026-03-13 07:51:33 +00:00
ci crtools/rpc/libcriu: Expose page compression 2026-07-14 10:17:01 +01:00
nmk make: default CC to cc instead of gcc 2026-04-24 00:52:06 +00:00
criu-ns criu-ns: fix lint error 2024-09-11 16:02:11 -07:00
fake-restore.sh zdtm: check an exit code of a straced restore 2018-05-12 11:45:31 +03:00
feature-tests.mak build: detect drm_color_ctm_3x4 in system libdrm headers 2026-06-09 14:57:41 -07:00
fetch-clang-format.sh clang-format: disable column limit constraint 2023-10-22 13:29:25 -07:00
flake8.cfg coredump: remove unused import 2022-04-28 17:53:52 -07:00
github-indent-warnings.py lint: don't fail workflow on indent fail 2023-10-22 13:29:25 -07:00
install-criu-image-streamer.sh scripts: run shellcheck on the scripts folder 2020-10-20 00:18:24 -07:00
magic-gen.py scripts: add magic-gen.py to ruff linting 2026-07-09 10:32:19 +01:00
protobuf-gen.sh scripts/protobuf-gen.sh: fix (not ignore) shellcheck warnings 2023-04-15 21:17:21 -07:00
ruff.toml make: replace flake8 with ruff 2024-09-11 16:02:11 -07:00
systemd-autofs-restart.sh Fix some codespell warnings 2022-04-28 17:53:52 -07:00
tmp-files.sh scripts: fix shellcheck warnings 2021-09-03 10:31:00 -07:00
uninstall_module.py scripts/uninstall_module: import signal module 2025-03-21 12:40:31 -07:00