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

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.

v2: don't remove MD_DELETED

Xiao Ni (2):
  md: Don't clear MD_CLOSING until mddev is freed
  md: call del_gendisk in control path

 drivers/md/md.c | 68 ++++++++++++++++++++++++++++++++++++-------------
 drivers/md/md.h | 16 +++++++++++-
 2 files changed, 65 insertions(+), 19 deletions(-)

-- 
2.32.0 (Apple Git-132)


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

end of thread, other threads:[~2025-05-30  8:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-15  9:08 [PATCH V2 0/2] md: call del_gendisk in sync way Xiao Ni
2025-05-15  9:08 ` [PATCH 1/2] md: Don't clear MD_CLOSING until mddev is freed Xiao Ni
2025-05-27  2:01   ` Yu Kuai
2025-05-30  6:48   ` Yu Kuai
2025-05-30  6:58     ` Xiao Ni
2025-05-30  7:57     ` Xiao Ni
2025-05-30  8:11       ` Yu Kuai
2025-05-15  9:08 ` [PATCH 2/2] md: call del_gendisk in control path Xiao Ni
2025-05-27  2:11   ` 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).