vasi / squashfuse

FUSE filesystem to mount squashfs archives
Other
294 stars 69 forks source link

multi-threaded FUSE loop? #66

Closed reidpr closed 1 year ago

reidpr commented 3 years ago

Line 146 of ll_main.c currently uses the single-threaded fuse_session_loop().

libfuse3 seems to have a multi-threaded version fuse_session_loop_mt(), and there is a "FIXME: multithreading" comment on line 145.

Is there anything blocking use of the multi-threaded loop? I ask because we are using SquashFUSE as a library and it would be simple to just call fuse_session_loop_mt() instead. I hesitate to do this though because I'm guessing there's a good reason SquashFUSE doesn't.

Or have I misunderstood something?

Thanks for your hard work on SquashFUSE. It's very valuable to us.

DrDaveD commented 1 year ago

There's a fix for that in #70.