winfsp / cgofuse

Cross-platform FUSE library for Go - Works on Windows, macOS, Linux, FreeBSD, NetBSD, OpenBSD
https://winfsp.dev
MIT License
511 stars 82 forks source link

How to increase buffer size? (max_pages and libfuse3) #63

Open emm1R opened 2 years ago

emm1R commented 2 years ago

I am trying to increase the buffer size in Read() when using linux but have not yet been successful. From what I have been able to work out, one possible (only?) way would be to use libfuse3 which supports larger values for max_pages. However, it seems like cgofuse does not support libfuse3 as using it gives panic: cgofuse: cannot find FUSE. Is there a plan to have cgofuse use libfuse3, and is there any other way I could increase the buffer size?

I have noticed that there is already an issue that talks about this (https://github.com/billziss-gh/cgofuse/issues/55) but it doesn't seems to have a final answer to this question.

darthShadow commented 1 year ago

There is already an open issue about Fuse 3 support: #50

And it does have an answer from the author about the effort involved in adding it.