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

From: Yu Kuai
Date: Mon Sep 25 2023 - 04:55:02 EST


Hi,

在 2023/09/25 15:58, Xiao Ni 写道:
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.

Yes, this is correct, I missed this while reviewing related code.

Song, can you revert this patchset for now? Sorry for the trouble.

Thanks,
Kuai


Best Regards
Xiao

.