Some improvements after killing refcounting, and other cleanups. With 2/2 with will be only tracking reqs with file->f_op == &io_uring_fops, which is nice. 6-9 optimise the generic path as well as linked timeouts. v2: s/io_req_refcount/io_req_set_refcount (Jens) 6-9 are added Pavel Begunkov (9): io_uring: optimise iowq refcounting io_uring: don't inflight-track linked timeouts io_uring: optimise initial ltimeout refcounting io_uring: kill not necessary resubmit switch io_uring: deduplicate cancellation code io_uring: kill REQ_F_LTIMEOUT_ACTIVE io_uring: simplify io_prep_linked_timeout io_uring: cancel not-armed linked touts separately io_uring: optimise io_prep_linked_timeout() fs/io_uring.c | 165 ++++++++++++++++++++++++++++---------------------- 1 file changed, 94 insertions(+), 71 deletions(-) -- 2.32.0