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

block: abstractions for request parsing and execution #29

Merged
merged 5 commits into from
Dec 9, 2020

Commits on Dec 9, 2020

  1. block: add Request abstraction

    Added the Request abstraction that handles the virtio
    block device request parsing via `parse()` method and
    keeps the necessary information for the request execution.
    Also added a mention in README about the supported virtio
    versions.
    vm-memory dependency is now pointing to 0.4.0 since 0.3.0
    no longer compiles because of the v1.0.0 arc-swap update.
    
    Signed-off-by: Laura Loghin <[email protected]>
    lauralt committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    c2b4aa3 View commit details
    Browse the repository at this point in the history
  2. add build_desc_chain helper function

    Signed-off-by: Alexandru Agache <[email protected]>
    alexandruag authored and lauralt committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    c32a5b9 View commit details
    Browse the repository at this point in the history
  3. add tests for request parsing

    Signed-off-by: Laura Loghin <[email protected]>
    lauralt committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    949639d View commit details
    Browse the repository at this point in the history
  4. block: add StdIoBackend abstraction

    This commit proposes a separate abstraction for block device
    request execution. The reason behind this is the fact that
    there can be multiple ways to execute these requests,
    e.g. asynchronous dispatch of requests and result collection.
    Such complex executors can be implemented as separate components
    which coexist with the current proposal.
    
    Signed-off-by: Laura Loghin <[email protected]>
    Suggested-by: Alexandru Agache <[email protected]>
    lauralt committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    e849cd7 View commit details
    Browse the repository at this point in the history
  5. hide StdIoBackend behind backend-stdio feature

    Signed-off-by: Laura Loghin <[email protected]>
    lauralt committed Dec 9, 2020
    Configuration menu
    Copy the full SHA
    1ce8f59 View commit details
    Browse the repository at this point in the history