Skip to content

ublk: two fixes on UBLK_F_AUTO_BUF_REG

Ming Lei linux-block 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2ublk: handle ublk_set_auto_buf_reg() failure correctly in ublk_fetch()drivers/block/ublk_drv.c+1 -11 reply
2/2ublk: run auto buf unregisgering in same io_ring_ctx with registerdrivers/block/ublk_drv.c include/uapi/linux/ublk_cmd.h+33 -55 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

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

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

Read the v1 thread

Cover letter [PATCH 0/2] ublk: two fixes on UBLK_F_AUTO_BUF_REG

Hello Jens,

The 1st patches fix ublk_fetch() failure path for setting auto-buf-reg data.

The 2nd patch makes sure that the buffer unregister is done in same 'io_ring_ctx' for issuing FETCH command.

Thanks,

Ming Lei (2):
ublk: handle ublk_set_auto_buf_reg() failure correctly in ublk_fetch()
ublk: run auto buf unregisgering in same io_ring_ctx with register

 drivers/block/ublk_drv.c      | 37 ++++++++++++++++++++++++++++++-----
 include/uapi/linux/ublk_cmd.h |  3 ++-
 2 files changed, 34 insertions(+), 6 deletions(-)
Signature · 1 line
2.47.0