Skip to content

ublk: run auto buf unregister on same io_ring_ctx with register

Ming Lei io-uring linux-block 2 versions Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2io_uring: add helper io_uring_cmd_ctx_handle()include/linux/io_uring/cmd.h+9 -01 reply
2/2ublk: run auto buf unregisgering in same io_ring_ctx with registeringdrivers/block/ublk_drv.c include/uapi/linux/ublk_cmd.h+21 -40 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchCaleb Sander Mateos
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 0/2] ublk: run auto buf unregister on same io_ring_ctx with register

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(-)
Signature · 1 line
2.47.0