Re: [PATCH v5 00/14] dm-raid/md/raid: fix v6.7 regressions

From: Song Liu
Date: Thu Feb 15 2024 - 17:24:57 EST


On Thu, Feb 1, 2024 at 1:30 AM Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> wrote:
>
[...]
>
> [1] https://lore.kernel.org/all/CALTww29QO5kzmN6Vd+jT=-8W5F52tJjHKSgrfUc1Z1ZAeRKHHA@xxxxxxxxxxxxxx/
>
> Yu Kuai (14):
> md: don't ignore suspended array in md_check_recovery()
> md: don't ignore read-only array in md_check_recovery()
> md: make sure md_do_sync() will set MD_RECOVERY_DONE
> md: don't register sync_thread for reshape directly
> md: don't suspend the array for interrupted reshape
> md: fix missing release of 'active_io' for flush

Applied 1/14-5/14 to md-6.8 branch (6/14 was applied earlier).

Thanks,
Song


> md: export helpers to stop sync_thread
> md: export helper md_is_rdwr()
> dm-raid: really frozen sync_thread during suspend
> md/dm-raid: don't call md_reap_sync_thread() directly
> dm-raid: add a new helper prepare_suspend() in md_personality
> md/raid456: fix a deadlock for dm-raid456 while io concurrent with
> reshape
> dm-raid: fix lockdep waring in "pers->hot_add_disk"
> dm-raid: remove mddev_suspend/resume()
>
> drivers/md/dm-raid.c | 78 +++++++++++++++++++--------
> drivers/md/md.c | 126 +++++++++++++++++++++++++++++--------------
> drivers/md/md.h | 16 ++++++
> drivers/md/raid10.c | 16 +-----
> drivers/md/raid5.c | 61 +++++++++++----------
> 5 files changed, 192 insertions(+), 105 deletions(-)
>
> --
> 2.39.2
>
>