RFC block: add error handling for *add_disk*()
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | block: refcount the request_queue early in __device_add_disk()block/ | +6 | 0 replies | |
| 2/6 | block: move disk announce work from register_disk() to a helperblock/ | +19 | 0 replies | |
| 3/6 | block: move disk invalidation from del_gendisk() into a helperblock/ | +45 | 0 replies | |
| 4/6 | block: move disk unregistration work from del_gendisk() to a helperblock/ | +24 | 0 replies | |
| 5/6 | block: add initial error handling for *add_disk()* and friendsblock/ block/ block/ +2 more | +171 | 0 replies | |
| 6/6 | loop: add error handling support for add_disk()drivers/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC v1 0/6] block: add error handling for *add_disk*()
While working on some blktrace races I noticed that we don't do error handling on *add_disk*() and friends. This is my initial work on that.
This is based on linux-next tag next-20200428, you can also get this on my branch 20200428-block-fixes [0].
Let me know what you think.
[0] https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/log/?h=20200428-blktrace-fixes
Luis Chamberlain (6):
block: refcount the request_queue early in __device_add_disk()
block: move disk announce work from register_disk() to a helper
block: move disk invalidation from del_gendisk() into a helper
block: move disk unregistration work from del_gendisk() to a helper
block: add initial error handling for *add_disk()* and friends
loop: add error handling support for add_disk()
block/blk-integrity.c | 13 +- block/blk-sysfs.c | 7 +- block/blk.h | 5 +- block/genhd.c | 366 +++++++++++++++++++++++++++--------------- drivers/block/loop.c | 7 +- include/linux/genhd.h | 16 +- 6 files changed, 265 insertions(+), 149 deletions(-)
Signature · 1 line
2.25.1