mergerfs/mkdocs/docs
Antonio S. Musumeci 898ad5992d fix: keep failed statvfs results in the cache and track entry validity
- A new entry was told apart from a fresh one only by its time of 0.
  With a timeout at least the current time in seconds, such as
  cache.statfs=4294967295, a new entry looked fresh before statvfs
  had run, so the zeroed struct was returned as success: every branch
  reported no free space and every create failed with ENOSPC, and a
  nonexistent path succeeded. 3735d721 applies cache.statfs from the
  mount options, which made it reachable from fstab. Give the entry a
  valid flag set by the first statvfs.
- 5e74822f stopped caching a failure as a success by retrying it on
  every call, under the exclusive lock. With a branch that fails
  slowly, such as an unreachable network mount, each caller then
  waited for its own failure one after the other: eight callers took
  2.4s where 2.42.2 took 0.3s. Keep the failure, as an error, for the
  timeout like a success. It is still never returned as zeroed space.
- Read the clock again once the lock is held, so a caller that waited
  doesn't compute a negative age against the entry another refreshed.
- Tests: a failure is kept until the timeout, and timeouts of
  4294967295 and UINT64_MAX still return real values and errors. Both
  fail without this change.

Measure age with a steady clock, starting when statvfs returns. Even a
refresh slower than the configured timeout can be shared by callers
that waited for it; wall-clock adjustments cannot extend its lifetime.
2026-11-22 08:28:48 -05:00
..
config fix: keep failed statvfs results in the cache and track entry validity 2026-11-22 08:28:48 -05:00
faq fix: preserve source ownership in EXDEV symlink fallbacks 2026-11-01 21:11:04 -06:00
setup Fix release builds and drop Debian 11 targets 2026-11-05 15:02:42 -06:00
benchmarking.md Update docs; add nofs, policyfs and greyhole 2026-03-27 22:54:39 -05:00
error_handling_and_logging.md Update docs; add nofs, policyfs and greyhole 2026-03-27 22:54:39 -05:00
extended_usage_patterns.md Misc docs updates (#1549) 2025-10-24 20:47:33 -05:00
index.md docs: clarify branch resolution and mount ordering 2026-09-21 13:46:38 -05:00
intro_to_filesystems.md Misc updates of docs (#1518) 2025-09-01 20:58:58 -05:00
known_issues_bugs.md docs: clarify branch resolution and mount ordering 2026-09-21 13:46:38 -05:00
logo.png Misc doc updates + add logo 2025-04-19 22:44:08 -05:00
media_and_publicity.md Update docs for logging changes + new video (#1618) 2026-02-12 23:21:43 -06:00
migration.md docs: Add Unraid migration guidance for mergerfs 2026-10-03 16:52:25 -05:00
performance.md docs/performance: explain mergerfs IO performance vs RAID 2026-09-05 16:00:43 -04:00
project_comparisons.md docs: Add Unraid migration guidance for mergerfs 2026-10-03 16:52:25 -05:00
quickstart.md docs: document mergerfs tradeoffs and web UI management 2026-10-01 20:14:52 -04:00
related_projects.md docs: document mergerfs tradeoffs and web UI management 2026-10-01 20:14:52 -04:00
remote_filesystems.md Remove timed node removal 2026-05-06 20:49:46 -04:00
resource_usage.md Remove timed node removal 2026-05-06 20:49:46 -04:00
runtime_interface.md docs: document mergerfs tradeoffs and web UI management 2026-10-01 20:14:52 -04:00
sponsorship_and_donations.md Add container image details (#1569) 2025-11-08 20:28:10 -06:00
support.md Fixup debug output (#1617) 2026-02-12 22:50:38 -06:00
terminology.md Update terminology.md 2025-02-19 07:04:11 +02:00
tips_notes.md docs: document mergerfs tradeoffs and web UI management 2026-10-01 20:14:52 -04:00
tooling.md docs: document mergerfs tradeoffs and web UI management 2026-10-01 20:14:52 -04:00