Skip to content
Snippets Groups Projects
Commit 27a67079 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring/uring_cmd: take advantage of completion batching


We know now what the completion context is for the uring_cmd completion
handling, so use that to have io_req_task_complete() decide what the
best way to complete the request is. This allows batching of the posted
completions if we have multiple pending, rather than always doing them
one-by-one.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 360cd42c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment