[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPhsuW4zXj_8p3Kwh7oJt2oHc4u1bEbgbrzPXiNuod+AGW58gA@mail.gmail.com>
Date: Tue, 27 Aug 2024 09:58:23 -0700
From: Song Liu <song@...nel.org>
To: Yu Kuai <yukuai1@...weicloud.com>
Cc: yukuai3@...wei.com, linux-raid@...r.kernel.org,
linux-kernel@...r.kernel.org, yi.zhang@...wei.com, yangerkun@...wei.com
Subject: Re: [PATCH -next] md: don't flush sync_work in md_write_start()
On Thu, Aug 1, 2024 at 5:51 AM Yu Kuai <yukuai1@...weicloud.com> wrote:
>
> From: Yu Kuai <yukuai3@...wei.com>
>
> Because flush sync_work may trigger mddev_suspend() if there are spares,
> and this should never be done in IO path because mddev_suspend() is used
> to wait for IO.
>
> This problem is found by code review.
>
> Fixes: bc08041b32ab ("md: suspend array in md_start_sync() if array need reconfiguration")
> Signed-off-by: Yu Kuai <yukuai3@...wei.com>
Applied to md-6.12. Thanks!
Song
Powered by blists - more mailing lists