Skip to content

add blkdebug tests

Eric Blake qemu-devel 9 versions – Applied

Status from this message: Thanks, applied to my block branch:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v11 Latest9 patches 10 repliesApplied
  2. v1017 patches 22 repliesSuperseded
  3. v913 patches 11 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v83 patches1 replySuperseded
v73 patches5 repliesSuperseded
v610 patches9 repliesSuperseded
v57 patches7 repliesSuperseded
v47 patches11 repliesSuperseded
v35 patches20 repliesSuperseded

Patches in v11 Applied

#Subject and filesSizeRepliesApplied
1/9qemu-io: Improve alignment checksqemu-io-cmds.c+10 -102 replies
2/9qemu-io: Switch 'alloc' command to byte-based lengthqemu-io-cmds.c tests/qemu-iotests/019.out tests/qemu-iotests/common.pattern+23 -171 reply
3/9qemu-io: Switch 'map' output to byte-based reportingqemu-io-cmds.c tests/qemu-iotests/102.out tests/qemu-iotests/146.out+23 -221 reply
4/9blkdebug: Sanity check block layer guaranteesblock/blkdebug.c+14 -00 replies
5/9blkdebug: Refactor error injectionblock/blkdebug.c+33 -410 replies
6/9blkdebug: Add pass-through write_zero and discard supportblock/blkdebug.c+74 -00 replies
7/9blkdebug: Simplify override logicblock/blkdebug.c+6 -103 replies
8/9blkdebug: Add ability to override unmap geometriesblock/blkdebug.c qapi/block-core.json+125 -40 replies
9/9tests: Add coverage for recent block geometry fixestests/qemu-iotests/177 tests/qemu-iotests/177.out tests/qemu-iotests/group+164 -02 replies

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by.

PatchKevin WolfMax ReitzPhilippe Mathieu-Daudé
1/9R-b R-b
2/9R-b
3/9Reviwed-by
4/9R-b R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v11 thread

Cover letter [Qemu-devel] [PATCH v11 0/9] add blkdebug tests

Available as a tag at:
git fetch git://repo.or.cz/qemu/ericb.git nbd-blkdebug-v11

Prerequisites: Kevin's block pull request:
https://lists.gnu.org/archive/html/qemu-devel/2017-04/msg05799.html

v10 was:
https://lists.gnu.org/archive/html/qemu-devel/2017-04/msg05227.html

Since then:
- Rebase to Kevin's block branch (patches 7, 8)
- Split series in two - this focuses on just the (relatively stable) blkdebug enhancements (v10 6-8, 12-17), and saves the qcow2 fixes (v10 1-5, 9-11) for another day [Max]
- further tweaks to the qemu-io alloc/map commands (patch 1 retitled, also affecting patch 2-3)

001/9:[down] 'qemu-io: Improve alignment checks'
002/9:[0022] [FC] 'qemu-io: Switch 'alloc' command to byte-based length' 003/9:[0066] [FC] 'qemu-io: Switch 'map' output to byte-based reporting' 004/9:[----] [--] 'blkdebug: Sanity check block layer guarantees' 005/9:[----] [--] 'blkdebug: Refactor error injection' 006/9:[----] [--] 'blkdebug: Add pass-through write_zero and discard support' 007/9:[0004] [FC] 'blkdebug: Simplify override logic' 008/9:[0010] [FC] 'blkdebug: Add ability to override unmap geometries' 009/9:[----] [-C] 'tests: Add coverage for recent block geometry fixes'

Eric Blake (9):
qemu-io: Improve alignment checks
qemu-io: Switch 'alloc' command to byte-based length
qemu-io: Switch 'map' output to byte-based reporting
blkdebug: Sanity check block layer guarantees
blkdebug: Refactor error injection
blkdebug: Add pass-through write_zero and discard support
blkdebug: Simplify override logic
blkdebug: Add ability to override unmap geometries
tests: Add coverage for recent block geometry fixes

 qapi/block-core.json              |  33 ++++-
 block/blkdebug.c                  | 266 +++++++++++++++++++++++++++++++-------
 qemu-io-cmds.c                    |  61 +++++----
 tests/qemu-iotests/019.out        |   8 +-
 tests/qemu-iotests/102.out        |   4 +-
 tests/qemu-iotests/146.out        |  30 ++---
 tests/qemu-iotests/177            | 114 ++++++++++++++++
 tests/qemu-iotests/177.out        |  49 +++++++
 tests/qemu-iotests/common.pattern |   2 +-
 tests/qemu-iotests/group          |   1 +
 10 files changed, 468 insertions(+), 100 deletions(-)
 create mode 100755 tests/qemu-iotests/177
 create mode 100644 tests/qemu-iotests/177.out
Signature · 1 line
2.9.3