[CRIU] [PATCH 00/11] v2 p.haul: implement migration in so-called restart mode

Nikita Spiridonov nspiridonov at virtuozzo.com
Mon Mar 21 09:35:15 PDT 2016


v1
Implement so-called revive migration mode which migrate fs to target
host iteratively while possible, stop process tree on source host
and start it on target host. C/r not used in this mode.
Not sure about "revive" name, better suggestions are welcome

v2
rename "revive" mode to "restart"

Nikita Spiridonov (11):
  p.haul: rename some functions of phaul_iter_worker to make it private
  p.haul: move memory tracking support detection to separate function
  p.haul: fix memory tracking support detection
  p.haul: move predump creation to separate function
  p.haul: minor fixes in few log messages
  p.haul: rework iters.start_migration function
  p.haul: introduce migration mode conception
  p.haul: add start and stop functions to htype
  p.haul: add restart_stats needed for migration in restart mode
  p.haul: consolidate iterations management constants
  p.haul: implement migration in so-called restart mode

 p.haul                 |    2 +-
 phaul/args_parser.py   |    2 +
 phaul/criu_api.py      |    2 +-
 phaul/criu_cr.py       |    9 ++
 phaul/iters.py         |  323 +++++++++++++++++++++++++++++++-----------------
 phaul/mstats.py        |  116 +++++++++++------
 phaul/p_haul_docker.py |    6 +
 phaul/p_haul_lxc.py    |   12 ++-
 phaul/p_haul_pid.py    |    6 +
 phaul/p_haul_vz.py     |   26 ++++-
 phaul/service.py       |   35 ++++--
 11 files changed, 371 insertions(+), 168 deletions(-)



More information about the CRIU mailing list