[PATCH] nvme: Honor RTD3 Entry Latency for shutdowns

Scott Bauer scott.bauer at intel.com
Wed Aug 16 13:25:44 PDT 2017


On Wed, Aug 16, 2017 at 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.




More information about the Linux-nvme mailing list