summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/fabrics.h
diff options
context:
space:
mode:
authorSagi Grimberg2017-05-04 12:33:15 +0200
committerChristoph Hellwig2017-06-15 14:29:49 +0200
commitfdf9dfa85093f9813bc9818b7920fcf5a0eb3580 (patch)
tree32522071605adb2bcee5bdbb22c4e5f7e7968467 /drivers/nvme/host/fabrics.h
parentnvme: queue ns scanning and async request from nvme_wq (diff)
downloadkernel-qcow2-linux-fdf9dfa85093f9813bc9818b7920fcf5a0eb3580.tar.gz
kernel-qcow2-linux-fdf9dfa85093f9813bc9818b7920fcf5a0eb3580.tar.xz
kernel-qcow2-linux-fdf9dfa85093f9813bc9818b7920fcf5a0eb3580.zip
nvme: move nr_reconnects to nvme_ctrl
It is not a user option but rather a variable controller attribute. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/fabrics.h')
-rw-r--r--drivers/nvme/host/fabrics.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/nvme/host/fabrics.h b/drivers/nvme/host/fabrics.h
index 29be7600689d..f1c9bd7ae7ff 100644
--- a/drivers/nvme/host/fabrics.h
+++ b/drivers/nvme/host/fabrics.h
@@ -80,7 +80,6 @@ enum {
* @discovery_nqn: indicates if the subsysnqn is the well-known discovery NQN.
* @kato: Keep-alive timeout.
* @host: Virtual NVMe host, contains the NQN and Host ID.
- * @nr_reconnects: number of reconnect attempted since the last ctrl failure
* @max_reconnects: maximum number of allowed reconnect attempts before removing
* the controller, (-1) means reconnect forever, zero means remove
* immediately;
@@ -98,7 +97,6 @@ struct nvmf_ctrl_options {
bool discovery_nqn;
unsigned int kato;
struct nvmf_host *host;
- int nr_reconnects;
int max_reconnects;
};