From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNRuH-0007BE-6G for qemu-devel@nongnu.org; Mon, 16 Feb 2015 15:04:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNRuC-0000Wo-42 for qemu-devel@nongnu.org; Mon, 16 Feb 2015 15:04:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNRuB-0000WZ-O1 for qemu-devel@nongnu.org; Mon, 16 Feb 2015 15:04:31 -0500 Message-ID: <54E24D4C.3050706@redhat.com> Date: Mon, 16 Feb 2015 15:04:28 -0500 From: Max Reitz MIME-Version: 1.0 References: <1423865338-8576-1-git-send-email-jsnow@redhat.com> <1423865338-8576-9-git-send-email-jsnow@redhat.com> In-Reply-To: <1423865338-8576-9-git-send-email-jsnow@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v13 08/17] qmp: Add support of "dirty-bitmap" sync mode for drive-backup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow , qemu-devel@nongnu.org Cc: kwolf@redhat.com, famz@redhat.com, armbru@redhat.com, vsementsov@parallels.com, stefanha@redhat.com On 2015-02-13 at 17:08, John Snow wrote: > For "dirty-bitmap" sync mode, the block job will iterate through the > given dirty bitmap to decide if a sector needs backup (backup all the > dirty clusters and skip clean ones), just as allocation conditions of > "top" sync mode. > > Signed-off-by: Fam Zheng > Signed-off-by: John Snow > --- > block.c | 9 +++ > block/backup.c | 149 +++++++++++++++++++++++++++++++++++++++------- > block/mirror.c | 4 ++ > blockdev.c | 18 +++++- > hmp.c | 3 +- > include/block/block.h | 1 + > include/block/block_int.h | 2 + > qapi/block-core.json | 13 ++-- > qmp-commands.hx | 7 ++- > 9 files changed, 172 insertions(+), 34 deletions(-) Reviewed-by: Max Reitz