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

Change handles from file-descriptors to 'struct dev_handle' #692

Closed
wants to merge 1 commit into from

Commits on Oct 5, 2022

  1. api: refactor for transport agnostic library backend

    Extend the api-types with the following device-handle types:
    
    * struct dev_handle
    * enum nvme_dev_type
    
    The 'dev_handle' provides a, possibly opaque, device handle instead of a
    "fixed" file-descriptor. This allows for non-OS managed device-types
    such as user-space NVMe-drivers. Additionally, the types allows for
    library-side dispatch.
    
    This is done in preparation for xNVMe, and thereby, support for
    user-space NVMe driver, io_uring_cmd etc.
    
    Signed-off-by: Vikash kumar <[email protected]>
    vikash-k5 committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    7214e2d View commit details
    Browse the repository at this point in the history