Commit 1a3838d7 authored by Max Gurtovoy's avatar Max Gurtovoy Committed by Christoph Hellwig

nvme: modify the debug level for setting shutdown timeout

When an NVMe controller reports RTD3 Entry Latency larger than the value
of shutdown_timeout module parameter, we update the shutdown_timeout
accordingly to honor RTD3 Entry Latency. Use an informational debug level
instead of a warning level for it.
Signed-off-by: default avatarMax Gurtovoy <maxg@mellanox.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 4caff8fc
...@@ -2252,7 +2252,7 @@ int nvme_init_identify(struct nvme_ctrl *ctrl) ...@@ -2252,7 +2252,7 @@ int nvme_init_identify(struct nvme_ctrl *ctrl)
shutdown_timeout, 60); shutdown_timeout, 60);
if (ctrl->shutdown_timeout != shutdown_timeout) if (ctrl->shutdown_timeout != shutdown_timeout)
dev_warn(ctrl->device, dev_info(ctrl->device,
"Shutdown timeout set to %u seconds\n", "Shutdown timeout set to %u seconds\n",
ctrl->shutdown_timeout); ctrl->shutdown_timeout);
} else } else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment