blktests: Add ublk testcases
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 3 repliesApplied
- v22 patches 7 repliesSuperseded
- v12 patches 4 repliesSuperseded
Changes in v3 from the cover letter
- run "make check" to avoid warnings
- cleanup code
- just choose ext4 to make ublk/003 more reliable
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | src/miniublk: add user recoverysrc/ | +254 | 1 reply | |
| 2/2 | tests: Add ublk testscommon/ tests/ tests/ +11 more | +406 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ming Lei |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V3 blktests 0/2] blktests: Add ublk testcases
Hi,
ublk can passthrough I/O requests to userspce daemons. It is very important to test ublk crash handling since the userspace part is not reliable. Especially we should test removing device, killing ublk daemons and user recovery feature.
The first patch add user recovery support in miniublk.
The second patch add five new tests for ublk to cover above cases.
V3:
- run "make check" to avoid warnings
- cleanup code
- just choose ext4 to make ublk/003 more reliable
V2:
- Check parameters in recovery
- Add one small delay before deleting device
- Write informative description
Ziyang Zhang (2):
src/miniublk: add user recovery
tests: Add ublk tests
Ziyang Zhang (2):
src/miniublk: add user recovery
tests: Add ublk tests
common/ublk | 10 +- src/miniublk.c | 269 ++++++++++++++++++++++++++++++++++++++++++--- tests/ublk/001 | 47 ++++++++ tests/ublk/001.out | 2 + tests/ublk/002 | 62 +++++++++++ tests/ublk/002.out | 2 + tests/ublk/003 | 52 +++++++++ tests/ublk/003.out | 2 + tests/ublk/004 | 49 +++++++++ tests/ublk/004.out | 2 + tests/ublk/005 | 77 +++++++++++++ tests/ublk/005.out | 2 + tests/ublk/006 | 81 ++++++++++++++ tests/ublk/006.out | 2 + tests/ublk/rc | 17 +++ 15 files changed, 660 insertions(+), 16 deletions(-) create mode 100755 tests/ublk/001 create mode 100644 tests/ublk/001.out create mode 100755 tests/ublk/002 create mode 100644 tests/ublk/002.out create mode 100755 tests/ublk/003 create mode 100644 tests/ublk/003.out create mode 100755 tests/ublk/004 create mode 100644 tests/ublk/004.out create mode 100755 tests/ublk/005 create mode 100644 tests/ublk/005.out create mode 100755 tests/ublk/006 create mode 100644 tests/ublk/006.out create mode 100644 tests/ublk/rc
Signature · 1 line
2.31.1