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.mcle...@intel.com>
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.

Reply via email to