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>
Fri, 30 May 2025 13:06:51 +0000 (07:06 -0600)
commitf21561bc01bf887c2f620d2e4a9a52b999f776cd
tree8c82845f9a1f6c597bf6adec75c98f889cac3ce8
parent83f5c5d62905353a1be597c62d82b0ad14f23a7f
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