Skip to content

ublk: fix error handling if start_dev pid validation failed

Ming Lei linux-block stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ublk: cancel device on START_DEV failuredrivers/block/ublk_drv.c+7 -22 replies
2/2selftests/ublk: fix garbage output and cleanup on failuretools/testing/selftests/ublk/kublk.c+7 -72 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ublk: fix error handling if start_dev pid validation failed

Hi Jens,

The 1st patch cancels inflight uring_cmd in case of failing to validate start_dev pid.

The end patch fix builtin kublk utility for handling starting daemon failure.

Ming Lei (2):
ublk: cancel device on START_DEV failure selftests/ublk: fix garbage output and cleanup on failure

 drivers/block/ublk_drv.c             |  9 +++++++--
 tools/testing/selftests/ublk/kublk.c | 14 +++++++-------
 2 files changed, 14 insertions(+), 9 deletions(-)
Signature · 1 line
2.47.0