Skip to content

last set for add_disk() error handling

Luis Chamberlain linux-block linux-mtd linux-raid linux-scsi lkml 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. v5 Latest14 patches 5 repliesApplied
  2. v44 patches 6 repliesSuperseded

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/14nvdimm/btt: use goto error labels on btt_blk_init()drivers/nvdimm/btt.c+10 -60 replies
2/14nvdimm/btt: add error handling support for add_disk()drivers/nvdimm/btt.c+3 -10 replies
3/14nvdimm/blk: avoid calling del_gendisk() on early failuresdrivers/nvdimm/blk.c+12 -50 replies
4/14nvdimm/blk: add error handling support for add_disk()drivers/nvdimm/blk.c+3 -10 replies
5/14nvdimm/pmem: cleanup the disk if pmem_release_disk() is yet assigneddrivers/nvdimm/pmem.c+9 -40 replies
6/14nvdimm/pmem: use add_disk() error handlingdrivers/nvdimm/pmem.c+7 -10 replies
7/14z2ram: add error handling support for add_disk()drivers/block/z2ram.c+5 -20 replies
8/14block/sunvdc: add error handling support for add_disk()drivers/block/sunvdc.c+11 -30 replies
9/14mtd/ubi/block: add error handling support for add_disk()drivers/mtd/ubi/block.c+7 -10 replies
10/14ataflop: remove ataflop_probe_lock mutexdrivers/block/ataflop.c+27 -200 replies
11/14block: update __register_blkdev() probe documentationblock/genhd.c+4 -10 replies
12/14ataflop: address add_disk() error handling on probedrivers/block/ataflop.c+12 -60 replies
13/14floppy: address add_disk() error handling on probedrivers/block/floppy.c+13 -40 replies
14/14block: add __must_check for *add_disk*() callersblock/genhd.c include/linux/genhd.h+6 -60 replies

Reviews trailers per patch

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

PatchDan WilliamsChristoph HellwigLuis ChamberlainMichael Schmitz
1/14R-b R-b
2/14R-b
3/14R-b
4/14R-b R-b
5/14R-b
6/14R-b
7/14R-b
8/14R-b
9/14R-b
10/14R-b T-b
11/14R-b
12/14R-b
13/14R-b
14/14R-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 4 reviewers.

Read the v5 thread

Cover letter [PATCH v5 00/14] last set for add_disk() error handling

Jens,

as requested, I've folded all pending changes into this series. This v5 pegs on Christoph's reviewed-by tags and since I was respinning I modified the ataprobe and floppy driver changes as he suggested.

I think this is it. The world of floppy has been exciting for v5.16.

This goes based on your axboe/for-next tree as of just a few minutes ago.

Luis Chamberlain (13):
nvdimm/btt: use goto error labels on btt_blk_init() nvdimm/btt: add error handling support for add_disk() nvdimm/blk: avoid calling del_gendisk() on early failures nvdimm/blk: add error handling support for add_disk() nvdimm/pmem: cleanup the disk if pmem_release_disk() is yet assigned nvdimm/pmem: use add_disk() error handling
z2ram: add error handling support for add_disk() block/sunvdc: add error handling support for add_disk() mtd/ubi/block: add error handling support for add_disk()
block: update __register_blkdev() probe documentation
ataflop: address add_disk() error handling on probe
floppy: address add_disk() error handling on probe
block: add __must_check for *add_disk*() callers

Tetsuo Handa (1):
ataflop: remove ataflop_probe_lock mutex

 block/genhd.c           | 11 +++++---
 drivers/block/ataflop.c | 61 +++++++++++++++++++++++++----------------
 drivers/block/floppy.c  | 17 +++++++++---
 drivers/block/sunvdc.c  | 14 ++++++++--
 drivers/block/z2ram.c   |  7 +++--
 drivers/mtd/ubi/block.c |  8 +++++-
 drivers/nvdimm/blk.c    | 21 ++++++++++----
 drivers/nvdimm/btt.c    | 20 +++++++++-----
 drivers/nvdimm/pmem.c   | 21 ++++++++++----
 include/linux/genhd.h   |  6 ++--
 10 files changed, 127 insertions(+), 59 deletions(-)
Signature · 1 line
2.33.0