public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCHSET v2 for-next 0/4] Get rid of io_kiocb->imu
@ 2024-10-22  2:03 Jens Axboe
  2024-10-22  2:03 ` [PATCH 1/4] io_uring/uring_cmd: get rid of using req->imu Jens Axboe
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Jens Axboe @ 2024-10-22  2:03 UTC (permalink / raw)
  To: io-uring

Hi,

There's really no need to keep this one in the io_kiocb, so get rid
of it.

Changes since v1:
- Lock around uring_cmd import, and also add a comment on why it's
  safe to split the import as long as we've assigned the resource
  node.

 include/linux/io_uring_types.h |  3 ---
 io_uring/net.c                 | 29 ++++++++++++++++-------------
 io_uring/rw.c                  |  5 +++--
 io_uring/uring_cmd.c           | 22 +++++++++++++++++-----
 4 files changed, 36 insertions(+), 23 deletions(-)

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCHSET v3 for-next 0/4] Get rid of io_kiocb->imu
@ 2024-10-22 13:32 Jens Axboe
  2024-10-22 13:32 ` [PATCH 1/4] io_uring/uring_cmd: get rid of using req->imu Jens Axboe
  0 siblings, 1 reply; 14+ messages in thread
From: Jens Axboe @ 2024-10-22 13:32 UTC (permalink / raw)
  To: io-uring

Hi,

There's really no need to keep this one in the io_kiocb, so get rid
of it.

Changes since v2:
- Don't grab uring_lock in io_uring_cmd_import_fixed(), but check if
  req->rsrc_node has been set.
- Verify fixed buffers work, the liburing test case was broken.

 include/linux/io_uring_types.h |  3 ---
 io_uring/net.c                 | 29 ++++++++++++++++-------------
 io_uring/rw.c                  |  5 +++--
 io_uring/uring_cmd.c           | 23 ++++++++++++++++++-----
 4 files changed, 37 insertions(+), 23 deletions(-)

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCHSET for-next 0/4] Get rid of io_kiocb->imu
@ 2024-10-18 18:38 Jens Axboe
  2024-10-18 18:38 ` [PATCH 1/4] io_uring/uring_cmd: get rid of using req->imu Jens Axboe
  0 siblings, 1 reply; 14+ messages in thread
From: Jens Axboe @ 2024-10-18 18:38 UTC (permalink / raw)
  To: io-uring

Hi,

There's really no need to keep this one in the io_kiocb, so get rid
of it.

 include/linux/io_uring_types.h |  3 ---
 io_uring/net.c                 | 29 ++++++++++++++++-------------
 io_uring/rw.c                  |  5 +++--
 io_uring/uring_cmd.c           |  9 +++++----
 4 files changed, 24 insertions(+), 22 deletions(-)

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-10-22 13:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22  2:03 [PATCHSET v2 for-next 0/4] Get rid of io_kiocb->imu Jens Axboe
2024-10-22  2:03 ` [PATCH 1/4] io_uring/uring_cmd: get rid of using req->imu Jens Axboe
2024-10-22  2:43   ` Ming Lei
2024-10-22  2:59     ` Jens Axboe
     [not found]       ` <CGME20241022084205epcas5p190eb2ba790815a6ac211cb4e3b6a0fe4@epcas5p1.samsung.com>
2024-10-22  8:34         ` Anuj Gupta
2024-10-22 13:18           ` Jens Axboe
2024-10-22 13:24             ` Jens Axboe
2024-10-22  2:03 ` [PATCH 2/4] io_uring/rw: " Jens Axboe
2024-10-22  2:03 ` [PATCH 3/4] io_uring/net: move send zc fixed buffer import to issue path Jens Axboe
2024-10-22  2:03 ` [PATCH 4/4] io_uring: kill 'imu' from struct io_kiocb Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2024-10-22 13:32 [PATCHSET v3 for-next 0/4] Get rid of io_kiocb->imu Jens Axboe
2024-10-22 13:32 ` [PATCH 1/4] io_uring/uring_cmd: get rid of using req->imu Jens Axboe
2024-10-18 18:38 [PATCHSET for-next 0/4] Get rid of io_kiocb->imu Jens Axboe
2024-10-18 18:38 ` [PATCH 1/4] io_uring/uring_cmd: get rid of using req->imu Jens Axboe
2024-10-18 19:34   ` Pavel Begunkov
2024-10-19 21:56     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox