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:39 +0800
committerJens Axboe <axboe@kernel.dk>2026-01-22 20:05:40 -0700
commitf1f99ddf607a4b54dc19d92fb07f2a30c131ee56 (patch)
tree59e04210289424b23e86022a21c0ded41921a5e6 /rust/alloc/collections/git@git.tavy.me:linux.git
parent1e500e106d5a82280db59dba06f0108085beba65 (diff)
ublk: add io events fifo structure
Add ublk io events fifo structure and prepare for supporting command batch, which will use io_uring multishot uring_cmd for fetching one batch of io commands each time. One nice feature of kfifo is to allow multiple producer vs single consumer. We just need lock the producer side, meantime the single consumer can be lockless. The producer is actually from ublk_queue_rq() or ublk_queue_rqs(), so lock contention can be eased by setting proper blk-mq nr_queues. Reviewed-by: Caleb Sander Mateos <csander@purestorage.com> 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