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

Refactor FUSE #1047

Merged
merged 11 commits into from
Feb 15, 2024
Merged

Refactor FUSE #1047

merged 11 commits into from
Feb 15, 2024

Commits on Feb 15, 2024

  1. fuse: move ABI definitions to a separate module

    Moving the ABI definitions to a separate module helps keeping track of
    what is our design and what is dictated by the FUSE ABI.
    cagatay-y committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    0ff3d2c View commit details
    Browse the repository at this point in the history
  2. fuse: follow Rust naming convention

    Since the convention removes the module prefix from the identifiers,
    qualified names are used at use-sites.
    cagatay-y committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e093de4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    24c425b View commit details
    Browse the repository at this point in the history
  4. fuse: don't fill in the Rsp skeleton

    The host does not use the len field of the header of the Rsp (relies on
    the size field in the In struct if necessary instead). It is not
    necessary to fill it in during creation and copy it during dispatch.
    cagatay-y committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    fbb5789 View commit details
    Browse the repository at this point in the history
  5. fuse: simplify Cmd creation

    cagatay-y committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    a2212c0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3a93d4a View commit details
    Browse the repository at this point in the history
  7. fuse: associate creation functions with structs

    Turning the Cmd/Rsp creation functions into associated functions for the
    Op structs allows us to refer to the Op struct in the function signature
    and body in a more concise manner.
    cagatay-y committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    f13bf48 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4146a33 View commit details
    Browse the repository at this point in the history
  9. fuse: use empty structs instead of const generic

    To specify operations, use structs instead of const generic arguments to
    reduce verbosity.
    cagatay-y committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    92bf4c1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    93fc6cb View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    bd900cd View commit details
    Browse the repository at this point in the history