Add details to docs about FreeBSD limitations

This commit is contained in:
trapexit 2025-05-09 21:18:20 -05:00 • committed by GitHub
parent 3a034712f6
commit 923d9608e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 37 additions and 21 deletions

View file

@ -5,6 +5,17 @@
[Primarily Linux.](../setup/installation.md) FreeBSD is casually
supported but not well tested.
With FreeBSD certain Linux functions and FUSE features are not
supported. In many cases the absense will not be noticed however
performance may be impacted due to a core mergerfs design decision
relying on a Linux feature.
Linux allows individual threads to change credentials whereas [FreeBSD
does not](https://wiki.freebsd.org/Per-Thread%20Credentials). As a
result mergerfs must use a lock to ensure critical sections which need
to change credentials are safeguarded. This will limit throughput on
systems where requests to mergerfs come from multiple user identities.
### Why not support MacOS?