criu/test/others/compression/raw
Radostin Stoyanov deeb0f8a82 test/others: Cover all-raw compression entries
Compression can fall back to raw storage for every block in an entry.
The writer then omits compression metadata so restore can use ordinary
I/O, but that fast path also depends on a page-aligned payload.

Add per-page and region tests with an incompressible mapping. Inspect
the pagemap for an aligned 56-page entry without compression metadata,
while requiring another genuine LZ4 block to prove compression was
active. Restore through direct image I/O, require native AIO when
O_DIRECT is available, and verify the workload contents.

Run the test in CI when page compression is available.

Assisted-by: Codex:GPT-5
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2026-07-14 10:17:01 +01:00
..
.gitignore test/others: Cover all-raw compression entries 2026-07-14 10:17:01 +01:00
check_raw_entry.py test/others: Cover all-raw compression entries 2026-07-14 10:17:01 +01:00
Makefile test/others: Cover all-raw compression entries 2026-07-14 10:17:01 +01:00
run.sh test/others: Cover all-raw compression entries 2026-07-14 10:17:01 +01:00