allow to skip CQE posting
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 13 repliesApplied
- v1 RFC3 patches 7 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | io_uring: clean cqe filling functionsfs/ | +30 | 0 replies | |
| 2/4 | io_uring: add option to skip CQE postingfs/ include/ | +37 | 0 replies | |
| 3/4 | io_uring: don't spinlock when not posting CQEsfs/ | +17 | 2 replies | |
| 4/4 | io_uring: disable drain with cqe skipfs/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] allow to skip CQE posting
It's expensive enough to post an CQE, and there are other reasons to want to ignore them, e.g. for link handling and it may just be more convenient for the userspace.
Try to cover most of the use cases with one flag. The overhead is one "if (cqe->flags & IOSQE_CQE_SKIP_SUCCESS)" check per requests and a bit bloated req_set_fail(), should be bearable.
See 2/4 for the actual description of the flag.
v2: don't allow drain with the new flag (see 4/4)
add IORING_FEAT_CQE_SKIP
Pavel Begunkov (4):
io_uring: clean cqe filling functions
io_uring: add option to skip CQE posting
io_uring: don't spinlock when not posting CQEs
io_uring: disable drain with cqe skip
fs/io_uring.c | 114 +++++++++++++++++++++++----------- include/uapi/linux/io_uring.h | 4 ++ 2 files changed, 81 insertions(+), 37 deletions(-)
Signature · 1 line
2.33.1