On Mon, Dec 05, 2016 at 04:35:01PM +0800, zhanghailiang wrote: > The helper backup_do_checkpoint() will be used for primary related > codes. Here we split it out from secondary_do_checkpoint(). > > Besides, it is unnecessary to call backup_do_checkpoint() in > replication starting and normally stop replication path. > We only need call it while do real checkpointing. > > Signed-off-by: zhanghailiang <zhang.zhanghaili...@huawei.com> > --- > block/replication.c | 36 +++++++++++++++++++----------------- > 1 file changed, 19 insertions(+), 17 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature