Skip to content

fabrics: skip connected controllers in nvme_connect_config() - #4150

Open
joaquinv98 wants to merge 1 commit into
linux-nvme:nvme-cli-2.xfrom
joaquinv98:pr/connect-config-skip-connected
Open

joaquinv98 wants to merge 1 commit into
linux-nvme:nvme-cli-2.xfrom
joaquinv98:pr/connect-config-skip-connected

Conversation

@joaquinv98

Copy link
Copy Markdown

Skip already connected controllers in nvme_connect_config() unless their configuration sets duplicate_connect.

This avoids retrying live controllers found by the topology scan.

For nvme-cli-2.x. Same five-line change with a shorter commit message.

The topology scan adds live controllers to the config tree.
Skip them unless their configuration sets duplicate_connect.
This avoids retrying connections that already exist.

Fixes: fbde909 ("fabrics: add support to connect to accept a configuration")
Signed-off-by: Joaquin Varela <joaquinvarela@neatech.ar>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant