[PATCH v2 0/6] md: bugfix and cleanup for sync_thread

Yu Kuai posted 6 patches 2 years ago
drivers/md/dm-raid.c |   3 +
drivers/md/md.c      | 149 ++++++++++++++++++++-----------------------
drivers/md/raid5.c   |   6 +-
3 files changed, 75 insertions(+), 83 deletions(-)
[PATCH v2 0/6] md: bugfix and cleanup for sync_thread
Posted by Yu Kuai 2 years ago
From: Yu Kuai <yukuai3@huawei.com>

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 (6):
  md: fix missing flush of sync_work
  md: remove redundant check of 'mddev->sync_thread'
  md: remove redundant md_wakeup_thread()
  md: don't leave 'MD_RECOVERY_FROZEN' in error path of
    md_set_readonly()
  md: fix stopping sync thread
  dm-raid: delay flushing event_work() after reconfig_mutex is released

 drivers/md/dm-raid.c |   3 +
 drivers/md/md.c      | 149 ++++++++++++++++++++-----------------------
 drivers/md/raid5.c   |   6 +-
 3 files changed, 75 insertions(+), 83 deletions(-)

-- 
2.39.2
Re: [PATCH v2 0/6] md: bugfix and cleanup for sync_thread
Posted by Xiao Ni 2 years ago
On Fri, Nov 24, 2023 at 4:00 PM Yu Kuai <yukuai1@huaweicloud.com> wrote:
>
> From: Yu Kuai <yukuai3@huawei.com>
>
> 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 (6):
>   md: fix missing flush of sync_work
>   md: remove redundant check of 'mddev->sync_thread'
>   md: remove redundant md_wakeup_thread()
>   md: don't leave 'MD_RECOVERY_FROZEN' in error path of
>     md_set_readonly()
>   md: fix stopping sync thread
>   dm-raid: delay flushing event_work() after reconfig_mutex is released
>
>  drivers/md/dm-raid.c |   3 +
>  drivers/md/md.c      | 149 ++++++++++++++++++++-----------------------
>  drivers/md/raid5.c   |   6 +-
>  3 files changed, 75 insertions(+), 83 deletions(-)
>
> --
> 2.39.2
>
For the series
Acked-by: Xiao Ni <xni@redhat.com>