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

io_uring: use regular request ref counts


Get rid of the special casing of "normal" requests not having
any references to the io_kiocb. We initialize the ref count to 2,
one for the submission side, and one or the completion side.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 12ad143e
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