mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-26 09:56:28 -05:00
nanosleep returns -1 with errno EINTR when interrupted by a signal. The remaining time was discarded (second arg was NULL), causing the monitor to wake early and sample a shortened interval. This produced artificially low throughput numbers that corrupted the EMA and could trigger unnecessary scale-down decisions. Loop on EINTR using the remaining time output parameter so the full sample interval is always honored. Also check _stop on each retry so the monitor exits promptly during shutdown. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| acutest | ||
| boost | ||
| CLI11 | ||
| fmt | ||
| khash | ||
| libfuse | ||
| nonstd | ||
| rapidhash | ||
| scope_guard | ||
| subprocess | ||