Han-Wen Nienhuys

Results 206 comments of Han-Wen Nienhuys

can you confirm that using the race detector to run your file system doesn´t turn up warnings?

is it possible that you call `Server.Serve()` twice on the same server?

Curious. is there a way I could get my hands on a reproducer? Also, the trace you posted is a smoking gun, but the complete goroutine stacks may be useful...

wait, this code > /usr/bin/fusermount3" "-uz" does not exist in go-fuse. Can you reproduce this problem with the latest go-fuse (without local changes?)

This is quite odd. Somehow the infinite loop is causing this to happen. Trimmed down code: ``` package main import ( "flag" "fmt" "log" "os" "path" "github.com/hanwen/go-fuse/v2/fs" "github.com/hanwen/go-fuse/v2/fuse" ) func...

see https://review.gerrithub.io/c/hanwen/go-fuse/+/1199984 unfortunately, it looks buggy - the newly added benchmark fails if there are multiple processes accessing the same file. Will need more scrutiny.

working now. The speed up is considerable (7x!) and makes the whole business of splicing obsolete.

> short-circuit the backing id function by short-circuit, you mean disable the passthrough feature? Good point.

see https://review.gerrithub.io/c/hanwen/go-fuse/+/1199984/10..11

For the "disable outright", a config/mount option is the right approach (we don't expose it, though), but the check is cheap, so there not much benefit in providing a "disable...