Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nvme-fc: change default devloss_tmo to 30s
@ 2020-05-01 21:45 James Smart
  2020-05-01 21:50 ` himanshu.madhani
  2020-05-02  6:38 ` Christoph Hellwig
  0 siblings, 2 replies; 4+ messages in thread
From: James Smart @ 2020-05-01 21:45 UTC (permalink / raw)
  To: linux-nvme; +Cc: Arun Easi, James Smart, Himanshu Madhani

Transport default devloss_tmo is 60s. However, both lldd's use a
driver default devloss_tmo of 30s.  Rather having an inconsistency if
the transport value is used, set the transport default to 30s.

Signed-off-by: James Smart <jsmart2021@gmail.com>
CC: Himanshu Madhani <himanshu.madhani@oracle.com>
CC: Arun Easi <aeasi@marvell.com>
---
 drivers/nvme/host/fc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nvme/host/fc.c b/drivers/nvme/host/fc.c
index 1921d2195541..0aa3767cbb1c 100644
--- a/drivers/nvme/host/fc.c
+++ b/drivers/nvme/host/fc.c
@@ -25,7 +25,7 @@ enum nvme_fc_queue_flags {
 	NVME_FC_Q_LIVE,
 };
 
-#define NVME_FC_DEFAULT_DEV_LOSS_TMO	60	/* seconds */
+#define NVME_FC_DEFAULT_DEV_LOSS_TMO	30	/* seconds */
 
 struct nvme_fc_queue {
 	struct nvme_fc_ctrl	*ctrl;
-- 
2.26.1


_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

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

end of thread, other threads:[~2020-05-02 14:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-01 21:45 [PATCH] nvme-fc: change default devloss_tmo to 30s James Smart
2020-05-01 21:50 ` himanshu.madhani
2020-05-02  6:38 ` Christoph Hellwig
2020-05-02 14:09   ` James Smart

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