[CRIU] [PATCH 2/2] mount: Verify for external shared mount

Cyrill Gorcunov gorcunov at openvz.org
Tue Jun 4 02:44:26 EDT 2013


If we meet shared mount point without share master belonging
to us -- it means we might fail on restore, thus require both
master/slave mount peers to be collected on dump.

In other words, the output will be like

 | (00.077025) Error (mount.c:421): Mount 49 (master_id: 2 shared_id: 0) has unreachable sharing
 | (00.077123) Error (mount.c:472): Can't proceed 4237's mountinfo
 | (00.077865) Error (namespaces.c:442): Namespaces dumping finished with error 65280

https://bugzilla.openvz.org/show_bug.cgi?id=2608

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 mount.c | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-mount-Verify-for-external-shared-mount.patch
Type: text/x-patch
Size: 1229 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130604/238ed381/attachment.bin>


More information about the CRIU mailing list