Re: [PATCH -next 0/2] md: fix potential hang for mddev_suspend()

From: Xiao Ni
Date: Mon Sep 25 2023 - 03:59:07 EST


On Sat, Sep 23, 2023 at 5:33 AM Song Liu <song@xxxxxxxxxx> wrote:
>
> On Wed, Aug 30, 2023 at 2:33 AM Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> wrote:
> >
> > From: Yu Kuai <yukuai3@xxxxxxxxxx>
> >
> > Yu Kuai (2):
> > md: factor out helpers to grab and put 'active_io'
> > md: fix potential hang for mddev_suspend()
>
> Applied to md-next. Thanks!
>
> Song
>
> >
> > drivers/md/md.c | 36 ++++++++++++++++++++++++++++++------
> > 1 file changed, 30 insertions(+), 6 deletions(-)
> >
> > --
> > 2.39.2
> >
>

Hi all

For the second patch, active_io_release does this job. So it doesn't
need to do this in md_array_exit again.

Best Regards
Xiao