mbox series

[0/3] clean up io_uring cmd header structure

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

Message

Pavel Begunkov Nov. 22, 2023, 4:01 p.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.

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

 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 +-----
 9 files changed, 119 insertions(+), 115 deletions(-)
 create mode 100644 include/linux/io_uring/cmd.h