[CRIU] [PATCH 0/2] C/R of mandatory mountpoints
Dmitry Safonov
dsafonov at virtuozzo.com
Tue Jul 12 07:51:28 PDT 2016
Support mandatory mounted mountpoints with excluseive locks.
The patches set dumps content of mountpoint by remounting without
`mand` option (when tree is freezed).
So, the only possible mess is when _out of tree process_ will try
to access file on dumping stage. But, I guess, that's what
one can expect with --file-locks option.
https://jira.sw.ru/browse/PSBM-41363
Dmitry Safonov (2):
mount: support mandatory locked mountpoints
test: add mandatory-lock test
criu/mount.c | 130 +++++++++++++++++++++++++++++++++++--
criu/proc_parse.c | 2 +-
test/zdtm/.gitignore | 1 +
test/zdtm/static/Makefile | 3 +-
test/zdtm/static/file_locks06.c | 110 +++++++++++++++++++++++++++++++
test/zdtm/static/file_locks06.desc | 1 +
test/zdtm/static/file_locks06.opts | 1 +
7 files changed, 242 insertions(+), 6 deletions(-)
create mode 100644 test/zdtm/static/file_locks06.c
create mode 100644 test/zdtm/static/file_locks06.desc
create mode 100644 test/zdtm/static/file_locks06.opts
--
2.9.0
More information about the CRIU
mailing list