selftests: ublk: add one stress test for covering IO vs. removing device
authorMing Lei <ming.lei@redhat.com>
Mon, 3 Mar 2025 12:43:19 +0000 (20:43 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 10 Mar 2025 22:24:42 +0000 (16:24 -0600)
commitc60ac48eab6107445ea88f13f64af3d0766f61d8
tree72a6e5b332709998bfa8eba245b64dc4eee01fff
parent87a9265213c390d9d6fa02f0a1ee0110c2bba866
selftests: ublk: add one stress test for covering IO vs. removing device

Add stress_test_01 for running IO vs. removing device for verifying that
ublk device removal can work as expected when heavy IO workloads are in
progress.

null, loop and loop/zc are covered in this tests.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250303124324.3563605-10-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
tools/testing/selftests/ublk/Makefile
tools/testing/selftests/ublk/test_common.sh
tools/testing/selftests/ublk/test_stress_01.sh [new file with mode: 0755]