Watch
0
0
Fork
You've already forked hyperhive
0

hive-matrix: turn off tuwunel's log preallocation on btrfs and zfs

Refs #6885
This commit is contained in:
atlas 2026-11-27 16:52:05 +01:00 • committed by mara
commit 7c7c94d184

View file

@ -31,6 +31,11 @@ Same shape as [`gateway.md::hive-forge container shape`](../../4-implementation/
`/var/lib/nixos-containers/hive-matrix/var/lib/matrix-tuwunel/`
survives container restart / host reboot. To wipe, destroy the
container.
- At each start tuwunel's unit checks which filesystem holds its database.
On btrfs or ZFS it sets `rocksdb_allow_fallocate = false` (through
`TUWUNEL_ROCKSDB_ALLOW_FALLOCATE`), because RocksDB's preallocated
write-ahead logs pin far more disk than they hold there. On any other
filesystem tuwunel's default stays.
## Identity vs API listener: `serverName` vs `gatewayHost`