From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvWq8-0006qZ-FQ for qemu-devel@nongnu.org; Wed, 16 Jan 2013 12:31:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvWq7-0000wd-Ae for qemu-devel@nongnu.org; Wed, 16 Jan 2013 12:31:52 -0500 Received: from mail-ia0-x234.google.com ([2607:f8b0:4001:c02::234]:63826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvWq7-0000wZ-6S for qemu-devel@nongnu.org; Wed, 16 Jan 2013 12:31:51 -0500 Received: by mail-ia0-f180.google.com with SMTP id f27so183293iae.39 for ; Wed, 16 Jan 2013 09:31:50 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Wed, 16 Jan 2013 18:31:07 +0100 Message-Id: <1358357479-7912-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v2 00/12] Drive mirroring performance improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@redhat.com The fixes from the previous post are: 1) the in_flight_bitmap is now properly set and cleared [Stefan]; 2) persistent dirty bitmap left out [Stefan]; 3) reordered arguments in qmp-command.hx to follow patch order [Stefan]; 4) tests/qemu-iotests/041.out is regenerated; 5) rebased for moved include files and for the discard series Thanks! Paolo Paolo Bonzini (12): host-utils: add ffsl add hierarchical bitmap data type and test cases block: implement dirty bitmap using HBitmap block: make round_to_clusters public mirror: perform COW if the cluster size is bigger than the granularity block: return count of dirty sectors, not chunks block: allow customizing the granularity of the dirty bitmap mirror: allow customizing the granularity mirror: switch mirror_iteration to AIO mirror: add buf-size argument to drive-mirror mirror: support more than one in-flight AIO operation mirror: support arbitrarily-sized iterations block-migration.c | 7 +- block.c | 124 ++++---------- block/mirror.c | 381 ++++++++++++++++++++++++++++++++++------- blockdev.c | 37 +++-- hmp.c | 2 +- include/block/block.h | 11 +- include/block/block_int.h | 10 +- include/qemu/hbitmap.h | 207 ++++++++++++++++++++++ include/qemu/host-utils.h | 26 +++ qapi-schema.json | 15 ++- qmp-commands.hx | 10 +- tests/Makefile | 3 + tests/qemu-iotests/041 | 52 ++++++ tests/qemu-iotests/041.out | 4 +- tests/test-hbitmap.c | 408 ++++++++++++++++++++++++++++++++++++++++++++ trace-events | 12 ++ util/Makefile.objs | 2 +- util/hbitmap.c | 400 +++++++++++++++++++++++++++++++++++++++++++ 18 files changed, 1527 insertions(+), 184 deletions(-) create mode 100644 include/qemu/hbitmap.h create mode 100644 tests/test-hbitmap.c create mode 100644 util/hbitmap.c