From: Pavel Begunkov <asml.silence@gmail.com>
To: Jens Axboe <axboe@kernel.dk>, io-uring@vger.kernel.org
Subject: [PATCH 0/8] a fix + cancellation unification
Date: Fri, 18 Dec 2020 13:12:20 +0000 [thread overview]
Message-ID: <cover.1608296656.git.asml.silence@gmail.com> (raw)
I suggest for 1/8 to go for current, and the rest are for next.
Patches 2-8 finally unify how we do task and files cancellation removing
boilerplate and making it easier to understand overall. As a bonus to it
->inflight_entry is now used only for iopoll, probably can be put into a
union with something and save 16B of io_kiocb if that would be needed.
Pavel Begunkov (8):
io_uring: close a small race gap for files cancel
io_uring: further deduplicate #CQ events calc
io_uring: account per-task #requests with files
io_uring: explicitly pass tctx into del_task_file
io_uring: draft files cancel based on inflight cnt
io_uring: remove old files cancel mechanism
io_uring: cleanup task cancel
io_uring: kill not used anymore inflight_lock
fs/io_uring.c | 166 +++++++++++++--------------------------
include/linux/io_uring.h | 13 ++-
2 files changed, 59 insertions(+), 120 deletions(-)
--
2.24.0
next reply other threads:[~2020-12-18 13:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-18 13:12 Pavel Begunkov [this message]
2020-12-18 13:12 ` [PATCH 1/8] io_uring: close a small race gap for files cancel Pavel Begunkov
2020-12-18 13:12 ` [PATCH 2/8] io_uring: further deduplicate #CQ events calc Pavel Begunkov
2020-12-18 13:12 ` [PATCH 3/8] io_uring: account per-task #requests with files Pavel Begunkov
2020-12-18 13:12 ` [PATCH 4/8] io_uring: explicitly pass tctx into del_task_file Pavel Begunkov
2020-12-18 13:12 ` [PATCH 5/8] io_uring: draft files cancel based on inflight cnt Pavel Begunkov
2020-12-18 13:12 ` [PATCH 6/8] io_uring: remove old files cancel mechanism Pavel Begunkov
2020-12-18 13:12 ` [PATCH 7/8] io_uring: cleanup task cancel Pavel Begunkov
2020-12-18 13:12 ` [PATCH 8/8] io_uring: kill not used anymore inflight_lock Pavel Begunkov
2020-12-18 15:16 ` [PATCH 0/8] a fix + cancellation unification Jens Axboe
2020-12-18 15:22 ` Pavel Begunkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1608296656.git.asml.silence@gmail.com \
--to=asml.silence@gmail.com \
--cc=axboe@kernel.dk \
--cc=io-uring@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.