Support for ppc64le
I was trying to use this library https://github.com/kahing/goofys and getting an error from fuse:
panic: Page size is unexpectedly 65536
goroutine 1 [running]:
github.com/jacobsa/fuse/internal/buffer.init.0()
/root/gopath/src/github.com/jacobsa/fuse/internal/buffer/in_message.go:33 +0xe4
So I assume it has to do with fuse. Any hint on what it should change in order to get it working for ppc64le architecture?
Any hints on that one? :(
I would assume you want to update code that's in that file, near that panic. It's checking assumptions for the local code.
In case someone needs it, I had to modify the following:
sed -i 's/4096/65536/g' /root/gopath/src/github.com/jacobsa/fuse/internal/buffer/in_message.go
sed -i 's/17/21/g' /root/gopath/src/github.com/jacobsa/fuse/internal/buffer/in_message_linux.go
sed -i 's/17/21/g' /root/gopath/src/github.com/jacobsa/fuse/internal/buffer/out_message_linux.go
@YiannisGkoufas
I have modified the files according to your changing,but it still doesn't work:
panic: Page size is unexpectedly 65536
goroutine 1 [running]: github.com/jacobsa/fuse/internal/buffer.init.0() /root/go/pkg/mod/github.com/kahing/[email protected]/internal/buffer/in_message.go:33 +0xb8
@hongjun0619 check this: datashim-io/datashim#60 - you may have to modify the sed lines a bit.
#102 addressed this.