]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: ublk: kublk: move per-thread data out of ublk_queue
authorUday Shankar <ushankar@purestorage.com>
Thu, 29 May 2025 23:47:14 +0000 (17:47 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 31 May 2025 20:38:39 +0000 (14:38 -0600)
commitb9848ca7a7643b13feed9ebb67f5150eb731610c
tree9c2892e7cadcecff01521fd201faa64fdf69bde0
parent8f75ba28b8747d6a788daede0060d574b5693dac
selftests: ublk: kublk: move per-thread data out of ublk_queue

Towards the goal of decoupling ublk_queues from ublk server threads,
move resources/data that should be per-thread rather than per-queue out
of ublk_queue and into a new struct ublk_thread.

Signed-off-by: Uday Shankar <ushankar@purestorage.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250529-ublk_task_per_io-v8-5-e9d3b119336a@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
tools/testing/selftests/ublk/kublk.c
tools/testing/selftests/ublk/kublk.h