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

Storage Management Agent #13

Open
glimchb opened this issue Mar 23, 2022 · 4 comments
Open

Storage Management Agent #13

glimchb opened this issue Mar 23, 2022 · 4 comments

Comments

@glimchb
Copy link

glimchb commented Mar 23, 2022

Question, will spdk-csi adopt new Storage Management Agent https://review.spdk.io/gerrit/c/spdk/spdk/+/10273/23 ?

@cyb70289
Copy link
Contributor

This looks interesting. I think spdkcsi should migrate to sma when it's ready.

@glimchb
Copy link
Author

glimchb commented Mar 24, 2022

found some patches on review https://review.spdk.io/gerrit/c/spdk/spdk-csi/+/10321

@glimchb
Copy link
Author

glimchb commented Jun 22, 2022

@ksztyber why patches above are abandoned ?

@ksztyber
Copy link

ksztyber commented Jun 22, 2022

Those patches were just meant as a proof-of-concept to illustrate that the API could be potentially consumed by a CSI driver, but they weren't supposed to be ever merged.

With SMA, we're currently mostly focusing on a use-case where it's orchestrating SPDK application that is running on an IPU (Infrastructure Processing Unit, SmartNIC). In this scenario, you're not connecting to the targets from the host, but from the IPU, which will then present the remote volumes as if they're attached to local PCIe devices. In the patch series you've linked I've used an extra SPDK process running on a node that was emulating an IPU by establishing connections to remote targets and exposing volumes through NVMe-oF TCP subsystem over localhost to be then consumed by the node driver (so obviously, this isn't something that would make sense to use in production).

Perhaps it would make sense to have a new mode for the spdk-csi node driver to consume local PCIe devices created using SMA. This could be used with an IPU or with things like virtio-blk or vfio-user (so the node driver would be running on a VM). And if we ever extend SMA APIs to cover target use-case, we could use it in the controller driver too, but I don't think there are any plans to do that right now.

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

3 participants