mirror_zfs/contrib/initramfs/scripts
George Wilson f18e083bf8
rootdelay on zfs should be adaptive
The 'rootdelay' boot option currently pauses the boot for a specified
amount of time. The original intent was to ensure that slower
configurations would have ample time to enumerate the devices to make
importing the root pool successful. This, however, causes unnecessary
boot delay for environments like Azure which set this parameter by
default.

This commit changes the initramfs logic to pause until it can
successfully load the 'zfs' module. The timeout specified by
'rootdelay' now becomes the maximum amount of time that initramfs will
wait before failing the boot.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Prakash Surya <prakash.surya@delphix.com>
Signed-off-by: George Wilson <gwilson@delphix.com>
Closes #14430
2023-02-02 15:11:35 -08:00
..
local-top autoconf: use include directives instead of recursing down contrib 2022-05-10 10:19:44 -07:00
.gitignore contrib/initramfs: switch to automake 2017-11-07 14:53:57 -08:00
zfs rootdelay on zfs should be adaptive 2023-02-02 15:11:35 -08:00