Skip to content

Commit

Permalink
io_uring: handle completions in the core
Browse files Browse the repository at this point in the history
Normally request handlers complete requests themselves, if they don't
return an error. For the latter case, the core will complete it for
them.

This is unhandy for pushing opcode handlers further out, as we don't
want a bunch of inline completion code and we don't want to make the
completion path slower than it is now.

Let the core handle any completion, unless the handler explicitly
asks us not to.

Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Jul 25, 2022
1 parent de23077 commit 97b388d
Show file tree
Hide file tree
Showing 2 changed files with 142 additions and 134 deletions.
Loading

0 comments on commit 97b388d

Please sign in to comment.