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

FreeBSD NVME support #37

Closed
darkfiberiru opened this issue May 18, 2020 · 9 comments
Closed

FreeBSD NVME support #37

darkfiberiru opened this issue May 18, 2020 · 9 comments
Assignees

Comments

@darkfiberiru
Copy link

openSeaChest needs to be able to talk to FreeBSD nvme driver. As far as I'm aware just needs low level plumbing

@darkfiberiru
Copy link
Author

I assume this would be added here https://github.com/Seagate/opensea-transport/blob/develop/src/cam_helper.c and maybe rename cam_helper.c to freebsd_helper.c as there is a lower nvme layer that supports a direct nvme implmentation and a implemntation of nvme through cam.

@vonericsen
Copy link
Contributor

Hi @darkfiberiru,
All it needs is the plumbing and some testing. We have been investigating it and know that is it possible to add and make work and have started some work internally for it.
It'll probably go into cam_helper.c for now, but we are thinking about how we want to better organize the files and file names in the future.
Thank you!

@darkfiberiru
Copy link
Author

This may be good starting/reference point with compat layer work @bsdimp did on nvme-cli

https://github.com/bsdimp/nvme-cli/commits/freebsd-port

@vonericsen
Copy link
Contributor

Hi @darkfiberiru,
Thanks for the reference!

I chatted with @pranali-tirkhunde and she has been making good progress on this support. She is finalizing some testing to ensure it is fully functional, then we'll review the code and merge it to develop when it looks good.

@darkfiberiru
Copy link
Author

No problem thanks for the work on this. Were shipping toolset both on TrueNAS CORE/Enterprise based on freebsd and TrueNAS Scale based on linux so parity is nice.

@bsdimp
Copy link

bsdimp commented Dec 23, 2020

I chatted with @pranali-tirkhunde and she has been making good progress on this support. She is finalizing some testing to ensure it is fully functional, then we'll review the code and merge it to develop when it looks good.

I'm around as well. I'd be happy to review anything, either in nvme-cli or in nvmecontrol. Chuck Tuffli @ctuffli also has done some work in this area... I also have been committing vendor specific things to FreeBSD's nvmecontrol, and would be happy to do so again in the future.

@pranali-tirkhunde
Copy link
Contributor

Hi @darkfiberiru and @bsdimp,
We have checked in the latest code for adding NVMe support in FreeBSD. Please feel free to check that with the develop branch for openSeaChest and let us know if you face any issues.

@vonericsen
Copy link
Contributor

Closing this since we haven't heard anything and have found this to be working in our own internal testing.
We've also rolled this into release v21.04.27 and some notes can be found in #54.
If anyone has any trouble with this, please either reopen this issue, or create a new one about what your issue is.
Thanks!

@darkfiberiru
Copy link
Author

Thank you for the work on this. I much appreciate the project

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

No branches or pull requests

4 participants