[CRIU] Dumping a restored apache process

Cyrill Gorcunov gorcunov at gmail.com
Wed Apr 16 13:43:24 PDT 2014


On Wed, Apr 16, 2014 at 09:24:44PM +0400, Cyrill Gorcunov wrote:
> > 
> > Here is the complete dump log.
> > 
> > This time I hit the error on the third dump.
> > 
Deyan, could you please apply the patch attached and show the failing
dump log? It's pretty weird that we have new file id generated.
-------------- next part --------------
diff --git a/files.c b/files.c
index 4c2a9b449ab9..c70bca22a60b 100644
--- a/files.c
+++ b/files.c
@@ -172,6 +172,8 @@ int do_dump_gen_file(struct fd_parms *p, int lfd,
 	e.flags = p->fd_flags;
 
 	ret = fd_id_generate(p->pid, &e, &p->stat);
+	pr_debug("fd_id_generate: ret = %d id %d fd: %d (st_dev %u st_ino %u pos %u)\n",
+		 ret, e.id, p->fd, (u32)p->stat.st_dev, (u32)p->stat.st_ino, (u32)p->pos);
 	if (ret == 1) /* new ID generated */
 		ret = ops->dump(lfd, e.id, p);
 


More information about the CRIU mailing list