aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorUday Shankar <[email protected]>2025-05-29 23:47:13 +0000
committerJens Axboe <[email protected]>2025-05-31 20:38:35 +0000
commit8f75ba28b8747d6a788daede0060d574b5693dac (patch)
tree9d21e1b27bd4c46f152489427f94dff15a72140a /net/lapb/lapb_timer.c
parentselftests: ublk: kublk: tie sqe allocation to io instead of queue (diff)
downloadkernel-8f75ba28b8747d6a788daede0060d574b5693dac.tar.gz
kernel-8f75ba28b8747d6a788daede0060d574b5693dac.zip
selftests: ublk: kublk: lift queue initialization out of thread
Currently, each ublk server I/O handler thread initializes its own queue. However, as we move towards decoupled ublk_queues and ublk server threads, this model does not make sense anymore, as there will no longer be a concept of a thread having "its own" queue. So lift queue initialization out of the per-thread ublk_io_handler_fn and into a loop in ublk_start_daemon (which runs once for each device). There is a part of ublk_queue_init (ring initialization) which does actually need to happen on the thread that will use the ring; that is separated into a separate ublk_thread_init which is still called by each I/O handler thread. Signed-off-by: Uday Shankar <[email protected]> Reviewed-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions