* [PATCH] nvme: change shutdown timeout setting message
@ 2024-03-07 16:59 Keith Busch
2024-03-08 0:11 ` Chaitanya Kulkarni
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Keith Busch @ 2024-03-07 16:59 UTC (permalink / raw)
To: linux-nvme; +Cc: hch, sagi, Keith Busch, Len Brown
From: Keith Busch <kbusch@kernel.org>
User visible messages containing the word "timeout" can be alarming.
This one nvme is just reporting a potentially informative device
configuration, and everything is working as designed. Change the text to
report the less concerning "D3 entry latency", which is where this value
comes from anyway.
Reported-by: Len Brown <lenb@kernel.org>
Signed-off-by: Keith Busch <kbusch@kernel.org>
---
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 2baf5786a92fe..0dcaf3973dc49 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -3233,7 +3233,7 @@ static int nvme_init_identify(struct nvme_ctrl *ctrl)
if (ctrl->shutdown_timeout != shutdown_timeout)
dev_info(ctrl->device,
- "Shutdown timeout set to %u seconds\n",
+ "D3 entry latency set to %u seconds\n",
ctrl->shutdown_timeout);
} else
ctrl->shutdown_timeout = shutdown_timeout;
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] nvme: change shutdown timeout setting message
2024-03-07 16:59 [PATCH] nvme: change shutdown timeout setting message Keith Busch
@ 2024-03-08 0:11 ` Chaitanya Kulkarni
2024-03-08 10:09 ` Sagi Grimberg
2024-03-08 14:45 ` Christoph Hellwig
2 siblings, 0 replies; 4+ messages in thread
From: Chaitanya Kulkarni @ 2024-03-08 0:11 UTC (permalink / raw)
To: Keith Busch, linux-nvme; +Cc: hch, sagi, Keith Busch, Len Brown
On 3/7/24 08:59, Keith Busch wrote:
> From: Keith Busch <kbusch@kernel.org>
>
> User visible messages containing the word "timeout" can be alarming.
> This one nvme is just reporting a potentially informative device
> configuration, and everything is working as designed. Change the text to
> report the less concerning "D3 entry latency", which is where this value
> comes from anyway.
>
> Reported-by: Len Brown <lenb@kernel.org>
> Signed-off-by: Keith Busch <kbusch@kernel.org>
> ---
Looks good.
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
-ck
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] nvme: change shutdown timeout setting message
2024-03-07 16:59 [PATCH] nvme: change shutdown timeout setting message Keith Busch
2024-03-08 0:11 ` Chaitanya Kulkarni
@ 2024-03-08 10:09 ` Sagi Grimberg
2024-03-08 14:45 ` Christoph Hellwig
2 siblings, 0 replies; 4+ messages in thread
From: Sagi Grimberg @ 2024-03-08 10:09 UTC (permalink / raw)
To: Keith Busch, linux-nvme; +Cc: hch, Keith Busch, Len Brown
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] nvme: change shutdown timeout setting message
2024-03-07 16:59 [PATCH] nvme: change shutdown timeout setting message Keith Busch
2024-03-08 0:11 ` Chaitanya Kulkarni
2024-03-08 10:09 ` Sagi Grimberg
@ 2024-03-08 14:45 ` Christoph Hellwig
2 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2024-03-08 14:45 UTC (permalink / raw)
To: Keith Busch; +Cc: linux-nvme, hch, sagi, Keith Busch, Len Brown
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-03-08 14:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-07 16:59 [PATCH] nvme: change shutdown timeout setting message Keith Busch
2024-03-08 0:11 ` Chaitanya Kulkarni
2024-03-08 10:09 ` Sagi Grimberg
2024-03-08 14:45 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).