Skip to contentSkip to conversation

docs/block-replication.txt: Add more detail about replication_do_checkpoint_all

PATCH In review Zhang Chen 1 participant 3 messages Sep 5, 2018 – Nov 2, 2018

lore
Share & tools
lore

Zhang Chen

author
#0 lore raw

PATCH 1/1 docs/block-replication.txt: Add more detail about replication_do_checkpoint_all

Add more detail description for COLO checkpoint use case. Suggested by Dr. David Alan Gilbert <[email protected]>

---
 docs/block-replication.txt | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
docs/block-replication.txt +4 -3
index 6bde6737fb..b6c5e94764 100644
@@ -131,9 +131,10 @@ a. replication_start_all()
    thread.
 b. replication_do_checkpoint_all()
    This interface is called after all VM state is transferred to
-   Secondary QEMU. The Disk buffer will be dropped in this interface.
-   The caller must hold the I/O mutex lock if it is in migration/checkpoint
-   thread.
+   secondary node, and in primary node this interface no need to
+   called after synchronizing all the states. The Disk buffer will be dropped
+   in this interface. The caller must hold the I/O mutex lock if it is
+   in migration/checkpoint thread.
 c. replication_get_error_all()
    This interface is called to check if error happened in replication.
    The caller must hold the I/O mutex lock if it is in migration/checkpoint
Signature · 1 line
2.17.GIT
author
#1 lore raw

Hi All,

No news update?
Ping...

Thanks
Zhang Chen

Quoted 33 lines · Zhang Chen

Add more detail description for COLO checkpoint use case. Suggested by Dr. David Alan Gilbert <[email protected]>

---
 docs/block-replication.txt | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
docs/block-replication.txt +0 -2
index 6bde6737fb..b6c5e94764 100644
@@ -131,9 +131,10 @@ a. replication_start_all()
    thread.
 b. replication_do_checkpoint_all()
    This interface is called after all VM state is transferred to
-   Secondary QEMU. The Disk buffer will be dropped in this interface.
-   The caller must hold the I/O mutex lock if it is in

migration/checkpoint

docs/block-replication.txt +2 -1
-   thread.
+   secondary node, and in primary node this interface no need to
+   called after synchronizing all the states. The Disk buffer will be

dropped

docs/block-replication.txt +2 -0
+   in this interface. The caller must hold the I/O mutex lock if it is
+   in migration/checkpoint thread.
 c. replication_get_error_all()
    This interface is called to check if error happened in replication.
    The caller must hold the I/O mutex lock if it is in

migration/checkpoint
--
2.17.GIT

author
#2 lore raw

Hi All,

Maybe we have forgot this patch? Ping again.

Related discussion:
https://lists.gnu.org/archive/html/qemu-devel/2018-08/msg03352.html

Thanks
Zhang Chen

Quoted 43 lines · Zhang Chen

Hi All,

No news update?
Ping...

Thanks
Zhang Chen

Quoted 33 lines · Zhang Chen

Add more detail description for COLO checkpoint use case. Suggested by Dr. David Alan Gilbert <[email protected]>

---
 docs/block-replication.txt | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
docs/block-replication.txt +0 -2
index 6bde6737fb..b6c5e94764 100644
@@ -131,9 +131,10 @@ a. replication_start_all()
    thread.
 b. replication_do_checkpoint_all()
    This interface is called after all VM state is transferred to
-   Secondary QEMU. The Disk buffer will be dropped in this interface.
-   The caller must hold the I/O mutex lock if it is in

migration/checkpoint

docs/block-replication.txt +2 -1
-   thread.
+   secondary node, and in primary node this interface no need to
+   called after synchronizing all the states. The Disk buffer will be

dropped

docs/block-replication.txt +2 -0
+   in this interface. The caller must hold the I/O mutex lock if it is
+   in migration/checkpoint thread.
 c. replication_get_error_all()
    This interface is called to check if error happened in replication.
    The caller must hold the I/O mutex lock if it is in

migration/checkpoint
--
2.17.GIT