mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-17 19:14:47 +00:00
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: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
12ad143e1b
commit
e65ef56db4
1 changed files with 35 additions and 19 deletions
Loading…
Add table
Add a link
Reference in a new issue