Skip to content

md: call del_gendisk in sync way

Xiao Ni linux-raid 6 versions – Applied

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

  1. v6 Latest3 patches 7 repliesApplied
  2. v53 patches 3 repliesSuperseded
  3. v43 patches 3 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v30 of 2 patches0 repliesSuperseded
v22 patches6 repliesSuperseded
v13 patches8 repliesSuperseded

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/3md: call del_gendisk in control pathdrivers/md/md.c drivers/md/md.h+47 -122 replies
2/3md: Don't clear MD_CLOSING until mddev is freeddrivers/md/md.c+4 -120 replies
3/3md: remove/add redundancy group only in level changedrivers/md/md.c+0 -20 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchYu Kuai
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

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)