[CRIU] [PATCH] files: Add comments about FLE_* stages
Kirill Tkhai
ktkhai at virtuozzo.com
Wed Jul 12 20:30:26 MSK 2017
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
criu/include/files.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/criu/include/files.h b/criu/include/files.h
index 22d5bc8c8..718677a7e 100644
--- a/criu/include/files.h
+++ b/criu/include/files.h
@@ -67,7 +67,16 @@ struct file_desc;
enum {
FLE_INITIALIZED,
+ /*
+ * FLE is open (via open() or socket() or etc syscalls), and
+ * common file setting are set up (type-specific are not yet).
+ * Most possible, the master was already served out.
+ */
FLE_OPEN,
+ /*
+ * File-type specific settings and preparations are finished,
+ * and FLE is completely restored.
+ */
FLE_RESTORED,
};
More information about the CRIU
mailing list