md: call del_gendisk in sync way
Status from this message: Applied to md-6.16
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest3 patches 7 repliesApplied
- v53 patches 3 repliesSuperseded
- v43 patches 3 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 0 of 2 patches | 0 replies | Superseded | |
| v2 | 2 patches | 6 replies | Superseded | |
| v1 | 3 patches | 8 replies | Superseded |
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | md: call del_gendisk in control pathdrivers/ drivers/ | +47 | 2 replies | |
| 2/3 | md: Don't clear MD_CLOSING until mddev is freeddrivers/ | +4 | 0 replies | |
| 3/3 | md: remove/add redundancy group only in level changedrivers/ | +0 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Yu Kuai |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V6 0/3] md: call del_gendisk in sync way
Now del_gendisk is called in a queue work which has a small window that mdadm --stop command exits but the device node still exists. It causes trouble in regression tests. This patch set tries to resolve this problem.
v1: replace MD_DELETED with MD_CLOSING
v2: keep MD_CLOSING
v3: call den_gendisk in mddev_unlock, and remove ->to_remove in stop path and adjust the order of patches
v4: only remove the codes in stop path.
v5: remove sysfs_remove in md_kobj_release and change EBUSY with ENODEV
v6: don't initialize ret and add reviewed-by tag
Xiao Ni (3):
md: call del_gendisk in control path
md: Don't clear MD_CLOSING until mddev is freed
md: remove/add redundancy group only in level change
drivers/md/md.c | 49 ++++++++++++++++++++++++++----------------------- drivers/md/md.h | 26 ++++++++++++++++++++++++-- 2 files changed, 50 insertions(+), 25 deletions(-)
Signature · 1 line
2.32.0 (Apple Git-132)