Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for /dev/nvmeX NVMe controllers #45

Closed
wants to merge 1 commit into from

Conversation

hjmallon
Copy link
Contributor

@hjmallon hjmallon commented Mar 26, 2019

  • Added nvme scanning for controllers /dev/nvme[0-9]+
  • Added nvme scanning for namespaces /dev/nvme[0-9]+n[0-9]+
  • Fill in namespaces as disks
  • Teach partition scanning about nvme partitions /dev/nvme[0-9]+n[0-9]+p[0-9]+

I have no idea what else would need to be added for this?

  • Should there be docs?
  • Is this a sensible method? How about the fallbacks for parent nodes?

I think this might solve https://ezix.org/project/ticket/752

The NVMe devices I am testing with are PCI-e attached. Each NVMe device can have multiple namespaces (which appear as block devices). Does the layout I have gone for makes sense?

I have not got any more complex NVMe devices to test with, e.g. enterprise level NVMe-over-Fabrics or attached over SAS cables. That will have to come later (if anyone is interested).

All feedback / request for changes welcomed. This is marked as WIP until I can answer the above questions.

* Added nvme scanning for controllers /dev/nvme[0-9]+
* Added nvme scanning for namespaces /dev/nvme[0-9]+n[0-9]+
* Fill in namespaces as disks
* Teach partition scanning about nvme partitions /dev/nvme[0-9]+n[0-9]+p[0-9]+
@hjmallon hjmallon changed the title WIP: add support for /dev/nvmeX NVMe controllers add support for /dev/nvmeX NVMe controllers Mar 29, 2019
@hjmallon hjmallon changed the title add support for /dev/nvmeX NVMe controllers Add support for /dev/nvmeX NVMe controllers Mar 29, 2019
@hjmallon
Copy link
Contributor Author

Is there anything I can do to this pull request to move it forwards?

@ycheng
Copy link

ycheng commented Dec 15, 2019

@hjmallon
Copy link
Contributor Author

I'm closing this, comments and follow up to happen on the Pull Request at exiz.org linked above.

@hjmallon hjmallon closed this Dec 21, 2019
lyonel added a commit that referenced this pull request Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants