mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] nvme: Use pr_dbg, not pr_info, when setting shutdown timeout
@ 2024-03-07  1:05 Len Brown
  2024-03-07  7:39 ` Sagi Grimberg
  2024-03-07  9:28 ` Max Gurtovoy
  0 siblings, 2 replies; 7+ messages in thread
From: Len Brown @ 2024-03-07  1:05 UTC (permalink / raw)
  To: kbusch, linux-nvme; +Cc: maxg, axboe, hch, sagi, linux-kernel, Len Brown

From: Len Brown <len.brown@intel.com>

Some words are alarming in routine kernel messages.
"timeout" is one of them...

Here NVME is routinely setting a timeout value,
rather than reporting that a timeout has occurred.

Assuming this message is actually useful to somebody somewhere,
let's make it DEBUG level...

Fixes: 1a3838d732ea ("nvme: modify the debug level for setting shutdown timeout")

Signed-off-by: Len Brown <len.brown@intel.com>
---
 drivers/nvme/host/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 0a96362912ce..e361af1953a4 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -3205,7 +3205,7 @@ static int nvme_init_identify(struct nvme_ctrl *ctrl)
 						 shutdown_timeout, 60);
 
 		if (ctrl->shutdown_timeout != shutdown_timeout)
-			dev_info(ctrl->device,
+			dev_dbg(ctrl->device,
 				 "Shutdown timeout set to %u seconds\n",
 				 ctrl->shutdown_timeout);
 	} else
-- 
2.40.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-03-07 16:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-07  1:05 [PATCH 1/1] nvme: Use pr_dbg, not pr_info, when setting shutdown timeout Len Brown
2024-03-07  7:39 ` Sagi Grimberg
2024-03-07  9:28 ` Max Gurtovoy
2024-03-07 14:27   ` Len Brown
2024-03-07 15:17     ` Keith Busch
2024-03-07 15:23       ` Keith Busch
2024-03-07 16:25         ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®