Skip to content

RFC md: call del_gendisk in sync way

Xiao Ni linux-raid 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 of 3 patches 1 replyIn review

2 of 3 patches are in this archive. The cover letter announces 3.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/3md: replace ->openers with ->activedrivers/md/md.c drivers/md/md.h+17 -411 reply
3/3md: call del_gendisk in sync waydrivers/md/md.c+10 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RFC 0/3] md: call del_gendisk in sync way

This patch clears some flags and counters related stopping an array and calls del_gendisk in sync way.

This patch set can cause a deadlock when stopping imsm raid1, I'm investigating this deadlock problem to resovle this.

Xiao Ni (3):
md: replace MD_DELETED with MD_CLOSING
md: replace ->openers with ->active
md: call del_gendisk in sync way

 drivers/md/md.c | 67 ++++++++++++++++++++++---------------------------
 drivers/md/md.h | 13 ----------
 2 files changed, 30 insertions(+), 50 deletions(-)
Signature · 1 line
2.32.0 (Apple Git-132)