mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 01:51:51 +00:00
The --ghost-fiemap option was introduced with #1963. It enables an optimized algorithm based on fiemap ioctl that can reduce the number of syscalls used to checkpoint highly sparse ghost files. This option is enabled by default. It can be disabled with --no-ghost-fiemap when using SEEK_HOLE/SEEK_DATA is preferred. In addition, an automatic fallback to SEEK_HOLE/SEEK_DATA is used for filesystems that do not supporting fiemap. Co-authored-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com> Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>