All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/13] block: add_disk() error handling stragglers
@ 2021-11-03 12:21 ` Luis Chamberlain
  0 siblings, 0 replies; 62+ messages in thread
From: Luis Chamberlain @ 2021-11-03 12:21 UTC (permalink / raw)
  To: axboe, hch, penguin-kernel, dan.j.williams, vishal.l.verma,
	dave.jiang, ira.weiny, richard, miquel.raynal, vigneshr, efremov,
	song, martin.petersen, hare, jack, ming.lei, tj, mcgrof
  Cc: linux-mtd, linux-scsi, linux-raid, linux-block, linux-kernel

This is the last pending changes to address add_disk() error handling
completely. Changes on this v2 series:

  o dropped all patches which folks have said they'd pick up on their
    own trees or that I already see present on linux-next
  o rebased onto next-20211103
  o Added Reviewed-by tag by Dan Williams and addressed his recommended
    changes.
  o Re-added the nvdimm/blk changes given Dan Williams was not able to
    remove the driver in time for v5.16
  o Added new nvdimm/pmem driver changes, not sure how I missed addressing
    this before.
  o Just note that I keep Tetsuo Handa's patch in this series as it is
    a requirement for the __register_blkdev() changes.

You can find all these changes on my git tree:

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

Luis Chamberlain (12):
  nvdimm/btt: do not call del_gendisk() if not needed
  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: make __register_blkdev() return an error
  block: add __must_check for *add_disk*() callers

Tetsuo Handa (1):
  ataflop: remove ataflop_probe_lock mutex

 block/bdev.c            |  5 +++-
 block/genhd.c           | 27 +++++++++++------
 drivers/block/ataflop.c | 66 +++++++++++++++++++++++++----------------
 drivers/block/brd.c     |  7 +++--
 drivers/block/floppy.c  | 17 ++++++++---
 drivers/block/loop.c    | 11 +++++--
 drivers/block/sunvdc.c  | 14 +++++++--
 drivers/block/z2ram.c   |  7 +++--
 drivers/md/md.c         | 12 ++++++--
 drivers/mtd/ubi/block.c |  8 ++++-
 drivers/nvdimm/blk.c    | 21 +++++++++----
 drivers/nvdimm/btt.c    | 21 ++++++++-----
 drivers/nvdimm/pmem.c   | 21 +++++++++----
 drivers/scsi/sd.c       |  3 +-
 include/linux/genhd.h   | 10 +++----
 15 files changed, 172 insertions(+), 78 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 62+ messages in thread

end of thread, other threads:[~2021-11-03 17:42 UTC | newest]

Thread overview: 62+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 12:21 [PATCH v2 00/13] block: add_disk() error handling stragglers Luis Chamberlain
2021-11-03 12:21 ` Luis Chamberlain
2021-11-03 12:21 ` [PATCH v2 01/13] nvdimm/btt: do not call del_gendisk() if not needed Luis Chamberlain
2021-11-03 12:21   ` Luis Chamberlain
2021-11-03 16:02   ` Christoph Hellwig
2021-11-03 16:02     ` Christoph Hellwig
2021-11-03 16:58     ` Luis Chamberlain
2021-11-03 16:58       ` Luis Chamberlain
2021-11-03 12:21 ` [PATCH v2 02/13] nvdimm/btt: use goto error labels on btt_blk_init() Luis Chamberlain
2021-11-03 12:21   ` Luis Chamberlain
2021-11-03 16:02   ` Christoph Hellwig
2021-11-03 16:02     ` Christoph Hellwig
2021-11-03 12:21 ` [PATCH v2 03/13] nvdimm/btt: add error handling support for add_disk() Luis Chamberlain
2021-11-03 12:21   ` Luis Chamberlain
2021-11-03 16:04   ` Christoph Hellwig
2021-11-03 16:04     ` Christoph Hellwig
2021-11-03 12:21 ` [PATCH v2 04/13] nvdimm/blk: avoid calling del_gendisk() on early failures Luis Chamberlain
2021-11-03 12:21   ` Luis Chamberlain
2021-11-03 16:05   ` Christoph Hellwig
2021-11-03 16:05     ` Christoph Hellwig
2021-11-03 16:47     ` Luis Chamberlain
2021-11-03 16:47       ` Luis Chamberlain
2021-11-03 12:21 ` [PATCH v2 05/13] nvdimm/blk: add error handling support for add_disk() Luis Chamberlain
2021-11-03 12:21   ` Luis Chamberlain
2021-11-03 16:06   ` Christoph Hellwig
2021-11-03 16:06     ` Christoph Hellwig
2021-11-03 12:21 ` [PATCH v2 06/13] nvdimm/pmem: cleanup the disk if pmem_release_disk() is yet assigned Luis Chamberlain
2021-11-03 12:21   ` Luis Chamberlain
2021-11-03 16:06   ` Christoph Hellwig
2021-11-03 16:06     ` Christoph Hellwig
2021-11-03 12:21 ` [PATCH v2 07/13] nvdimm/pmem: use add_disk() error handling Luis Chamberlain
2021-11-03 12:21   ` Luis Chamberlain
2021-11-03 16:06   ` Christoph Hellwig
2021-11-03 16:06     ` Christoph Hellwig
2021-11-03 12:21 ` [PATCH v2 08/13] z2ram: add error handling support for add_disk() Luis Chamberlain
2021-11-03 12:21   ` Luis Chamberlain
2021-11-03 16:07   ` Christoph Hellwig
2021-11-03 16:07     ` Christoph Hellwig
2021-11-03 12:21 ` [PATCH v2 09/13] block/sunvdc: " Luis Chamberlain
2021-11-03 12:21   ` Luis Chamberlain
2021-11-03 16:07   ` Christoph Hellwig
2021-11-03 16:07     ` Christoph Hellwig
2021-11-03 12:21 ` [PATCH v2 10/13] mtd/ubi/block: " Luis Chamberlain
2021-11-03 12:21   ` Luis Chamberlain
2021-11-03 16:07   ` Christoph Hellwig
2021-11-03 16:07     ` Christoph Hellwig
2021-11-03 12:21 ` [PATCH v2 11/13] ataflop: remove ataflop_probe_lock mutex Luis Chamberlain
2021-11-03 12:21   ` Luis Chamberlain
2021-11-03 12:21 ` [PATCH v2 12/13] block: make __register_blkdev() return an error Luis Chamberlain
2021-11-03 12:21   ` Luis Chamberlain
2021-11-03 16:09   ` Christoph Hellwig
2021-11-03 16:09     ` Christoph Hellwig
2021-11-03 16:44     ` Luis Chamberlain
2021-11-03 16:44       ` Luis Chamberlain
2021-11-03 17:00       ` Christoph Hellwig
2021-11-03 17:00         ` Christoph Hellwig
2021-11-03 17:03         ` Luis Chamberlain
2021-11-03 17:03           ` Luis Chamberlain
2021-11-03 12:21 ` [PATCH v2 13/13] block: add __must_check for *add_disk*() callers Luis Chamberlain
2021-11-03 12:21   ` Luis Chamberlain
2021-11-03 17:41 ` [PATCH v2 00/13] block: add_disk() error handling stragglers Luis Chamberlain
2021-11-03 17:41   ` Luis Chamberlain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.