Re: [PATCH] md: use msleep() in md_notify_reboot()
From: Song Liu
Date: Fri Mar 04 2022 - 01:24:15 EST
On Thu, Mar 3, 2022 at 3:19 PM Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:
>
> From: Eric Dumazet <edumazet@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Cc: linux-raid@xxxxxxxxxxxxxxx
Applied to md-next. Thanks!
Song