diff options
author | 2025-05-29 17:47:12 -0600 | |
---|---|---|
committer | 2025-05-31 14:38:30 -0600 | |
commit | 97737097528397a8106ffc552e827a3dedccf132 (patch) | |
tree | 2cf287f9ad622486cefa3dc8032f71c6a5c8bd37 /scripts/lib/kdoc/kdoc_files.py | |
parent | selftests: ublk: kublk: plumb q_id in io_uring user_data (diff) | |
download | linux-rng-97737097528397a8106ffc552e827a3dedccf132.tar.xz linux-rng-97737097528397a8106ffc552e827a3dedccf132.zip |
selftests: ublk: kublk: tie sqe allocation to io instead of queue
We currently have a helper ublk_queue_alloc_sqes which the ublk targets
use to allocate SQEs for their own operations. However, as we move
towards decoupled ublk_queues and ublk server threads, this helper does
not make sense anymore. SQEs are allocated from rings, and we will have
one ring per thread to avoid locking. Change the SQE allocation helper
to ublk_io_alloc_sqes. Currently this still allocates SQEs from the io's
queue's ring, but when we fully decouple threads and queues, it will
allocate from the io's thread's ring instead.
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-3-e9d3b119336a@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions