Anonymous
7/8/2025, 1:03:30 PM
No.105836608
>>105836490
libfuse spawns threads on-demand for filesystem ops. I just have a few connected sockets and let each fs op pick a non-busy socket.
Previously, i've allowed for send/recv concurrency on a single socket, so that 2 threads could share one TCP connection, however the reconnect logic got complicated, so i've opted for not allowing that and just making 2x the connections for now.
libfuse spawns threads on-demand for filesystem ops. I just have a few connected sockets and let each fs op pick a non-busy socket.
Previously, i've allowed for send/recv concurrency on a single socket, so that 2 threads could share one TCP connection, however the reconnect logic got complicated, so i've opted for not allowing that and just making 2x the connections for now.