From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asiC3-0007Fo-6D for qemu-devel@nongnu.org; Tue, 19 Apr 2016 22:48:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asiC2-0003GE-1J for qemu-devel@nongnu.org; Tue, 19 Apr 2016 22:48:43 -0400 From: Fam Zheng Date: Wed, 20 Apr 2016 10:48:33 +0800 Message-Id: <1461120516-14569-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH for-2.6 v2 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: qemu-devel@nongnu.org Cc: Jeff Cody , Kevin Wolf , Max Reitz , qemu-block@nongnu.org v2: Move the mirror_clip_sectors() to mirror_iteration. [Max] This fixes the bug introduced in e5b43573e28 and lately noticed by 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 | 15 +++++++++++-- tests/qemu-iotests/109.out | 44 ++++++++++++++++++------------------- tests/qemu-iotests/152 | 51 +++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/152.out | 5 +++++ tests/qemu-iotests/group | 1 + tests/qemu-iotests/iotests.py | 6 +++++ 6 files changed, 98 insertions(+), 24 deletions(-) create mode 100644 tests/qemu-iotests/152 create mode 100644 tests/qemu-iotests/152.out -- 2.5.5