Menu

#2 Multi-threaded support in FUSE results in corrupted reads

open
nobody
None
5
2018-12-01
2018-12-01
No

Recent versions of FUSE spawn multiple threads, but the code of JoinFS (and possibly also of SplitFS) is not thread-safe.

Workaround: it is currently necessary to pass the -s option on the command line to make sure FUSE is in single-threaded mode.
This should be documented in the README.

Possible solutions:
have main add the -s option before calling fuse_real_main when not specified by the user
make the code thread-safe

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.