Skip to content
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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment