mergerfs/mkdocs/docs
Antonio S. Musumeci 64d3af02a3 fix: return the error, not a short count, for page cache flushes
- 072b07b6 made a write that fails with ENOSPC after part of it landed
  return the bytes written. The kernel issues writes to flush its page
  cache (cache.writeback, dirty mmap pages) with the writepage flag
  and ignores the size in the reply, then drops the pages. The short
  count lost the rest of the data and hid the error: write, fsync,
  msync and close all succeeded with half the data on disk, where
  2.42.2 returned ENOSPC from fsync or msync.
- Keep the short count for ordinary writes, which the kernel does
  handle, and return the error when the request has writepage set.
- TEST_movefile_enospc covers a writeback flush and an mmap msync with
  moveonenospc=false; both fail without this change. Note the
  exception in moveonenospc.md.

Initialize the flush-test error list before the first I/O operation so
an unexpected error propagates and the descriptor is still closed.
Use the mapping as a context manager for the same reason.
2026-11-22 08:27:04 -05:00
..
config fix: return the error, not a short count, for page cache flushes 2026-11-22 08:27:04 -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