mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/4]  md: Don't clear MD_CLOSING when the raid is about to stop
@ 2024-01-26  9:22 linan666
  2024-01-26  9:22 ` [PATCH v4 1/4] " linan666
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: linan666 @ 2024-01-26  9:22 UTC (permalink / raw)
  To: song, neilb, shli, mariusz.tkaczyk
  Cc: linux-raid, linux-kernel, linan666, yukuai3, yi.zhang, houtao1,
	yangerkun

From: Li Nan <linan122@huawei.com>

Changes in v4:
 - insert 'break;' to avoid fall-through in patch 3.

Changes in v3:
 - rename vaires 'did_set_md_closing' in patch 1.
 - rename function mddev_set_closing_and_sync_blockdev() in patch 2.
 - reorganize conditions in patch 3.
 - add a new patch to clean up md_set_readonly().

Changes in v2:
 - don't clear MD_CLOSING in md_clean().
 - set MD_CLOSING and sync blockdev in array_state_store().

Li Nan (4):
  md: Don't clear MD_CLOSING when the raid is about to stop
  md: factor out a helper to sync mddev
  md: sync blockdev before stopping raid or setting readonly
  md: check mddev->pers before calling md_set_readonly()

 drivers/md/md.c | 98 ++++++++++++++++++++++++++++++++++---------------
 1 file changed, 69 insertions(+), 29 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2024-01-27  8:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-26  9:22 [PATCH v4 0/4] md: Don't clear MD_CLOSING when the raid is about to stop linan666
2024-01-26  9:22 ` [PATCH v4 1/4] " linan666
2024-01-27  8:38   ` Yu Kuai
2024-01-26  9:22 ` [PATCH v4 2/4] md: factor out a helper to sync mddev linan666
2024-01-26  9:22 ` [PATCH v4 3/4] md: sync blockdev before stopping raid or setting readonly linan666
2024-01-26  9:22 ` [PATCH v4 4/4] md: check mddev->pers before calling md_set_readonly() linan666

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®