commit | ad8a48acc23cb13cbf4332ebabb867b1baa81842 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Nov 15 08:49:11 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Nov 25 19:56:01 2019 -0700 |
tree | b84c673589753cab7aa392ad366701545490ba5b | |
parent | 978db57e2c329fc612ff669cab9bf0007efd3ca3 [diff] |
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>