block: Fix drive-mirror with image size unaligned with granularity
Status from this message: Applied to my block branch:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mirror: Don't extend the last sub-chunkblock/ tests/ | +37 | 2 replies | |
| 2/3 | iotests: Add iotests.image_sizetests/ | +6 | 1 reply | |
| 3/3 | iotests: Test case for drive-mirror with unaligned image sizetests/ tests/ tests/ | +68 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Max Reitz | Jeff Cody |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | R-b | R-b |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH for-2.6 v3 0/3] block: Fix drive-mirror with image size unaligned with granularity
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
Signature · 1 line
1.8.3.1