mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-29 03:16:56 -05:00
pthread_cond_timedwait can return early due to spurious wakeups. When this happens the throughput delta covers a shorter-than-expected interval, producing an artificially low sample. Two consecutive spurious wakes would cause the EMA to decline twice, crossing the decline_threshold and triggering a false direction reversal — the monitor would shrink the pool when throughput was actually stable. Record the wall-clock time before sleeping and discard any sample where the elapsed time is less than half the target interval. The _stop check runs first so shutdown is never delayed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| acutest | ||
| boost | ||
| CLI11 | ||
| fmt | ||
| khash | ||
| libfuse | ||
| nonstd | ||
| rapidhash | ||
| scope_guard | ||
| subprocess | ||