diff options
| author | 2026-01-16 22:18:50 +0800 | |
|---|---|---|
| committer | 2026-01-22 20:05:41 -0700 | |
| commit | f1d621b5a04ea41ee90f177db084d00db57e6839 (patch) | |
| tree | 68c0361b2a9db431c506dcc0118800667407ec52 /include/rdma/ssh:/git@git.zx2c4.com/git: | |
| parent | selftests: ublk: replace assert() with ublk_assert() (diff) | |
selftests: ublk: add ublk_io_buf_idx() for returning io buffer index
Since UBLK_F_PER_IO_DAEMON is added, io buffer index may depend on current
thread because the common way is to use per-pthread io_ring_ctx for issuing
ublk uring_cmd.
Add one helper for returning io buffer index, so we can hide the buffer
index implementation details for target code.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/rdma/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
