-
Notifications
You must be signed in to change notification settings - Fork 86
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
Refactor FUSE #1047
Commits on Feb 15, 2024
-
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.
Configuration menu - View commit details
-
Copy full SHA for 0ff3d2c - Browse repository at this point
Copy the full SHA 0ff3d2cView commit details -
fuse: follow Rust naming convention
Since the convention removes the module prefix from the identifiers, qualified names are used at use-sites.
Configuration menu - View commit details
-
Copy full SHA for e093de4 - Browse repository at this point
Copy the full SHA e093de4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24c425b - Browse repository at this point
Copy the full SHA 24c425bView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for fbb5789 - Browse repository at this point
Copy the full SHA fbb5789View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2212c0 - Browse repository at this point
Copy the full SHA a2212c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a93d4a - Browse repository at this point
Copy the full SHA 3a93d4aView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for f13bf48 - Browse repository at this point
Copy the full SHA f13bf48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4146a33 - Browse repository at this point
Copy the full SHA 4146a33View commit details -
fuse: use empty structs instead of const generic
To specify operations, use structs instead of const generic arguments to reduce verbosity.
Configuration menu - View commit details
-
Copy full SHA for 92bf4c1 - Browse repository at this point
Copy the full SHA 92bf4c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93fc6cb - Browse repository at this point
Copy the full SHA 93fc6cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd900cd - Browse repository at this point
Copy the full SHA bd900cdView commit details