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

Introduce the common module. #84

Merged
merged 5 commits into from
Jul 14, 2022
Merged

Commits on Jul 12, 2022

  1. move some utilities to common module

    Signed-off-by: wllenyj <wllenyj@linux.alibaba.com>
    wllenyj committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    3f0f167 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2022

  1. tokio-uring: temporarily include tokio-uring into common module

    Tempoarily include tokio-uring into dbs-fuse, so we could publish
    dbs-fuse. We will switch to upstream crate once our enhancements
    have been merged and new version is available.
    
    Signed-off-by: wllenyj <wllenyj@linux.alibaba.com>
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    wllenyj committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    4878fb5 View commit details
    Browse the repository at this point in the history
  2. introdude wrapper for async File and async Runtime

    Async File wrapper for tokio::File and tokio_uring::File.
    Async runtime supports tokio and tokio-uring.
    
    Signed-off-by: wllenyj <wllenyj@linux.alibaba.com>
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    wllenyj committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    62afce2 View commit details
    Browse the repository at this point in the history
  3. remove pub use in transport module

    Use file_traits directly.
    
    Signed-off-by: wllenyj <wllenyj@linux.alibaba.com>
    wllenyj committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    223e15f View commit details
    Browse the repository at this point in the history
  4. fix clippy warning

    ```
    error: this lifetime isn't used in the impl
    --> src/passthrough/mod.rs:139:6
    |
    139| impl<'a> InodeData {
    | ^^
    |
    = note: `-D clippy::extra-unused-lifetimes` implied by `-D warnings`
    = help: for further information visit
    https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
    ```
    
    Signed-off-by: wllenyj <wllenyj@linux.alibaba.com>
    wllenyj committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    5d4c7ce View commit details
    Browse the repository at this point in the history