mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
io_uring: make req->timeout be dynamically allocated
There are a few reasons for this: - As a prep to improving the linked timeout logic - io_timeout is the biggest member in the io_kiocb opcode union This also enables a few cleanups, like unifying the timer setup between IORING_OP_TIMEOUT and IORING_OP_LINK_TIMEOUT, and not needing multiple arguments to the link/prep helpers. Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
978db57e2c
commit
ad8a48acc2
1 changed files with 70 additions and 59 deletions
129
fs/io_uring.c
129
fs/io_uring.c
Loading…
Add table
Add a link
Reference in a new issue