[CRIU] [PATCH 0/2] Don't kill Jenkins

Andrey Vagin avagin at openvz.org
Fri Aug 16 10:46:54 EDT 2013


If processes are restored in a current pidns, criu knows pid-s from images
but a part of them can be busy by external processes.

CR_STATE_RESTORE_NS and CR_STATE_FORKING can be blocked only the
task_entries->start futex. This patch is added a new stage
CR_STATE_FAIL, which signs that something wrong and all processes must
exit.

Andrey Vagin (2):
  restore: remove restore_one_fake, which duplicates the code
  restore: do not kill processes if not-all of them have been created

 cr-restore.c       | 40 +++++++++++++++++++++-------------------
 include/restorer.h |  8 +++++---
 2 files changed, 26 insertions(+), 22 deletions(-)

-- 
1.8.3.1



More information about the CRIU mailing list