From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1BlA-0003yh-MF for qemu-devel@nongnu.org; Tue, 14 Aug 2012 03:41:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1Bl8-0006eg-45 for qemu-devel@nongnu.org; Tue, 14 Aug 2012 03:41:52 -0400 Received: from mail.stepping-stone.ch ([194.176.109.206]:41626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1Bl7-0006eZ-UE for qemu-devel@nongnu.org; Tue, 14 Aug 2012 03:41:50 -0400 Received: from localhost (janitor-01.int.stepping-stone.ch [10.17.98.12]) by mta-01.int.stepping-stone.ch (Postfix) with ESMTP id B3BFBAFAEA for ; Tue, 14 Aug 2012 09:41:48 +0200 (CEST) Received: from mta-01.int.stepping-stone.ch ([10.17.98.30]) by localhost (janitor-01.int.stepping-stone.ch [10.17.98.12]) (amavisd-new, port 10024) with LMTP id kira0G8Fow3x for ; Tue, 14 Aug 2012 09:41:31 +0200 (CEST) Received: from [192.168.0.103] (xdsl-188-155-33-54.adslplus.ch [188.155.33.54]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mail.stepping-stone.ch (Postfix) with ESMTPSA id 928EDAFAE7 for ; Tue, 14 Aug 2012 09:41:30 +0200 (CEST) Message-ID: <1344930090.9132.29.camel@storm> From: Tiziano =?ISO-8859-1?Q?M=FCller?= Date: Tue, 14 Aug 2012 09:41:30 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Subject: Re: [Qemu-devel] [RFC PATCH 0/4] Live block commit Reply-To: tiziano.mueller@stepping-stone.ch List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi Jeff This is an awesome feature and absolutely necessary to get a working live-snapshot/backup solution. What is the status on this? Will it make it into 1.2.0? Thanks in advance, best regards, Tiziano Am Dienstag, den 31.07.2012, 01:16 -0400 schrieb Jeff Cody: > These are proposed changes, to add live block commit functionality. > > I originally had intended for this RFC series to include the more > complicated case of a live commit of the active layer, but removed > it for this commit in the hopes of making it into the soft feature > freeze for 1.2, so this series is the simpler case. > > This series adds the basic case, of a live commit between two > images below the active layer, e.g.: > > [base] <--- [snp-1] <--- [snp-2] <--- [snp-3] <--- [active] > > can be collapsed down via commit, into: > > [base] <--- [active] > > or, > > [base] <--- [snp-1] <--- [active], > > [base] <--- [snp-3] <--- [active], > > etc.. > > > qemu-io tests for the block commit will be adding onto the v1 patch > set. > > These patches are on top of Supriya's reopen() series, and Paolo's > block mirror series (the RFC series). I have not rebased yet to the > newer patches put out by Supriya and Paolo - this was tested w/o the > reopen, by manually making sure the images stayed in a r/w state. > > > Jeff Cody (4): > block: add support functions for live commit, to find and delete > images. > block: add live block commit functionality > qerror: new errors for live block commit, QERR_TOP_NOT_FOUND > QAPI: add command for live block commit, 'block-commit' > > block.c | 136 ++++++++++++++++++++++++++++++++++- > block.h | 4 ++ > block/Makefile.objs | 2 +- > block/commit.c | 200 +++++++++++++++++++++++++++++++++++++++++++++++++++ > block_int.h | 19 +++++ > blockdev.c | 78 ++++++++++++++++++++ > qapi-schema.json | 33 +++++++++ > qerror.c | 4 ++ > qerror.h | 3 + > qmp-commands.hx | 6 ++ > trace-events | 2 + > 11 files changed, 485 insertions(+), 2 deletions(-) > create mode 100644 block/commit.c > -- stepping stone GmbH Neufeldstrasse 9 CH-3012 Bern Telefon: +41 31 332 53 63 www.stepping-stone.ch tiziano.mueller@stepping-stone.ch