All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] block: 7th -- last batch of add_disk() error handling conversions
@ 2021-09-27 22:03 Luis Chamberlain
  2021-09-27 22:03 ` [PATCH v2 1/2] block: make __register_blkdev() return an error Luis Chamberlain
  2021-09-27 22:03 ` [PATCH v2 2/2] block: add __must_check for *add_disk*() callers Luis Chamberlain
  0 siblings, 2 replies; 7+ messages in thread
From: Luis Chamberlain @ 2021-09-27 22:03 UTC (permalink / raw)
  To: axboe, hch, efremov, song, jejb, martin.petersen, viro, hare,
	jack, ming.lei, tj
  Cc: linux-raid, linux-scsi, linux-fsdevel, linux-block, linux-kernel,
	Luis Chamberlain

This is the 7th and last set of driver conversions for add_disk() error
handling. The entire set of pending changes can be found on my
20210927-for-axboe-add-disk-error-handling branch [0].

Changes on this v2:

  - rebased onto linux-next tag 20210927
  - I modified the drivers to be sure to treat an existing block device on
    probe as a non-issue, and expanded the documentation to explain why we
    want to driver's probe routine to behave this way.

[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 (2):
  block: make __register_blkdev() return an error
  block: add __must_check for *add_disk*() callers

 block/bdev.c            |  5 ++++-
 block/genhd.c           | 27 ++++++++++++++++++---------
 drivers/block/ataflop.c | 20 +++++++++++++++-----
 drivers/block/brd.c     |  7 +++++--
 drivers/block/floppy.c  | 14 ++++++++++----
 drivers/block/loop.c    | 11 ++++++++---
 drivers/md/md.c         | 12 +++++++++---
 drivers/scsi/sd.c       |  3 ++-
 include/linux/genhd.h   | 10 +++++-----
 9 files changed, 76 insertions(+), 33 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2021-10-15 18:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 22:03 [PATCH v2 0/2] block: 7th -- last batch of add_disk() error handling conversions Luis Chamberlain
2021-09-27 22:03 ` [PATCH v2 1/2] block: make __register_blkdev() return an error Luis Chamberlain
2021-09-28  0:19   ` Tetsuo Handa
2021-10-15 18:34     ` Luis Chamberlain
2021-09-28  0:57   ` Finn Thain
2021-10-15 18:43     ` Luis Chamberlain
2021-09-27 22:03 ` [PATCH v2 2/2] block: add __must_check for *add_disk*() callers 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.