-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvme: Add APIs for managing nvme_ctrl instances
One might want for libvfn to manage nvme_ctrl instances which are initialized by the application inside of the library. This patch introduces nvme_get_ctrl, nvme_add_ctrl and nvme_del_ctrl APIs for application to request controller intance management. Rather than adding list_node to struct nvme_ctrl, it uses struct nvme_ctrl_handle inside of the core.c and open APIs based on the struct nvme_ctrl. Signed-off-by: Minwoo Im <[email protected]>
- Loading branch information
Showing
2 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters