Fix block regressions, add blkdebug tests
Status from this message: Thanks, applied patches 2-5 to the block branch.
Get series with b4
b4 am [email protected]Versions newest first
8 of 9 patches are in this archive. The cover letter announces 9.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | nbd: Allow unmap and fua during write zeroesblock/ | +4 | 3 replies | |
| 2/9 | qcow2: Inform block layer about discard boundariesblock/ | +1 | 1 reply | |
| 4/9 | block: Return -ENOTSUP rather than assert on unaligned discardsblock/ block/ block/ | +11 | 2 replies | |
| 5/9 | block: Pass unaligned discard requests to driversblock/ | +32 | 10 replies | |
| 6/9 | blkdebug: Sanity check block layer guaranteesblock/ | +18 | 1 reply | |
| 7/9 | blkdebug: Add pass-through write_zero and discard supportblock/ | +61 | 4 replies | |
| 8/9 | blkdebug: Add ability to override unmap geometriesblock/ qapi/ | +121 | 3 replies | |
| 9/9 | tests: Add coverage for recent block geometry fixestests/ tests/ tests/ | +165 | 8 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.
| Patch | Max Reitz |
|---|---|
| Series | R-b |
| 1/9 | R-b |
| 2/9 | R-b |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | R-b |
| 7/9 | R-b |
| 8/9 | |
| 9/9 | 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 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