mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
selftests: ublk: add kernel selftests for ublk
Both ublk driver and userspace heavily depends on io_uring subsystem, and tools/testing/selftests/ should be the best place for holding this cross-subsystem tests. Add basic read/write IO test over this ublk null disk, and make sure ublk working. More tests will be added. Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20250228161919.2869102-2-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
ed9f3112a8
commit
6aecda00b7
10 changed files with 1466 additions and 0 deletions
3
tools/testing/selftests/ublk/.gitignore
vendored
3
tools/testing/selftests/ublk/.gitignore
vendored
58
tools/testing/selftests/ublk/test_common.sh
Executable file
58
tools/testing/selftests/ublk/test_common.sh
Executable file
19
tools/testing/selftests/ublk/test_null_01.sh
Executable file
19
tools/testing/selftests/ublk/test_null_01.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue