Skip to content

Support FUSE on FreeBSD, and get rid of local patches#239

Merged
EdSchouten merged 4 commits into
mainfrom
eschouten/20260627-fuse
Jun 29, 2026
Merged

Support FUSE on FreeBSD, and get rid of local patches#239
EdSchouten merged 4 commits into
mainfrom
eschouten/20260627-fuse

Conversation

@EdSchouten

Copy link
Copy Markdown
Member

Hey @moroten and @b3cramer,

Looking at #238, I thought we might as well tidy up things a bit further, so that we need fewer local patches. Can you PTAL at this change and let me know whether it's fine to merge? Thanks!

Fixes: #238

@EdSchouten EdSchouten force-pushed the eschouten/20260627-fuse branch from 00f1b48 to f480f77 Compare June 27, 2026 08:55

@moroten moroten left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great way to get rid of the patches, especially the offset handling in ReadDir was annoying to patch to get the go-fuse tests to pass.

The code looks good. @b3cramer Can you try it out or shall we just merge it?

@EdSchouten EdSchouten force-pushed the eschouten/20260627-fuse branch 3 times, most recently from f03bae9 to 4ab54d7 Compare June 28, 2026 12:39
moroten added 2 commits June 28, 2026 14:41
The updated patches passes `go test ./...` in the go-fuse code base.
@EdSchouten EdSchouten force-pushed the eschouten/20260627-fuse branch from 4ab54d7 to a310e23 Compare June 28, 2026 12:41
In the past, Han-Wen indicated that he'd rather not make backward
incompatible changes to the RawFileSystem interface. This means that
holding on to these patches ourselves is futile. It only makes it harder
for people to build our VFS API outside of Bazel.

Let's add our own RawFileSystem interface that mirrors the one provided
by go-fuse. We can then change the Init(), ReadDir(), and ReadDirPlus()
methods any way we want.
@EdSchouten EdSchouten force-pushed the eschouten/20260627-fuse branch from a310e23 to ce8c507 Compare June 28, 2026 12:49
@b3cramer

Copy link
Copy Markdown

The code looks good. @b3cramer Can you try it out or shall we just merge it?

Let me build the binaries and test this afternoon.

@b3cramer

Copy link
Copy Markdown

@moroten good to merge. I have successful builds on this branch.

@EdSchouten EdSchouten merged commit 7e420ad into main Jun 29, 2026
3 checks passed
@EdSchouten EdSchouten deleted the eschouten/20260627-fuse branch June 29, 2026 19:53
@EdSchouten

Copy link
Copy Markdown
Member Author

Thanks for checking!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants