]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
md: remove legacy 1s delay in md_notify_reboot
authorTarun Sahu <tarunsahu@google.com>
Fri, 21 Nov 2025 19:14:22 +0000 (19:14 +0000)
committerYu Kuai <yukuai@fnnas.com>
Sun, 30 Nov 2025 01:42:28 +0000 (09:42 +0800)
commitfdd0c6a649d24107bbadd249c87feab67b9037c5
tree5e2c16c128ccedea237dcea06815bc0a7f2cedd7
parenta913d1f6a7f607c110aeef8b58c8988f47a4b24e
md: remove legacy 1s delay in md_notify_reboot

During system shutdown, the md driver registered notifier function
(md_notify_reboot) currently imposes a hardcoded one-second delay.

This delay was introduced approximately 23 years ago and was likely
necessary for the hardware generation of that time. Proposing this
patch to make sure there are no known devices that need this delay.

Link: https://lore.kernel.org/linux-raid/20251121191422.2758555-1-tarunsahu@google.com
Signed-off-by: Tarun Sahu <tarunsahu@google.com>
Reviewed-by: Yu Kuai<yukuai@fnnas.com>
Signed-off-by: Yu Kuai <yukuai@fnnas.com>
drivers/md/md.c