summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/fabrics.h
diff options
context:
space:
mode:
authorSagi Grimberg2016-06-22 14:06:01 +0200
committerJens Axboe2016-07-12 17:31:11 +0200
commit6a92967ccbfc20f94055c9a94bf951230cbd0452 (patch)
tree7620fe4a35acb7a2caf6969b4f5cf9c07c68b77b /drivers/nvme/host/fabrics.h
parentnvme-rdma: Don't use tl_retry_count (diff)
downloadkernel-qcow2-linux-6a92967ccbfc20f94055c9a94bf951230cbd0452.tar.gz
kernel-qcow2-linux-6a92967ccbfc20f94055c9a94bf951230cbd0452.tar.xz
kernel-qcow2-linux-6a92967ccbfc20f94055c9a94bf951230cbd0452.zip
nvme-fabrics: Remove tl_retry_count
The timeout before error recovery logic kicks in is dictated by the nvme keep-alive, so we don't really need a transport layer retry count. transports can retry for as much as they like. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/nvme/host/fabrics.h')
-rw-r--r--drivers/nvme/host/fabrics.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/nvme/host/fabrics.h b/drivers/nvme/host/fabrics.h
index b54067404963..89df52c8be97 100644
--- a/drivers/nvme/host/fabrics.h
+++ b/drivers/nvme/host/fabrics.h
@@ -69,8 +69,6 @@ enum {
* @trsvcid: network port used for host-controller communication.
* @queue_size: Number of IO queue elements.
* @nr_io_queues: Number of controller IO queues that will be established.
- * @tl_retry_count: Number of transport layer retries for a fabric queue before
- * kicking upper layer(s) error recovery.
* @reconnect_delay: Time between two consecutive reconnect attempts.
* @discovery_nqn: indicates if the subsysnqn is the well-known discovery NQN.
* @kato: Keep-alive timeout.
@@ -84,7 +82,6 @@ struct nvmf_ctrl_options {
char *trsvcid;
size_t queue_size;
unsigned int nr_io_queues;
- unsigned short tl_retry_count;
unsigned int reconnect_delay;
bool discovery_nqn;
unsigned int kato;