mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
The monitor stores _last_scale_time_usecs after _add_thread_scaling_locked returns (i.e. after pthread_create), but _maybe_grow_on_pressure stored a timestamp captured before the add. Under resource pressure pthread_create can take non-trivial time, making the effective cooldown shorter than configured on the fast-path grow. Move the store after _add_thread_scaling_locked and use a fresh _now_usecs() call, matching the monitor's behavior. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| acutest | ||
| boost | ||
| CLI11 | ||
| fmt | ||
| khash | ||
| libfuse | ||
| nonstd | ||
| rapidhash | ||
| scope_guard | ||
| subprocess | ||