summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2026-01-16 22:18:50 +0800
committerJens Axboe <axboe@kernel.dk>2026-01-22 20:05:41 -0700
commitf1d621b5a04ea41ee90f177db084d00db57e6839 (patch)
tree68c0361b2a9db431c506dcc0118800667407ec52 /rust/alloc/collections/git@git.tavy.me:linux.git
parent584709ad5ce359f8b5773eb6af40070412652c51 (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 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions