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

Matthew Wilcox willy at linux.intel.com
Fri Jun 20 10:15:52 PDT 2014


On Fri, Jun 20, 2014 at 03:22:54AM -0600, Dan McLeran wrote:
> The current implementation hard-codes shutdown timeout to 2 seconds. Some devices take
> longer than this to successfully complete a normal shutdown. This patch creates a module
> parameter for shutdown timeout and sets the default to 5 seconds.

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.



More information about the Linux-nvme mailing list