fix(tvix/store): Fix FUSE support on MacOS
This partially fixes b/312 and gets FUSE to work again on MacOS. It is mostly small type changes and an update to fuse-backend-rs because upstream currently doesn't work with MacFuse. It also sets the default FUSE thread count on MacOS to 1 because otherwise the mount command will hang when shutting down as only one thread gets ENODEV and all the others just keep blocking. Change-Id: Ifb3c4268caf296c487049c1dc4618acb32497f44 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9490 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com> Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
parent
5c2cad0ac4
commit
cfb810d81a
9 changed files with 42 additions and 22 deletions
|
|
@ -34,9 +34,9 @@ tokio-listener = { version = "0.2.1" }
|
|||
|
||||
[dependencies.fuse-backend-rs]
|
||||
optional = true
|
||||
# TODO: Switch back to upstream version once https://github.com/cloud-hypervisor/fuse-backend-rs/pull/153 lands.
|
||||
git = "https://github.com/cloud-hypervisor/fuse-backend-rs"
|
||||
rev = "402e7c531bc75bc44ac366dc59477de8b5d4ca08"
|
||||
# TODO: Switch back to upstream version once https://github.com/cloud-hypervisor/fuse-backend-rs/pull/157 lands.
|
||||
git = "https://github.com/griff/fuse-backend-rs"
|
||||
branch = "macfuse-fix"
|
||||
|
||||
[dependencies.vhost]
|
||||
optional = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue