Skip to content

Fixes for python discovery#1061

Merged
igaw merged 3 commits intolinux-nvme:masterfrom
hreinecke:py-discovery
Sep 4, 2025
Merged

Fixes for python discovery#1061
igaw merged 3 commits intolinux-nvme:masterfrom
hreinecke:py-discovery

Conversation

@hreinecke
Copy link
Copy Markdown
Collaborator

I found a rather stupid typo in nvme:discover, and to ensure we catch similar issues going forward I've also added a python discovery script.

The check for existing controller is inverted.

Signed-off-by: Hannes Reinecke <[email protected]>
@igaw
Copy link
Copy Markdown
Collaborator

igaw commented Sep 3, 2025

Shouldn't the example go into the examples directory then?

Update subsystem definitions to include all attributes from the
underlying structure.

Signed-off-by: Hannes Reinecke <[email protected]>
Update the discovery-loop.py example to use the tcp transport and
fix an issue where the controller wasn't disconnected when the
disovery failed.

Signed-off-by: Hannes Reinecke <[email protected]>
@hreinecke
Copy link
Copy Markdown
Collaborator Author

Shouldn't the example go into the examples directory then?

You are right. Fixed now.

@hreinecke hreinecke closed this Sep 4, 2025
@hreinecke hreinecke reopened this Sep 4, 2025
@igaw igaw merged commit 284659b into linux-nvme:master Sep 4, 2025
24 checks passed
@igaw
Copy link
Copy Markdown
Collaborator

igaw commented Sep 4, 2025

Thanks!

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.

2 participants