io-uring.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ublk: run auto buf unregister on same io_ring_ctx with register
@ 2025-05-22 13:50 Ming Lei
  2025-05-22 13:50 ` [PATCH 1/2] io_uring: add helper io_uring_cmd_ctx_handle() Ming Lei
  2025-05-22 13:50 ` [PATCH 2/2] ublk: run auto buf unregister on same io_ring_ctx with register Ming Lei
  0 siblings, 2 replies; 5+ messages in thread
From: Ming Lei @ 2025-05-22 13:50 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


Ming Lei (2):
  io_uring: add helper io_uring_cmd_ctx_handle()
  ublk: run auto buf unregister on same io_ring_ctx with register

 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 14:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-22 13:50 [PATCH 0/2] ublk: run auto buf unregister on same io_ring_ctx with register Ming Lei
2025-05-22 13:50 ` [PATCH 1/2] io_uring: add helper io_uring_cmd_ctx_handle() Ming Lei
2025-05-22 14:34   ` Caleb Sander Mateos
2025-05-22 13:50 ` [PATCH 2/2] ublk: run auto buf unregister on same io_ring_ctx with register Ming Lei
2025-05-22 14:40   ` Caleb Sander Mateos

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).