[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH 01/12] qapi: add BitmapSyncMode enum
From: |
John Snow |
Subject: |
[Qemu-block] [PATCH 01/12] qapi: add BitmapSyncMode enum |
Date: |
Wed, 19 Jun 2019 21:03:45 -0400 |
Depending on what a user is trying to accomplish, there might be a few
bitmap cleanup actions that occur when an operation is finished that
could be useful.
I am proposing three:
- NEVER: The bitmap is never synchronized against what was copied.
- ALWAYS: The bitmap is always synchronized, even on failures.
- CONDITIONAL: The bitmap is synchronized only on success.
The existing incremental backup modes use 'conditional' semantics,
so add just that one for right now.
Signed-off-by: John Snow <address@hidden>
---
qapi/block-core.json | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 0d43d4f37c..caf28a71a0 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1134,6 +1134,20 @@
{ 'enum': 'MirrorSyncMode',
'data': ['top', 'full', 'none', 'incremental'] }
+##
+# @BitmapSyncMode:
+#
+# An enumeration of possible behaviors for the synchronization of a bitmap
+# when used for data copy operations.
+#
+# @conditional: The bitmap is only synchronized when the operation is
successul.
+# This is useful for Incremental semantics.
+#
+# Since: 4.1
+##
+{ 'enum': 'BitmapSyncMode',
+ 'data': ['conditional'] }
+
##
# @MirrorCopyMode:
#
--
2.21.0
- [Qemu-block] [PATCH 10/12] iotests: teach FilePath to produce multiple paths, (continued)
[Qemu-block] [PATCH 04/12] hbitmap: Fix merge when b is empty, and result is not an alias of a, John Snow, 2019/06/19
[Qemu-block] [PATCH 01/12] qapi: add BitmapSyncMode enum,
John Snow <=
[Qemu-block] [PATCH 02/12] block/backup: Add mirror sync mode 'bitmap', John Snow, 2019/06/19
Re: [Qemu-block] [PATCH 02/12] block/backup: Add mirror sync mode 'bitmap', Vladimir Sementsov-Ogievskiy, 2019/06/21
[Qemu-block] [PATCH 08/12] iotests: add testing shim for script-style python tests, John Snow, 2019/06/19