[PATCH v4 md-fixes 0/3] md: fix stopping sync thread

From: Yu Kuai
Date: Mon Dec 04 2023 - 08:58:42 EST


From: Yu Kuai <yukuai3@xxxxxxxxxx>

Changes in v4:
- add fix tag in patch 2;
- rework patch 3, as suggested by Song Liu;

Changes in v3:
- split bugfix patches for md-fixes

Changes in v2:
- add patch 2;
- split some patches from v1 that will be sent separately;
- rework some commit message;
- rework patch 5;

Yu Kuai (3):
md: fix missing flush of sync_work
md: don't leave 'MD_RECOVERY_FROZEN' in error path of
md_set_readonly()
md: fix stopping sync thread

drivers/md/md.c | 112 +++++++++++++++++++++---------------------------
1 file changed, 50 insertions(+), 62 deletions(-)

--
2.39.2