Commit 80492c78 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

restore: More detailed log on shmem restore

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent a03e3622
......@@ -148,13 +148,13 @@ static int shmem_wait_and_open(struct shmem_info *si)
char path[128];
int ret;
cr_wait_until(&si->lock, 1);
sprintf(path, "/proc/%d/map_files/%lx-%lx",
si->real_pid, si->start, si->end);
pr_info("Waiting for [%s] to appear\n", path);
pr_info("%d: Waiting for [%s] to appear\n", getpid(), path);
cr_wait_until(&si->lock, 1);
pr_info("%d: Opening shmem [%s] \n", si->real_pid, path);
ret = open(path, O_RDWR);
if (ret >= 0)
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment