Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: James Smart <jsmart2021@gmail.com>
To: linux-nvme@lists.infradead.org
Cc: Arun Easi <aeasi@marvell.com>, James Smart <jsmart2021@gmail.com>,
	Himanshu Madhani <himanshu.madhani@oracle.com>
Subject: [PATCH] nvme-fc: change default devloss_tmo to 30s
Date: Fri,  1 May 2020 14:45:49 -0700	[thread overview]
Message-ID: <20200501214549.95949-1-jsmart2021@gmail.com> (raw)

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

             reply	other threads:[~2020-05-01 21:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-01 21:45 James Smart [this message]
2020-05-01 21:50 ` [PATCH] nvme-fc: change default devloss_tmo to 30s himanshu.madhani
2020-05-02  6:38 ` Christoph Hellwig
2020-05-02 14:09   ` James Smart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200501214549.95949-1-jsmart2021@gmail.com \
    --to=jsmart2021@gmail.com \
    --cc=aeasi@marvell.com \
    --cc=himanshu.madhani@oracle.com \
    --cc=linux-nvme@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox