[CRIU] [PATCH 00/11] Initial support of shared descriptor tables (v6)

Andrey Vagin avagin at openvz.org
Fri Jan 11 09:16:16 EST 2013


Currently crtools supports a case when childen are shared fd table
with parent.

v2: cosmetic fixes according with Pavel's comments
v3: don't move ids from core to pstree
v4: save fdinfo per id instead of pid
    save ids in a separate image file
v5: rework service fd name-spaces one more time

Andrey Vagin (11):
  zdtm: test shared file tables
  mntns: close_proc before clean up mounts
  util: clone service descriptors, if fd tables are shared for tasks
    (v3)
  crtools: add ability to create and close a service fd (v3)
  crtools: put kobj-ids into separate image file (v2)
  dump: save ids on pstree_item
  pstree: allocate fdt shared data
  files: close_old_fds before forking children (v2)
  files: dump fdinfo per files_id instead of pid
  restore: restore pocesses which share one fdtable (v4)
  zdtm.sh: add fdt_shared to the list

 cr-dump.c                          |  92 +++++++++++++-------
 cr-restore.c                       |  22 ++++-
 cr-show.c                          |   5 ++
 files.c                            |  53 +++++++++---
 image.c                            |  31 +++----
 include/crtools.h                  |  21 ++++-
 include/files.h                    |   3 +-
 include/image.h                    |   3 +
 include/protobuf.h                 |   1 +
 include/pstree.h                   |  10 +++
 log.c                              |  59 ++++---------
 mount.c                            |   2 +
 protobuf.c                         |   1 +
 protobuf/inventory.proto           |   1 +
 pstree.c                           |  49 ++++++++++-
 test/zdtm.sh                       |   1 +
 test/zdtm/live/static/Makefile     |   1 +
 test/zdtm/live/static/fdt_shared.c | 170 +++++++++++++++++++++++++++++++++++++
 tty.c                              |   8 +-
 util.c                             | 114 ++++++++++++++++++-------
 20 files changed, 501 insertions(+), 146 deletions(-)
 create mode 100644 test/zdtm/live/static/fdt_shared.c

--
1.7.11.7



More information about the CRIU mailing list