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