[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240126092254.1314908-1-linan666@huaweicloud.com>
Date: Fri, 26 Jan 2024 17:22:50 +0800
From: linan666@...weicloud.com
To: song@...nel.org,
neilb@...e.com,
shli@...com,
mariusz.tkaczyk@...ux.intel.com
Cc: linux-raid@...r.kernel.org,
linux-kernel@...r.kernel.org,
linan666@...weicloud.com,
yukuai3@...wei.com,
yi.zhang@...wei.com,
houtao1@...wei.com,
yangerkun@...wei.com
Subject: [PATCH v4 0/4] md: Don't clear MD_CLOSING when the raid is about to stop
From: Li Nan <linan122@...wei.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
Powered by blists - more mailing lists