io-uring.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/2] ublk: run auto buf unregister on same io_ring_ctx with register
@ 2025-05-22 15:20 Ming Lei
  2025-05-22 15:20 ` [PATCH V2 1/2] io_uring: add helper io_uring_cmd_ctx_handle() Ming Lei
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ming Lei @ 2025-05-22 15:20 UTC (permalink / raw)
  To: Jens Axboe, linux-block, io-uring
  Cc: Uday Shankar, Caleb Sander Mateos, Ming Lei

Hello Jens,

The 1st patch adds helper io_uring_cmd_ctx_handle().

The 2nd one use the added helper to run auto-buf-unreg on the same
io_uring_ctx with the register one.

Thanks,
Ming

V2:
	- return `void *` from io_uring_cmd_ctx_handle() (Caleb Sander Mateos)
	- typo & document fix (Caleb Sander Mateos)


Ming Lei (2):
  io_uring: add helper io_uring_cmd_ctx_handle()
  ublk: run auto buf unregisgering in same io_ring_ctx with registering

 drivers/block/ublk_drv.c      | 19 ++++++++++++++++---
 include/linux/io_uring/cmd.h  |  9 +++++++++
 include/uapi/linux/ublk_cmd.h |  6 +++++-
 3 files changed, 30 insertions(+), 4 deletions(-)

-- 
2.47.0


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

end of thread, other threads:[~2025-05-22 16:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-22 15:20 [PATCH V2 0/2] ublk: run auto buf unregister on same io_ring_ctx with register Ming Lei
2025-05-22 15:20 ` [PATCH V2 1/2] io_uring: add helper io_uring_cmd_ctx_handle() Ming Lei
2025-05-22 15:23   ` Caleb Sander Mateos
2025-05-22 15:20 ` [PATCH V2 2/2] ublk: run auto buf unregisgering in same io_ring_ctx with registering Ming Lei
2025-05-22 16:06 ` [PATCH V2 0/2] ublk: run auto buf unregister on same io_ring_ctx with register Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).