Skip to content

block: simple *add_disk*() driver conversions

Luis Chamberlain linux-block lkml oe-kbuild-all 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3loop: add error handling support for add_disk()drivers/block/loop.c+8 -10 replies
2/3null_blk: add error handling support for add_disk()drivers/block/null_blk/main.c+1 -20 replies
3/3nbd: add error handling support for add_disk()drivers/block/nbd.c+5 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] block: simple *add_disk*() driver conversions

As requested by Christoph, I'm going to add a few demo driver conversions, to show how drivers can manage *add_disk*() error handling.

I've converted all drivers at this point, but I think it makes sense to split these conversion up into groups. This is the first group, which demos trivial changes. This group is larger than this, but this series with 3 driver examples should suffice to start review on that group type.

If this seems fine and the block changes get merged I can extend this group later to include all trivial driver conversions. But patch review on these would help to get started.

Luis Chamberlain (3):
loop: add error handling support for add_disk()
null_blk: add error handling support for add_disk()
nbd: add error handling support for add_disk()

 drivers/block/loop.c          | 9 ++++++++-
 drivers/block/nbd.c           | 6 +++++-
 drivers/block/null_blk/main.c | 3 +--
 3 files changed, 14 insertions(+), 4 deletions(-)
Signature · 1 line
2.27.0