Skip to content

Fix block regressions, add blkdebug tests

Eric Blake qemu-devel 1 version Applied

Status from this message: Thanks, applied patches 2-5 to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest8 of 9 patches 33 repliesApplied

8 of 9 patches are in this archive. The cover letter announces 9.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/9nbd: Allow unmap and fua during write zeroesblock/nbd-client.c+4 -03 replies
2/9qcow2: Inform block layer about discard boundariesblock/qcow2.c+1 -01 reply
4/9block: Return -ENOTSUP rather than assert on unaligned discardsblock/iscsi.c block/qcow2.c block/sheepdog.c+11 -32 replies
5/9block: Pass unaligned discard requests to driversblock/io.c+32 -1310 replies
6/9blkdebug: Sanity check block layer guaranteesblock/blkdebug.c+18 -01 reply
7/9blkdebug: Add pass-through write_zero and discard supportblock/blkdebug.c+61 -04 replies
8/9blkdebug: Add ability to override unmap geometriesblock/blkdebug.c qapi/block-core.json+121 -33 replies
9/9tests: Add coverage for recent block geometry fixestests/qemu-iotests/173 tests/qemu-iotests/173.out tests/qemu-iotests/group+165 -08 replies

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMax Reitz
SeriesR-b
1/9R-b
2/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 for-2.8* 0/9] Fix block regressions, add blkdebug tests

The first 5 patches are candidates for inclusion in 2.8, since they fix regressions and/or bugs exposed by the second half. The last 4 patches are a new feature in blkdebug, and as such, probably belong better in 2.9. However, I wrote the patches by swapping the order (last four patches first, and proving that the new iotest fails, then the first five patches fix the failures), which should give us some better assurance that the first half is safe for inclusion during hard freeze.

Patches 3-5 have been on the list previously (hence calling this series v2), although as two separate threads; patch 5 has been improved since its last posting. Patches 1-2 and 6-9 are new.

Eric Blake (9):
nbd: Allow unmap and fua during write zeroes
qcow2: Inform block layer about discard boundaries
block: Let write zeroes fallback work even with small max_transfer
block: Return -ENOTSUP rather than assert on unaligned discards
block: Pass unaligned discard requests to drivers
blkdebug: Sanity check block layer guarantees
blkdebug: Add pass-through write_zero and discard support
blkdebug: Add ability to override unmap geometries
tests: Add coverage for recent block geometry fixes

 qapi/block-core.json       |  27 ++++++-
 block/blkdebug.c           | 176 ++++++++++++++++++++++++++++++++++++++++++++-
 block/io.c                 |  58 ++++++++++-----
 block/iscsi.c              |   4 +-
 block/nbd-client.c         |   4 ++
 block/qcow2.c              |   6 ++
 block/sheepdog.c           |   5 +-
 tests/qemu-iotests/173     | 115 +++++++++++++++++++++++++++++
 tests/qemu-iotests/173.out |  49 +++++++++++++
 tests/qemu-iotests/group   |   1 +
 10 files changed, 421 insertions(+), 24 deletions(-)
 create mode 100755 tests/qemu-iotests/173
 create mode 100644 tests/qemu-iotests/173.out
Signature · 1 line
2.7.4