selftests: ublk: simplify loop io completion
authorMing Lei <ming.lei@redhat.com>
Sat, 22 Mar 2025 09:32:15 +0000 (17:32 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 22 Mar 2025 14:35:08 +0000 (08:35 -0600)
commit263846eb431f31ca3f38846c374377b732abb26e
tree35e68194657ce2a51f1f1ca418a0fe7c967a862e
parent8cb9b971e2b6103c72faf765f64239f86ec9328f
selftests: ublk: simplify loop io completion

Use the added target io handling helpers for simplifying loop io
completion.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250322093218.431419-8-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
tools/testing/selftests/ublk/file_backed.c
tools/testing/selftests/ublk/kublk.h