[CRIU] [PATCH 1/3] dump: Unlock network if -R option passed

Cyrill Gorcunov gorcunov at openvz.org
Thu Oct 31 13:50:47 PDT 2013


It's been found that if -R (leave task running after checkpoint)
option passed we don't unlock network, nether we clean service
files (such as link remaps).

After a long discussion we choose the following path: if -R option
is passed, it means a user is quite confident in what he is doing
and consistency of the resources (file system) is achieved by
a user himself with help of post-dump script. Also a user knows
that the network will be unlocked and accept such case.

So here we check of -R being passed in command line and once
checkpoint complete we unlock the network.

Cleaning up of link remaps is addressed in another patch.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-dump.c | 25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dump-Unlock-network-if-R-option-passed.patch
Type: text/x-patch
Size: 1426 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20131101/d00dde7f/attachment.bin>


More information about the CRIU mailing list