ublk: one driver bug fix and selftest change
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | ublk: delay aborting zc request until io_uring returns the bufferdrivers/ | +28 | 2 replies | |
| 2/13 | selftests: ublk: fix ublk_find_tgt()tools/ | +1 | 2 replies | |
| 3/13 | selftests: ublk: add io_uring uapi headertools/ | +1 | 1 reply | |
| 4/13 | selftests: ublk: cleanup backfile automaticallytools/ tools/ tools/ +9 more | +70 | 0 replies | |
| 5/13 | selftests: ublk: make sure _add_ublk_dev can return in sub-shelltools/ tools/ tools/ +1 more | +39 | 0 replies | |
| 6/13 | selftests: ublk: run stress tests in paralleltools/ tools/ tools/ | +63 | 0 replies | |
| 7/13 | selftests: ublk: add two stress tests for zero copy featuretools/ tools/ tools/ | +77 | 0 replies | |
| 8/13 | selftests: ublk: setup ring with IORING_SETUP_SINGLE_ISSUER/IORING_SETUP_DEFER_TASKRUNtools/ | +3 | 0 replies | |
| 9/13 | selftests: ublk: set queue pthread's cpu affinitytools/ tools/ | +159 | 0 replies | |
| 10/13 | selftests: ublk: increase max nr_queues and queue depthtools/ tools/ | +3 | 0 replies | |
| 11/13 | selftests: ublk: support target specific command linetools/ tools/ tools/ | +95 | 0 replies | |
| 12/13 | selftests: ublk: support user recoverytools/ tools/ tools/ +3 more | +230 | 0 replies | |
| 13/13 | selftests: ublk: add test_stress_05.shtools/ tools/ | +65 | 0 replies |
Reviews trailers per patch
1 of 13 patches has a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn |
|---|---|
| 1/13 | |
| 2/13 | |
| 3/13 | R-b |
| 4/13 | |
| 5/13 | |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | |
| 10/13 | |
| 11/13 | |
| 12/13 | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/13] ublk: one driver bug fix and selftest change
The 1st patch fixes kernel panic caused by aborting zc request, which can be observed by the added stress_03/stress_04 tests.
The other patches are ublk selftest change:
- two bug fixes(2, 3)
- cleanup (4, 5)
- allow to run tests in parallel(6), also big simplification on test script
- add two stress tests for zero copy(7)
- kublk misc change(8, 9, 10), helps for evaluating performance
- support target specific command line, so help to add new target(Uday is working on fault-inject target) (11)
- add two tests for covering recovery features(12)
- add one heavy io & remove test over recovery enabled device(13), which can catch io hang triggered by several recent patches.
Thanks,
Ming Lei (13):
ublk: delay aborting zc request until io_uring returns the buffer
selftests: ublk: fix ublk_find_tgt()
selftests: ublk: add io_uring uapi header
selftests: ublk: cleanup backfile automatically
selftests: ublk: make sure _add_ublk_dev can return in sub-shell
selftests: ublk: run stress tests in parallel
selftests: ublk: add two stress tests for zero copy feature
selftests: ublk: setup ring with
IORING_SETUP_SINGLE_ISSUER/IORING_SETUP_DEFER_TASKRUN
selftests: ublk: set queue pthread's cpu affinity
selftests: ublk: increase max nr_queues and queue depth
selftests: ublk: support target specific command line
selftests: ublk: support user recovery
selftests: ublk: add test_stress_05.sh
drivers/block/ublk_drv.c | 31 +- tools/testing/selftests/ublk/Makefile | 5 + tools/testing/selftests/ublk/kublk.c | 341 ++++++++++++++++-- tools/testing/selftests/ublk/kublk.h | 37 +- tools/testing/selftests/ublk/stripe.c | 28 +- tools/testing/selftests/ublk/test_common.sh | 140 +++++-- .../testing/selftests/ublk/test_generic_04.sh | 40 ++ .../testing/selftests/ublk/test_generic_05.sh | 44 +++ tools/testing/selftests/ublk/test_loop_01.sh | 8 +- tools/testing/selftests/ublk/test_loop_02.sh | 8 +- tools/testing/selftests/ublk/test_loop_03.sh | 8 +- tools/testing/selftests/ublk/test_loop_04.sh | 9 +- tools/testing/selftests/ublk/test_loop_05.sh | 8 +- .../testing/selftests/ublk/test_stress_01.sh | 45 +-- .../testing/selftests/ublk/test_stress_02.sh | 45 +-- .../testing/selftests/ublk/test_stress_03.sh | 38 ++ .../testing/selftests/ublk/test_stress_04.sh | 37 ++ .../testing/selftests/ublk/test_stress_05.sh | 64 ++++ .../testing/selftests/ublk/test_stripe_01.sh | 12 +- .../testing/selftests/ublk/test_stripe_02.sh | 13 +- .../testing/selftests/ublk/test_stripe_03.sh | 12 +- .../testing/selftests/ublk/test_stripe_04.sh | 13 +- 22 files changed, 811 insertions(+), 175 deletions(-) create mode 100755 tools/testing/selftests/ublk/test_generic_04.sh create mode 100755 tools/testing/selftests/ublk/test_generic_05.sh create mode 100755 tools/testing/selftests/ublk/test_stress_03.sh create mode 100755 tools/testing/selftests/ublk/test_stress_04.sh create mode 100755 tools/testing/selftests/ublk/test_stress_05.sh
Signature · 1 line
2.47.0