linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] md: call del_gendisk in sync way
@ 2025-05-07  2:14 Xiao Ni
  2025-05-07  2:14 ` [PATCH 1/3] md: Don't clear MD_CLOSING until mddev is freed Xiao Ni
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Xiao Ni @ 2025-05-07  2:14 UTC (permalink / raw)
  To: linux-raid; +Cc: song, yukuai1, ncroxon

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.

Xiao Ni (3):
  md: Don't clear MD_CLOSING until mddev is freed
  md: replace MD_DELETED with MD_CLOSING
  md: call del_gendisk in sync way

 drivers/md/md.c | 38 +++++++++++++++++++-------------------
 drivers/md/md.h |  2 --
 2 files changed, 19 insertions(+), 21 deletions(-)

-- 
2.32.0 (Apple Git-132)


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-05-12  1:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07  2:14 [PATCH 0/3] md: call del_gendisk in sync way Xiao Ni
2025-05-07  2:14 ` [PATCH 1/3] md: Don't clear MD_CLOSING until mddev is freed Xiao Ni
2025-05-07  2:14 ` [PATCH 2/3] md: replace MD_DELETED with MD_CLOSING Xiao Ni
2025-05-07  6:20   ` Yu Kuai
2025-05-09  9:33     ` Xiao Ni
2025-05-09 10:08       ` Yu Kuai
2025-05-09 10:20         ` Xiao Ni
2025-05-09 10:26           ` Yu Kuai
2025-05-09 11:20             ` Xiao Ni
2025-05-12  1:39               ` Yu Kuai
2025-05-07  2:14 ` [PATCH 3/3] md: call del_gendisk in sync way Xiao Ni
2025-05-07  6:28   ` Yu Kuai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).