From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yaxde-0003aq-TK for qemu-devel@nongnu.org; Wed, 25 Mar 2015 22:35:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yaxdb-0006d0-Mf for qemu-devel@nongnu.org; Wed, 25 Mar 2015 22:35:18 -0400 Message-ID: <55137050.3030602@huawei.com> Date: Thu, 26 Mar 2015 10:34:56 +0800 From: Gonglei MIME-Version: 1.0 References: <1427276174-9130-1-git-send-email-wency@cn.fujitsu.com> <20150325142436.GG2313@work-vm> In-Reply-To: <20150325142436.GG2313@work-vm> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH COLO v2 00/13] Block replication for continuous checkpoints List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert" , Wen Congyang Cc: Kevin Wolf , Fam Zheng , Lai Jiangshan , qemu block , Jiang Yunhong , Dong Eddie , qemu devel , Max Reitz , Stefan Hajnoczi , Paolo Bonzini , Yang Hongyang On 2015/3/25 22:24, Dr. David Alan Gilbert wrote: > * Wen Congyang (wency@cn.fujitsu.com) wrote: >> Block replication is a very important feature which is used for >> continuous checkpoints(for example: COLO). >> >> Usage: >> Please refer to docs/block-replication.txt >> >> You can get the patch here: >> https://github.com/wencongyang/qemu-colo/commits/block-replication-v2 > > Do you have a branch with this code on top of the main colo work? > A new version of main COLO framework bases on this block patch series will be posted soon. :) Regards, -Gonglei > Dave > >> >> Changs Log: >> V2: >> 1. Redesign the secondary qemu(use image-fleecing) >> 2. Use Error objects to return error message >> 3. Address the comments from Max Reitz and Eric Blake >> >> Wen Congyang (13): >> docs: block replication's description >> quorum: allow ignoring child errors >> NBD client: connect to nbd server later >> Add new block driver interfaces to control block replication >> quorum: implement block driver interfaces for block replication >> NBD client: implement block driver interfaces for block replication >> allow writing to the backing file >> Allow creating backup jobs when opening BDS >> block: Parse "backing_reference" option to reference existing BDS >> Backup: clear all bitmap when doing block checkpoint >> qcow2: support colo >> skip nbd_target when starting block replication >> Don't allow a disk use backing reference target >> >> block.c | 242 +++++++++++++++++++++++- >> block/Makefile.objs | 2 +- >> block/backup.c | 12 ++ >> block/nbd.c | 171 +++++++++++++++-- >> block/qcow2.c | 447 ++++++++++++++++++++++++++++++++++++++++++++- >> block/qcow2.h | 6 + >> block/quorum.c | 143 ++++++++++++++- >> docs/block-replication.txt | 147 +++++++++++++++ >> include/block/block.h | 5 + >> include/block/block_int.h | 13 ++ >> include/qemu/hbitmap.h | 8 + >> qapi/block.json | 16 ++ >> tests/qemu-iotests/051 | 13 ++ >> tests/qemu-iotests/051.out | 13 ++ >> util/hbitmap.c | 19 ++ >> 15 files changed, 1230 insertions(+), 27 deletions(-) >> create mode 100644 docs/block-replication.txt >> >> -- >> 2.1.0 >> > -- > Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK >