Skip to content

block: first batch of add_disk() error handling conversions

Luis Chamberlain dm-devel linux-block linux-mmc linux-nvme linux-scsi lkml 4 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. v4 Latest6 patches 3 repliesApplied
  2. v38 patches 16 repliesApplied
  3. v26 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v110 patches20 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/6scsi/sd: add error handling support for add_disk()drivers/scsi/sd.c+7 -10 replies
2/6scsi/sr: add error handling support for add_disk()drivers/scsi/sr.c+6 -10 replies
3/6md: add error handling support for add_disk()drivers/md/md.c+5 -10 replies
4/6dm: add add_disk() error handlingdrivers/md/dm.c+3 -11 reply
5/6loop: add error handling support for add_disk()drivers/block/loop.c+7 -11 reply
6/6nbd: add error handling support for add_disk()drivers/block/nbd.c+5 -11 reply

Reviews trailers per patch

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

PatchChristoph HellwigHannes ReineckeMike Snitzer
1/6R-b
2/6R-b
3/6R-b
4/6R-b R-b
5/6R-b R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/6] block: first batch of add_disk() error handling conversions

This is the first set of driver conversions to use the add_disk() error handling. You can find these changes along with the entire 7th set of driver conversions on my 20210927-for-axboe-add-disk-error-handling branch [0].

Changes on this v4 since the last v3:

- Rebased onto linux-next tag 20210927
- I drop the patches already merged
- Fix the scsi/sd, scsi/sr as noted by Ming Lei
- md: rebased in light of "md: fix a lock order reversal in md_alloc"
- Adds Reviewed / Acked by tags where appropriate. I didn't keep the review by Hannes on the scsi patches as those patches are now slightly fixed

[0] https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/log/?h=20210927-for-axboe-add-disk-error-handling

Luis Chamberlain (6):
scsi/sd: add error handling support for add_disk() scsi/sr: add error handling support for add_disk()
md: add error handling support for add_disk()
dm: add add_disk() error handling
loop: add error handling support for add_disk()
nbd: add error handling support for add_disk()

 drivers/block/loop.c | 8 +++++++-
 drivers/block/nbd.c  | 6 +++++-
 drivers/md/dm.c      | 4 +++-
 drivers/md/md.c      | 6 +++++-
 drivers/scsi/sd.c    | 8 +++++++-
 drivers/scsi/sr.c    | 7 ++++++-
 6 files changed, 33 insertions(+), 6 deletions(-)
Signature · 1 line
2.30.2