mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 10:16:41 +00:00
mount-v2: make mount engine fallback messages loglevel debug
On pre v5.15 kernel we don't have MOVE_MOUNT_SET_GROUP support and thus all our ci logs are filled with "fallback" messages. Let's decrease log level to debug, so that we don't see it in ci logs. Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
parent
8867840c82
commit
165d5a2cd5
2 changed files with 3 additions and 3 deletions
|
|
@ -1110,7 +1110,7 @@ int check_options(void)
|
|||
return 1;
|
||||
} else if (!opts.mntns_compat_mode && opts.mode == CR_RESTORE) {
|
||||
if (check_mount_v2()) {
|
||||
pr_warn("Mount engine fallback to --mntns-compat-mode mode\n");
|
||||
pr_debug("Mount engine fallback to --mntns-compat-mode mode\n");
|
||||
opts.mntns_compat_mode = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,12 +33,12 @@ LIST_HEAD(sharing_groups);
|
|||
int check_mount_v2(void)
|
||||
{
|
||||
if (!kdat.has_move_mount_set_group) {
|
||||
pr_warn("Mounts-v2 requires MOVE_MOUNT_SET_GROUP support\n");
|
||||
pr_debug("Mounts-v2 requires MOVE_MOUNT_SET_GROUP support\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!kdat.has_openat2) {
|
||||
pr_warn("Mounts-v2 requires openat2 support\n");
|
||||
pr_debug("Mounts-v2 requires openat2 support\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue