From: hare@suse.de (Hannes Reinecke)
Subject: [PATCH 0/3] nvme: fix stuck discovery
Date: Thu, 24 May 2018 16:18:14 +0200 [thread overview]
Message-ID: <20180524141817.127576-1-hare@suse.de> (raw)
Hi all,
when the user manages to abort a 'nvme discover' the resulting discovery
controller is never removed, as it will try to reconnect for ever.
And as the 'duplicate_connect' option is not given any further attempt
will be returned with -EALREADY.
This patchset fixes this issue by a) disabling reconnection attempts
and b) allowing for duplicate connections on the discovery controller.
As usual, comments and reviews are welcome.
Hannes Reinecke (3):
nvme: centralize discovery controller defaults
nvme: avoid reconnection for the discovery controller
nvme: allow duplicate connections to the discovery controller
drivers/nvme/host/core.c | 3 ++-
drivers/nvme/host/fabrics.c | 12 ++++++++----
2 files changed, 10 insertions(+), 5 deletions(-)
--
2.12.3
next reply other threads:[~2018-05-24 14:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-24 14:18 Hannes Reinecke [this message]
2018-05-24 14:18 ` [PATCH 1/3] nvme: centralize discovery controller defaults Hannes Reinecke
2018-05-24 20:31 ` James Smart
2018-05-25 8:55 ` Christoph Hellwig
2018-05-24 14:18 ` [PATCH 2/3] nvme: avoid reconnection for the discovery controller Hannes Reinecke
2018-05-24 20:30 ` James Smart
2018-05-25 6:43 ` Hannes Reinecke
2018-05-24 14:18 ` [PATCH 3/3] nvme: allow duplicate connections to " Hannes Reinecke
2018-05-24 20:31 ` James Smart
2018-05-25 8:56 ` Christoph Hellwig
2018-06-18 16:11 ` James Smart
2018-06-18 22:54 ` Hannes Reinecke
2018-06-18 23:57 ` James Smart
2018-06-19 10:05 ` Hannes Reinecke
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=20180524141817.127576-1-hare@suse.de \
--to=hare@suse.de \
/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;
as well as URLs for NNTP newsgroup(s).