Re: Linux kernel: delay before power-off

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi!

Am Mo., 23. Jan. 2023 um 18:08 Uhr schrieb Genes Lists <lists@xxxxxxxxxxxx>:
>
> I haven't been following this thread - but I'm curious.
> Does this very old commit (2014) not do what's needed?
> I just checked a couple machines smartctl and indeed I also see unsafe
> shutdowns being logged for nvme disks (not for other ssd or spinners).
>
> 2 seconds seems to be the default and looks like there is a parameter
> already to extend this.

If there is some kind of parameter already present I would prefer using this.

> commit 2484f40780b97df1b5eb09e78ce4efaa78b21875
> Author: Dan McLeran <daniel.mcleran@xxxxxxxxx>
> Date:   Tue Jul 1 09:33:32 2014 -0600
>
>      NVMe: Add shutdown timeout as module parameter.
>
>      The current implementation hard-codes the shutdown timeout to 2
> seconds.
>      Some devices take longer than this to complete a normal shutdown.
>      Changing the shutdown timeout to a module parameter with a default
>      timeout of 5 seconds.

What commit do you refer here to? From googling the hash I guess it is
some kind of a kernel patch, but maybe you can clarify a little?

Best,
Friedrich



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux