Han-Wen Nienhuys

Results 206 comments of Han-Wen Nienhuys

I think you want this https://github.com/hanwen/go-fuse/issues/449 . There is an open change but the author went AWOL after I reviewed it.

all of the unittests run commands inside a fuse mount, so there is plenty of precedent. Are you sure you are not hitting one of deadlock scenarios that are documented?...

it is hard to say something definite based on verbal descriptions. If you have code sample that doesn't work as expected, that would be helpful.

I don't completely follow. For the problem with "operation not permitted", I recommend using the Debug option in Go-FUSE. This will let you see exactly where the EPERM error is...

I don't know; I can't debug your software for you. Suggestions: * try to bisect the go-fuse release that caused the behavior * enable debugging and check if the logs...

the FDRead benchmark is there for verifying that the backing store works (try running as root). The number of readers is large because I don't want the test to be...

Thank you for the patch. I think that makes sense; I've applied it, https://review.gerrithub.io/c/hanwen/go-fuse/+/1215792

>BTW, through the go trace.out, I also found that go-fuse creates too many request reading/dispatch loops. For BenchmarkGoFuseMemoryRead test (test.cpu=1 and -test.benchtime=1s), loops' count is 10088. For BenchmarkGoFuseMemoryRead test (test.cpu=1...

it looks like there is only one operation?! Setting the head to 000000.. didn't work. ``` $ jj-0.21 --ignore-working-copy op log -T id | cat @ 08dfc82b83f0cb2b190d8d3064543a290670be312760c58f480299e59c0f8aaec9f00795a6d70eb40a82566a0cce997474449cddfa45ffffe662a227c7092a3f ○ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 hanwen@fedora:~/vc/go-fuse$...

no go, but it fails with different error messages: ``` ls -ltra .jj/repo/op_store/operations ... -rw-------. 1 hanwen hanwen 248 Sep 8 17:04 1eb13476fb32c892ab37ff3ce313d3ebb37d859821245a5e705c629914325072aeec8a192f65cffcfdb03361045200bcf842039f233b82ce055c6e7dfb7ffc09 -rw-------. 1 hanwen hanwen 195 Sep 8...