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

Some metadata FUSE functions are not compatible with async #9

Closed
5 tasks done
Peter-JanGootzen opened this issue Dec 8, 2022 · 2 comments
Closed
5 tasks done
Labels
bug Something isn't working fuser large virtionfs

Comments

@Peter-JanGootzen
Copy link
Contributor

Peter-JanGootzen commented Dec 8, 2022

These functions will create a struct on the stack that the FUSE implementation has to fill in and then call a special reply function such as fuse_ll_reply_attr. However with async these stack-residing structs will get destroyed.
Broken functions to fix:

  • setattr
  • readdir and readdirplus
  • create
  • flush (or just don't use the struct fuse_file_info *, then its fine)
  • flock
@Peter-JanGootzen
Copy link
Contributor Author

For setattr use new `setattr_async

@Peter-JanGootzen Peter-JanGootzen added this to the Paper experiments milestone Dec 12, 2022
@Peter-JanGootzen
Copy link
Contributor Author

All FUSE functions are now compatible with async on master

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fuser large virtionfs
Projects
None yet
Development

No branches or pull requests

1 participant