diff options
| author | Uday Shankar <[email protected]> | 2025-05-29 23:47:11 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-05-31 20:38:26 +0000 |
| commit | bf098d72696db1a947e72d549ec861dc1092deef (patch) | |
| tree | 109704ad95d514a97db24dbf1ee068b7c9bbc7f7 /net/lapb/lapb_timer.c | |
| parent | ublk: have a per-io daemon instead of a per-queue daemon (diff) | |
| download | kernel-bf098d72696db1a947e72d549ec861dc1092deef.tar.gz kernel-bf098d72696db1a947e72d549ec861dc1092deef.zip | |
selftests: ublk: kublk: plumb q_id in io_uring user_data
Currently, when we process CQEs, we know which ublk_queue we are working
on because we know which ring we are working on, and ublk_queues and
rings are in 1:1 correspondence. However, as we decouple ublk_queues
from ublk server threads, ublk_queues and rings will no longer be in 1:1
correspondence - each ublk server thread will have a ring, and each
thread may issue commands against more than one ublk_queue. So in order
to know which ublk_queue a CQE refers to, plumb that information in the
associated SQE's user_data.
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
