Skip to content

ublk_drv: cleanup and bugfix

ZiyangZhang 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 Latest3 patches 3 repliesApplied
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- reserve comment on __ublk_fail_req() to notify that aborted requests may be issued again.
- only reference ublk_io in branch of not using task_work_add()

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3ublk_drv: check ubq_daemon_is_dying() in __ublk_rq_task_work()drivers/block/ublk_drv.c+2 -30 replies
2/3ublk_drv: update comment for __ublk_fail_req()drivers/block/ublk_drv.c+3 -21 reply
3/3ublk_drv: do not add a re-issued request aborted previously to ioucmd's task_workdrivers/block/ublk_drv.c+17 -11 reply

Reviews trailers per patch

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

PatchMing Lei
1/3R-b
2/3R-b
3/3R-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/3] ublk_drv: cleanup and bugfix

The following 3 patches are cleanup and bugfix. Patch 1 and 2 simply inline a function and update comments for ublk_drv's aborting machemism.

Patch 3 fix a null-deref bug reported by myself. Ming gives out a patch and I integrate it with more comments on this bug.

From V1:
- reserve comment on __ublk_fail_req() to notify that aborted requests may be issued again.
- only reference ublk_io in branch of not using task_work_add()

ZiyangZhang (3):
ublk_drv: check ubq_daemon_is_dying() in __ublk_rq_task_work()
ublk_drv: update comment for __ublk_fail_req()
ublk_drv: do not add a re-issued request aborted previously to
ioucmd's task_work

 drivers/block/ublk_drv.c | 28 ++++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)
Signature · 1 line
2.27.0