mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| check_raw_entry.py | ||
| Makefile | ||
| run.sh | ||