Skip to content

clean up io_uring cmd header structure

Pavel Begunkov io-uring linux-block linux-security-module selinux 2 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. v2 Latest3 patches 4 repliesApplied
  2. v13 patches 3 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3io_uring: split out cmd api into a separate headerMAINTAINERS drivers/block/ublk_drv.c drivers/nvme/host/ioctl.c +8 more+110 -941 reply
2/3io_uring/cmd: inline io_uring_cmd_do_in_task_lazyinclude/linux/io_uring/cmd.h include/linux/io_uring_types.h io_uring/io_uring.h +1 more+27 -321 reply
3/3io_uring/cmd: inline io_uring_cmd_get_taskinclude/linux/io_uring/cmd.h io_uring/uring_cmd.c+5 -111 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMing Lei
1/3R-b
2/3R-b
3/3R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] clean up io_uring cmd header structure

Looking at the zc rfc, and how we tend to stuff everything into linux/io_uring, start splitting the file before it becomes even more monstrous.

V2: fix up includes for security/
Add new files to MAINTAINERS

Pavel Begunkov (3):
io_uring: split out cmd api into a separate header io_uring/cmd: inline io_uring_cmd_do_in_task_lazy io_uring/cmd: inline io_uring_cmd_get_task

 MAINTAINERS                    |  1 +
 drivers/block/ublk_drv.c       |  2 +-
 drivers/nvme/host/ioctl.c      |  2 +-
 include/linux/io_uring.h       | 89 +---------------------------------
 include/linux/io_uring/cmd.h   | 82 +++++++++++++++++++++++++++++++
 include/linux/io_uring_types.h | 31 ++++++++++++
 io_uring/io_uring.c            |  1 +
 io_uring/io_uring.h            | 10 ----
 io_uring/rw.c                  |  2 +-
 io_uring/uring_cmd.c           | 15 +-----
 security/selinux/hooks.c       |  2 +-
 security/smack/smack_lsm.c     |  2 +-
 12 files changed, 122 insertions(+), 117 deletions(-)
 create mode 100644 include/linux/io_uring/cmd.h
Signature · 1 line
2.43.0