External unmount does not finish the the mount task
I've tested both my filesystem and the path_memfs example and it seems like, when I do umount mount-point in terminal, it does not finish the mount task, leaving the program running.
I'm using tokio runtime.
it looks like when using unprivileged mode, the session can't realize the fs is umounted by umount cmd
My previous implementation with fuser crate didn't have such issue. Maybe they found a way to handle it?
My previous implementation with fuser crate didn't have such issue. Maybe they found a way to handle it?
I just published #107 as a solution for this issue.
In fuser it's much easier handled by a simple blocking read() call on /dev/fuse, which will report the unmount event by returning an ENODEV result. In fuse3 we have to instruct the async file io polling mechanism in advance, that we are not only waiting for incoming requests resp. readable state changes, but also want to get ERROR notifications. Otherwise, we will never get this unmount indicator.
try 0.7.3 version, it merged #107 and should fix this problem