[PATCH] NVMe: Create module parameter for shutdown timeout.

Mayes, Barrett N barrett.n.mayes at intel.com
Fri Jun 20 10:26:33 PDT 2014


>Those devices are broken.  From the spec:
>"It is recommended that the host wait a minimum of one second for the shutdown operations to complete."
>We're being generous and allowing them two seconds.  Whoever's device this is should fix it.

"Minimum of one second" means "wait at least one second".  It doesn't specify an upper boundary for the maximum time to wait.  I believe there's a proposal in flight to try and clarify this (or there will be soon).

Start stop unit on the SCSI side was more generous with timing, as was standby immediate for ATA.  1 sec. for shutdown, especially to be power fail safe following device acknowledgement is unnecessarily aggressive.



More information about the Linux-nvme mailing list