[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPhsuW74Xkhpk=gHBxeSydCZ2R=UvW3mVmg8qE8Di0_7RqUnrg@mail.gmail.com>
Date: Thu, 3 Mar 2022 22:23:52 -0800
From: Song Liu <song@...nel.org>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>,
linux-raid <linux-raid@...r.kernel.org>
Subject: Re: [PATCH] md: use msleep() in md_notify_reboot()
On Thu, Mar 3, 2022 at 3:19 PM Eric Dumazet <eric.dumazet@...il.com> wrote:
>
> From: Eric Dumazet <edumazet@...gle.com>
>
> Calling mdelay(1000) from process context, even while a reboot
> is in progress, does not make sense.
>
> Using msleep() allows other threads to make progress.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: linux-raid@...r.kernel.org
Applied to md-next. Thanks!
Song
Powered by blists - more mailing lists