On Wed, Aug 16, 2017@03:55:52PM -0400, Martin K. Petersen wrote:
If an NVMe controller reports RTD3 Entry Latency bigger than
shutdown_timeout, use that value to set the shutdown timer. Otherwise
fall back to the module parameter which defaults to 5 seconds.
My only concern is if this value extends past the DPM_WATCHDOG timeout
value. If it does we're going to end up panic()ing the kernel during
suspends. If others agree I think we should set it to the minimum value
of DPM_WATCHDOG_TIMEOUT and shutdown_timeout.