nvme: fix stuck discovery
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | nvme: centralize discovery controller defaultsdrivers/ | +4 | 2 replies | |
| 2/3 | nvme: avoid reconnection for the discovery controllerdrivers/ | +3 | 1 reply | |
| 2/3 | nvme: avoid reconnection for the discovery controller | +0 | 0 replies | |
| 3/3 | nvme: allow duplicate connections to the discovery controllerdrivers/ drivers/ | +3 | 3 replies | |
| 3/3 | nvme: allow duplicate connections to the discovery controller | +0 | 1 reply | |
| 3/3 | nvme: allow duplicate connections to the discovery controller | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] nvme: fix stuck discovery
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(-)
Signature · 1 line
2.12.3