Skip to content

introduce io_uring querying

Pavel Begunkov io-uring 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesApplied
  2. v23 patches 1 replySuperseded
  3. v1 RFC3 patches 4 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3io_uring: add helper for *REGISTER_SEND_MSG_RINGio_uring/register.c+19 -140 replies
2/3io_uring: add macros for avaliable flagsio_uring/io_uring.c io_uring/io_uring.h+60 -290 replies
3/3io_uring: introduce io_uring queryinginclude/uapi/linux/io_uring.h include/uapi/linux/io_uring/query.h io_uring/Makefile +3 more+153 -10 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMartin K. Petersen
SeriesR-b
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] introduce io_uring querying

Introduce a versatile interface to query auxilary io_uring parameters. It will be used to close a couple of API gaps, but in this series can only tell what request and register opcodes, features and setup flags are available. It'll replace IORING_REGISTER_PROBE but with a much more convenient interface. Patch 3 for API description.

Can be tested with:

https://github.com/isilence/liburing.git io_uring/query-v2

v3: - Rebase
- Add review tags
- Remove copyright notice
v2: - Add enter and sqe flags to IO_URING_QUERY_OPCODES
- Zero unused parts of user structures (beyond returned hdr.size).
- Don't colocate hdr and and query specific info. The header now points to it via query_data.

Pavel Begunkov (3):
io_uring: add helper for *REGISTER_SEND_MSG_RING
io_uring: add macros for avaliable flags
io_uring: introduce io_uring querying

 include/uapi/linux/io_uring.h       |  3 +
 include/uapi/linux/io_uring/query.h | 41 +++++++++++++
 io_uring/Makefile                   |  2 +-
 io_uring/io_uring.c                 | 32 +---------
 io_uring/io_uring.h                 | 57 ++++++++++++++++++
 io_uring/query.c                    | 93 +++++++++++++++++++++++++++++
 io_uring/query.h                    |  9 +++
 io_uring/register.c                 | 39 +++++++-----
 8 files changed, 232 insertions(+), 44 deletions(-)
 create mode 100644 include/uapi/linux/io_uring/query.h
 create mode 100644 io_uring/query.c
 create mode 100644 io_uring/query.h
Signature · 1 line
2.49.0