diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-05-04 13:33:15 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-15 14:29:49 +0200 |
commit | fdf9dfa85093f9813bc9818b7920fcf5a0eb3580 (patch) | |
tree | 32522071605adb2bcee5bdbb22c4e5f7e7968467 /drivers/nvme/host/fabrics.h | |
parent | c669ccdc50c28ecb002b567c78b41f7d1cf5ec49 (diff) |
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.h | 2 |
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; }; |