mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-25 19:38:38 +00:00
If the ghost file is too big, it might make sence to try seeking for holes in it, thus reducing the image size. We've seen this once for tmpfs files in issue #230. Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
24 lines
527 B
Protocol Buffer
24 lines
527 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
import "opts.proto";
|
|
import "time.proto";
|
|
|
|
message ghost_file_entry {
|
|
required uint32 uid = 1;
|
|
required uint32 gid = 2;
|
|
required uint32 mode = 3;
|
|
|
|
optional uint32 dev = 4 [(criu).dev = true];
|
|
optional uint64 ino = 5;
|
|
optional uint32 rdev = 6 [(criu).dev = true, (criu).odev = true];
|
|
optional timeval atim = 7;
|
|
optional timeval mtim = 8;
|
|
optional bool chunks = 9;
|
|
optional uint64 size = 10;
|
|
}
|
|
|
|
message ghost_chunk_entry {
|
|
required uint64 len = 1;
|
|
required uint64 off = 2;
|
|
}
|