[CRIU] Re: [PATCH v2] dump: wait task stopped for 1 sec

Cyrill Gorcunov gorcunov at openvz.org
Tue Jan 31 08:21:35 EST 2012


On Tue, Jan 31, 2012 at 04:57:54PM +0400, Kinsbursky Stanislav wrote:
> 31.01.2012 16:46, Cyrill Gorcunov пишет:
> >On Tue, Jan 31, 2012 at 03:43:39PM +0300, Kinsbursky Stanislav wrote:
> >>From: Stanislav Kinsbursky<skinsbursky at parallels.com>
> >>
> >>Wait for 1 sec in case of task is not stopped to dump stage and check it's
> >>state once more.
> >>Should help against this error:
> >>
> >>Obtainting task stat ... Error (cr-dump.c:1213): Task in bad state: R
> >>
> >>Signed-off-by: Stanislav Kinsbursky<skinsbursky at parallels.com>
> >>
> >>---
> >So with this patch the problem gone?
> >
> >	Cyrill
> 
> Yup.
> 

So the kernel seize the task but might not reflect the state
changed int procfs I think. Should be this mantioned in commit log?

	Cyrill


More information about the CRIU mailing list