selftests: ublk: add --foreground command line
authorMing Lei <ming.lei@redhat.com>
Mon, 3 Mar 2025 12:43:13 +0000 (20:43 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 10 Mar 2025 15:17:13 +0000 (09:17 -0600)
commit2ecdcdfee58c028c15ed00b691104249370db075
treeebba8083161693b09420c631f5e7508c3aeeb1da
parent9d80f48c5e08b2e003e506c6e5326a35a652ea2f
selftests: ublk: add --foreground command line

Add --foreground command for helping to debug.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20250303124324.3563605-4-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
tools/testing/selftests/ublk/kublk.c
tools/testing/selftests/ublk/kublk.h