commit | d4c81f38522f3e7f4be1b472ef9988d0ed7f3696 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Jun 08 21:08:19 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jun 08 13:47:37 2020 -0600 |
tree | 4eeb0887d4baa7153abf0f0342bccfff4dd5e3ca | |
parent | ac45abc0e2a8ed16ecc0eea039fe762ddfefbcad [diff] |
io_uring: don't arm a timeout through work.func Remove io_link_work_cb() -- the last custom work.func. Not the prettiest thing, but works. Instead of queueing a linked timeout in io_link_work_cb() mark a request with REQ_F_QUEUE_TIMEOUT and do enqueueing based on the flag in io_wq_submit_work(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>