selftests: ublk: bug fixes & consolidation
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | selftests: ublk: make ublk_stop_io_daemon() more reliabletools/ | +14 | 1 reply | |
| 2/11 | selftests: ublk: fix build failuretools/ | +1 | 1 reply | |
| 3/11 | selftests: ublk: add --foreground command linetools/ tools/ | +14 | 1 reply | |
| 4/11 | selftests: ublk: fix parsing '-a' argumenttools/ | +1 | 1 reply | |
| 5/11 | selftests: ublk: support shellcheck and fix all warningtools/ tools/ tools/ +4 more | +58 | 0 replies | |
| 6/11 | selftests: ublk: don't pass ${dev_id} to _cleanup_test()tools/ tools/ tools/ +3 more | +6 | 0 replies | |
| 7/11 | selftests: ublk: move zero copy feature check into _add_ublk_dev()tools/ tools/ tools/ +3 more | +50 | 0 replies | |
| 8/11 | selftests: ublk: load/unload ublk_drv when preparing & cleaning up teststools/ | +5 | 0 replies | |
| 9/11 | selftests: ublk: add one stress test for covering IO vs. removing devicetools/ tools/ tools/ | +75 | 0 replies | |
| 10/11 | selftests: ublk: add stress test for covering IO vs. killing ublk servertools/ tools/ tools/ +1 more | +78 | 0 replies | |
| 11/11 | selftests: ublk: improve test usabilitytools/ tools/ tools/ +5 more | +17 | 0 replies |
Reviews trailers per patch
4 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Keith Busch |
|---|---|
| 1/11 | R-b |
| 2/11 | R-b |
| 3/11 | R-b |
| 4/11 | R-b |
| 5/11 | |
| 6/11 | |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] selftests: ublk: bug fixes & consolidation
Hello Jens and guys,
This patchset fixes several issues(1, 2, 4) and consolidate & improve the tests in the following ways:
- support shellcheck and fixes all warning
- misc cleanup
- improve cleanup code path(module load/unload, cleanup temp files)
- help to reuse the same test source code and scripts for other projects(liburing[1], blktest, ...)
- add two stress tests for covering IO workloads vs. removing device & killing ublk server, given buffer lifetime is one big thing for ublk-zc
[1] https://github.com/ming1/liburing/commits/ublk-zc
- just need one line change for overriding skip_code, libring uses 77 and kselftests takes 4
Ming Lei (11):
selftests: ublk: make ublk_stop_io_daemon() more reliable
selftests: ublk: fix build failure
selftests: ublk: add --foreground command line
selftests: ublk: fix parsing '-a' argument
selftests: ublk: support shellcheck and fix all warning
selftests: ublk: don't pass ${dev_id} to _cleanup_test()
selftests: ublk: move zero copy feature check into _add_ublk_dev()
selftests: ublk: load/unload ublk_drv when preparing & cleaning up
tests
selftests: ublk: add one stress test for covering IO vs. removing
device
selftests: ublk: add stress test for covering IO vs. killing ublk
server
selftests: ublk: improve test usability
tools/testing/selftests/ublk/Makefile | 6 + tools/testing/selftests/ublk/kublk.c | 43 +++-- tools/testing/selftests/ublk/kublk.h | 2 + tools/testing/selftests/ublk/test_common.sh | 167 ++++++++++++++---- tools/testing/selftests/ublk/test_loop_01.sh | 13 +- tools/testing/selftests/ublk/test_loop_02.sh | 14 +- tools/testing/selftests/ublk/test_loop_03.sh | 16 +- tools/testing/selftests/ublk/test_loop_04.sh | 14 +- tools/testing/selftests/ublk/test_null_01.sh | 9 +- .../testing/selftests/ublk/test_stress_01.sh | 47 +++++ .../testing/selftests/ublk/test_stress_02.sh | 47 +++++ 11 files changed, 300 insertions(+), 78 deletions(-) create mode 100755 tools/testing/selftests/ublk/test_stress_01.sh create mode 100755 tools/testing/selftests/ublk/test_stress_02.sh
Signature · 1 line
2.47.0