@@ -112,26 +112,30 @@ enum storage_file_open_flag {
112112
113113/**
114114 * enum storage_msg_flag - protocol-level flags in struct storage_msg
115- * @STORAGE_MSG_FLAG_BATCH: if set, command belongs to a batch transaction.
116- * No response will be sent by the server until
117- * it receives a command with this flag unset, at
118- * which point a cummulative result for all messages
119- * sent with STORAGE_MSG_FLAG_BATCH will be sent.
120- * This is only supported by the non-secure disk proxy
121- * server.
122- * @STORAGE_MSG_FLAG_PRE_COMMIT: if set, indicates that server need to commit
123- * pending changes before processing this message.
124- * @STORAGE_MSG_FLAG_POST_COMMIT: if set, indicates that server need to commit
125- * pending changes after processing this message.
126- * @STORAGE_MSG_FLAG_TRANSACT_COMPLETE: if set, indicates that server need to commit
127- * current transaction after processing this message.
128- * It is an alias for STORAGE_MSG_FLAG_POST_COMMIT.
115+ * @STORAGE_MSG_FLAG_BATCH: if set, command belongs to a batch transaction.
116+ * No response will be sent by the server until
117+ * it receives a command with this flag unset, at
118+ * which point a cumulative result for all messages
119+ * sent with STORAGE_MSG_FLAG_BATCH will be sent.
120+ * This is only supported by the non-secure disk proxy
121+ * server.
122+ * @STORAGE_MSG_FLAG_PRE_COMMIT: if set, indicates that server need to commit
123+ * pending changes before processing this message.
124+ * @STORAGE_MSG_FLAG_POST_COMMIT: if set, indicates that server need to commit
125+ * pending changes after processing this message.
126+ * @STORAGE_MSG_FLAG_TRANSACT_COMPLETE: if set, indicates that server need to commit
127+ * current transaction after processing this message.
128+ * It is an alias for STORAGE_MSG_FLAG_POST_COMMIT.
129+ * @STORAGE_MSG_FLAG_PRE_COMMIT_CHECKPOINT: if set, indicates that server needs to ensure
130+ * that there is not a pending checkpoint for
131+ * userdata before processing this message.
129132 */
130133enum storage_msg_flag {
131- STORAGE_MSG_FLAG_BATCH = 0x1 ,
132- STORAGE_MSG_FLAG_PRE_COMMIT = 0x2 ,
133- STORAGE_MSG_FLAG_POST_COMMIT = 0x4 ,
134- STORAGE_MSG_FLAG_TRANSACT_COMPLETE = STORAGE_MSG_FLAG_POST_COMMIT ,
134+ STORAGE_MSG_FLAG_BATCH = 0x1 ,
135+ STORAGE_MSG_FLAG_PRE_COMMIT = 0x2 ,
136+ STORAGE_MSG_FLAG_POST_COMMIT = 0x4 ,
137+ STORAGE_MSG_FLAG_TRANSACT_COMPLETE = STORAGE_MSG_FLAG_POST_COMMIT ,
138+ STORAGE_MSG_FLAG_PRE_COMMIT_CHECKPOINT = 0x8 ,
135139};
136140
137141/*
0 commit comments