From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1astb5-0006QX-NX for qemu-devel@nongnu.org; Wed, 20 Apr 2016 10:59:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1astb4-0000YQ-NE for qemu-devel@nongnu.org; Wed, 20 Apr 2016 10:59:19 -0400 Date: Wed, 20 Apr 2016 10:59:09 -0400 From: Jeff Cody Message-ID: <20160420145909.GE1109@localhost.localdomain> References: <1461162766-907-1-git-send-email-kwolf@redhat.com> <20160420145104.GD1109@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160420145104.GD1109@localhost.localdomain> Subject: Re: [Qemu-devel] [PATCH for-2.6 v3 0/3] block: Fix drive-mirror with image size unaligned with granularity List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-block@nongnu.org, famz@redhat.com, mreitz@redhat.com, qemu-devel@nongnu.org On Wed, Apr 20, 2016 at 10:51:04AM -0400, Jeff Cody wrote: > On Wed, Apr 20, 2016 at 04:32:43PM +0200, Kevin Wolf wrote: > > Taking over Fam's series as we're late for -rc3. Original cover letter: > > > > This fixes the bug introduced in e5b43573e28 and lately noticed by Kevin. > > > > v2: Move the mirror_clip_sectors() to mirror_iteration. [Max] > > v3: Fix nb_clusters calculation and add a test case for it [Kevin] > > > > Fam Zheng (3): > > mirror: Don't extend the last sub-chunk > > iotests: Add iotests.image_size > > iotests: Test case for drive-mirror with unaligned image size > > > > block/mirror.c | 19 ++++++++++--- > > tests/qemu-iotests/109.out | 44 +++++++++++++++--------------- > > tests/qemu-iotests/152 | 62 +++++++++++++++++++++++++++++++++++++++++++ > > tests/qemu-iotests/152.out | 5 ++++ > > tests/qemu-iotests/group | 1 + > > tests/qemu-iotests/iotests.py | 6 +++++ > > 6 files changed, 111 insertions(+), 26 deletions(-) > > create mode 100644 tests/qemu-iotests/152 > > create mode 100644 tests/qemu-iotests/152.out > > > > -- > > 1.8.3.1 > > > > Thanks, > > Applied to my block branch: > > git://github.com/codyprime/qemu-kvm-jtc.git block > Per IRC discussion: Since Kevin already has a pull request queued up and ready to go with this series, that will be the faster path. De-queuing this from my branch, and Kevin will issue the pull request through his.