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

From: Yu Kuai
Date: Tue Dec 05 2023 - 04:43:26 EST


From: Yu Kuai <yukuai3@xxxxxxxxxx>

Changes in v5:
- fix that unused variable 'sync_seq' is left in patch 3;

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 | 114 +++++++++++++++++++++---------------------------
1 file changed, 50 insertions(+), 64 deletions(-)

--
2.39.2