mbox series

[v2,0/3] clean up io_uring cmd header structure

Message ID cover.1701391955.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series clean up io_uring cmd header structure | expand

Message

Pavel Begunkov Dec. 1, 2023, 12:57 a.m. UTC
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

Comments

Jens Axboe Dec. 3, 2023, 3:22 p.m. UTC | #1
On Fri, 01 Dec 2023 00:57:34 +0000, Pavel Begunkov wrote:
> 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
> 
> [...]

Applied, thanks!

[1/3] io_uring: split out cmd api into a separate header
      (no commit info)
[2/3] io_uring/cmd: inline io_uring_cmd_do_in_task_lazy
      (no commit info)
[3/3] io_uring/cmd: inline io_uring_cmd_get_task
      (no commit info)

Best regards,