mergerfs/mkdocs
Antonio SJ Musumeci 61597c8dfd fix: pick the moveonenospc source and destination correctly
- moveonenospc copied from the branch stored when the file was opened,
  which a move never updates, so a second ENOSPC on the same handle
  tried to copy a path that no longer existed. Find the source branch
  from the fd's device and inode at the start of each move, trying the
  stored branch first. No match leaves the write's ENOSPC in place.
- The source branch was dropped from the create policy's result, so a
  policy returning one branch (ff, mfs, lfs, lus, pfrd) left nothing
  when it picked the source, and a destination that was the source by
  another path (bind mount) was renamed over the file and unlinked.
  Remove every alias of the source before the policy runs, so it picks
  another branch; with no candidate left the move is refused.
- Refuse relocation if a duplicate on another branch could become
  visible once the source is removed, and publish without replacing a
  destination that appeared meanwhile. When the no-replace rename is
  unsupported, publish with link(); a staging name that cannot be
  removed afterwards is logged instead of silently left behind.
- Ask the create policy by the parent directory, as create does. The
  existing-path policies and newest only pick a branch that has the
  path they are given, and the destination has the directory but not
  the file yet.
- TEST_movefile_enospc moves a handle twice and checks duplicates
  through the pool. tests.cpp covers the source by its own path and an
  alias, and every existing-path policy for nested and root files.
2026-11-29 23:10:59 -05:00
..
docs fix: pick the moveonenospc source and destination correctly 2026-11-29 23:10:59 -05:00
build-venv Update limiting drive spinup doc 2026-03-04 11:05:55 -05:00
generate-and-push-docs Don't push docs for RC tags 2026-04-23 20:46:55 -05:00
mkdocs.yml docs: Add Unraid migration guidance for mergerfs 2026-10-03 16:52:25 -05:00
README.md Misc documentation changes (#1489) 2025-06-29 19:08:57 -05:00

mkdocs

Getting started

python3 -m venv venv
source venv/bin/activate
pip3 install --no-cache-dir mkdocs mkdocs-material pymdown-extensions mike
mike serve

Deploy

mike deploy --push <version_name> --allow-empty

References