liburing: test: replace ublk test with kernel selftests
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | liburing: test: remove test/uring_cmd_ublk.ctest/ test/ | +0 | 0 replies | |
| 2/2 | liburing: test: replace ublk test with kernel selftests.gitignore test/ test/ +6 more | +2011 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] liburing: test: replace ublk test with kernel selftests
Hi Jens,
The 1st patch removes the liburing ublk test source, and the 2nd patch adds the test back with the kernel ublk selftest source.
The original test case is covered, and io_uring kernel fixed buffer and ublk zero copy is covered too.
Now the ublk source code is one generic ublk server implementation, and test code is shell script, this way is flexible & easy to add new tests.
Thanks,
Ming
Ming Lei (2):
liburing: test: remove test/uring_cmd_ublk.c
liburing: test: replace ublk test with kernel selftests
.gitignore | 1 +
test/Makefile | 22 +-
test/runtests.sh | 8 +
test/ublk/file_backed.c | 217 ++++++
test/{uring_cmd_ublk.c => ublk/kublk.c} | 925 ++++++++++--------------
test/ublk/kublk.h | 336 +++++++++
test/ublk/null.c | 38 +
test/ublk/test_common.sh | 221 ++++++
test/ublk/test_stress_02.sh | 48 ++
9 files changed, 1286 insertions(+), 530 deletions(-)
create mode 100644 test/ublk/file_backed.c
rename test/{uring_cmd_ublk.c => ublk/kublk.c} (56%)
create mode 100644 test/ublk/kublk.h
create mode 100644 test/ublk/null.c
create mode 100755 test/ublk/test_common.sh
create mode 100755 test/ublk/test_stress_02.shSignature · 1 line
2.47.0