From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPcEe-00082X-0Z for qemu-devel@nongnu.org; Tue, 19 Jul 2016 17:07:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPcEb-0003Se-Pd for qemu-devel@nongnu.org; Tue, 19 Jul 2016 17:07:22 -0400 Date: Tue, 19 Jul 2016 17:07:14 -0400 From: Jeff Cody Message-ID: <20160719210714.GA15881@localhost.localdomain> References: <1468503209-19498-1-git-send-email-den@openvz.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1468503209-19498-1-git-send-email-den@openvz.org> Subject: Re: [Qemu-devel] [PATCH v3 0/8] drive-mirror improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Denis V. Lunev" Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, Stefan Hajnoczi , Fam Zheng , Kevin Wolf , Max Reitz , Eric Blake On Thu, Jul 14, 2016 at 04:33:21PM +0300, Denis V. Lunev wrote: > This patchset contains patches dealing with known-to-be-zero areas in drive > mirror from [PATCH 0/9] major rework of drive-mirror patchset. > > Changes from v2: > - added mirror_throttle helper (patch 3) to address Eric' comment about > last_time_ns > - comment tweaks (thank you, Eric) > - marked mirror_dirty_init as couroutine_fn > > Changes from v1: > - only patches dealing with zeroes remains > - ported to current HEAD > - fixed issue with dirty-bitmap, int length is changed with int64 > - fixed sectors_in_flight usage > - patch 6 is reworked taken into account bugs found in active mirror > - fixed patch 7 > - direct checking of .bdrv_co_write_zeroes is replaced with > bdrv_can_write_zeroes_with_unmap > - added fixes for bdrv_can_write_zeroes_with_unmap > > Signed-off-by: Denis V. Lunev > CC: Stefan Hajnoczi > CC: Fam Zheng > CC: Kevin Wolf > CC: Max Reitz > CC: Jeff Cody > CC: Eric Blake > > Denis V. Lunev (8): > dirty-bitmap: operate with int64_t amount > mirror: make sectors_in_flight int64_t > mirror: create mirror_throttle helper > mirror: create mirror_dirty_init helper for mirror_run > block: remove extra condition in bdrv_can_write_zeroes_with_unmap > mirror: optimize dirty bitmap filling in mirror_run a bit > mirror: efficiently zero out target > mirror: improve performance of mirroring of empty disk > > block.c | 2 +- > block/dirty-bitmap.c | 6 +- > block/mirror.c | 145 +++++++++++++++++++++++++++++-------------- > include/block/block_int.h | 2 +- > include/block/dirty-bitmap.h | 4 +- > 5 files changed, 106 insertions(+), 53 deletions(-) > > -- > 2.5.0 > Thanks, Applied to my block branch: git://github.com/codyprime/qemu-kvm-jtc.git block -Jeff