Re: Linux kernel: delay before power-off

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



On 1/23/23 11:40, Friedrich Romstedt wrote:
Hi,
...

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.

gene


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.




[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