mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-29 04:50:26 +00:00
Now we can compare mount tree and sharing group tree topology before and after c/r with mntns_compare() helper. Algorithm here is: 1) build mount tree based on mnt_id and parent_mnt_id from mountinfo 2) sort mount tree children based on path comparison 3) at the same time set topology_id for mounts by DFS order and order mounts in list accordingly 4) build shared groups tree based on sharing_id and master_id 5) at the same time set topology_id for sharings as smallest topology_id of its mounts, also sharings are put in their list in order of their topology_id 6) walk sorted mounts lists for both namespaces simultaneously each pair of moutns should have matching ids and parent ids 7) walk sorted sharings lists for both namespaces simultaneously each pair of sharings should have matching ids and parent ids Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com> |
||
|---|---|---|
| .. | ||
| compel | ||
| exhaustive | ||
| inhfd | ||
| javaTests | ||
| jenkins | ||
| others | ||
| pki | ||
| zdtm | ||
| .gitignore | ||
| abrt.sh | ||
| check_actions.py | ||
| crit-recode.py | ||
| empty-netns-prep.sh | ||
| groups.desc | ||
| inhfd.desc | ||
| Makefile | ||
| pycriu | ||
| show_action.sh | ||
| umount2.c | ||
| zdtm.desc | ||
| zdtm.py | ||
| zdtm_ct.c | ||
| zdtm_mount_cgroups | ||
| zdtm_umount_cgroups | ||