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

Implementing notify functions #88

Open
LalitMaganti opened this issue Apr 11, 2017 · 1 comment
Open

Implementing notify functions #88

LalitMaganti opened this issue Apr 11, 2017 · 1 comment

Comments

@LalitMaganti
Copy link

First of all great work with the library :)

I was wondering if there would be any interest in implementing the notification functions of fuse. These functions allow the filesystem to notify the kernel driver of events which have occurred - mainly associated with changes to inodes/files/directories to allow the kernel to update its caches.

These functions can be found at https://github.com/libfuse/libfuse/blob/56fde4ba9ee0268ece42512a00782b2064537b15/include/fuse_lowlevel.h#L1497 in libfuse

Thanks :)

@zargony
Copy link
Owner

zargony commented Sep 19, 2017

Thanks :)

Notifications would be great of course. This feature is however blocked by the fact that rust-fuse currently uses an older version of the FUSE kernel ABI (7.8) that can't do notifications yet. There's effort going on in PR #97 to adapt to a newer ABI that would also support notifications. However, notifications also require some way to send them (asynchronously from file operations), which in turn brings uns back to some ideas to overhaul the filesystem interface and provide asynchronous methods based on futures (#90).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants