OSDN Git Service

qapi: add BitmapSyncMode enum
authorJohn Snow <jsnow@redhat.com>
Mon, 29 Jul 2019 20:35:52 +0000 (16:35 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 16 Aug 2019 20:28:02 +0000 (16:28 -0400)
commit00a463b1dc73d1665ce6720df4de052aff95acf8
tree8018f0c1fe05c5a1984c102802b03cf58ba5161b
parent920305661473842980b65fca439af2bb69fcec76
qapi: add BitmapSyncMode enum

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.
- ON-SUCCESS: The bitmap is synchronized only on success.

The existing incremental backup modes use 'on-success' semantics,
so add just that one for right now.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 20190709232550.10724-5-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
qapi/block-core.json