mergerfs/src
Antonio SJ Musumeci c9854f236f fix: make the rename-exdev fallback safe and transactional
rename-exdev (opt-in; the default is passthrough) moves a source it
cannot rename across branches into a staging tree and publishes a
symlink at the destination. This reworks that fallback so a rename
either completes or leaves both names as they were.

- Staging opens every component relative to a pinned parent with
  O_NOFOLLOW, requires a daemon-owned staging root, and refuses when
  the tree can't be trusted.
- Staged names are taken without replacement and must be free on
  every configured branch, not only those holding the source, so a
  later lookup cannot reach another rename's payload. Over-long names
  are shortened. Fallback renames are serialized.
- Destinations: a compatible existing destination is replaced, kept
  under a temporary name until every branch is published, and
  restored if a later branch fails. A destination on a read-only
  branch, or a no-create one where the link can't be created, is
  refused before anything moves. Temporary and restore names never
  replace an entry, and a restore that fails is reported.
- An ordinary rename (rename-exdev=passthrough) also refuses with
  EXDEV when the destination exists on a read-only branch that does
  not hold the source: that copy could neither be replaced nor
  removed and would shadow the renamed file there. It is never
  scheduled for removal either.
- The replacement symlink is prepared in a daemon-private directory,
  its UID and GID are verified through a pinned descriptor, and it is
  published without replacement, before any source moves. A sticky,
  world-writable destination directory under Linux protected symlinks
  is refused. Each prepared link is tracked by identity for cleanup.
- Symlink sources are recreated with their original text, owner and
  times instead of staged, since staging changes where a relative
  target resolves. Sources of different types on different branches
  are refused. A hidden source that cannot be removed fails the rename.
- libfuse re-parents the kernel's node onto the staged inode, using a
  name allocated before publication, so open handles and cached
  dentries keep working and nothing can fail after the rename commits.
- Without renameat2 (FreeBSD 14.4 and 15.0, or seccomp), regular
  files and directories use a portable layout: a fresh daemon-owned
  wrapper, access gates that mirror the source's parents with the
  source's GID and its read and execute bits only, and the payload
  directory inside the last gate. Foreign-owned parents, unsettable
  group ownership and non-trivial ACLs are refused before the source
  moves. A namespace the source never entered is removed. A portable
  directory that can't be restored stays staged with its path logged,
  and an existing directory destination is refused before a portable
  source moves: keeping it aside would need the no-replace rename the
  portable layout lacks.
- Document the fallback, its refusals and FreeBSD limits.
- TEST_rename_exdev_publication, TEST_rename_exdev_portable and
  tests.cpp cover publication rollback, shadows, collisions,
  ownership, sticky directories, mixed source types, a refused portable
  directory destination and the portable layout through a mounted
  pool. TEST_rename_exdev_publication keeps its fixture if its tmpfs
  can't be detached.

Performance: an ordinary rename only adds an lstat per read-only
branch, and only when one is configured. The fallback adds about two
lstats per branch plus the staging work, and fallback renames run one
at a time.
2026-11-29 23:11:10 -05:00
..
assert.hpp Add more asserts 2026-03-02 01:09:16 -05:00
branch.cpp fix: make enum, minfreespace and process-name options safe to change 2026-11-29 23:11:03 -05:00
branch.hpp fix: make enum, minfreespace and process-name options safe to change 2026-11-29 23:11:03 -05:00
branches.cpp fix: make enum, minfreespace and process-name options safe to change 2026-11-29 23:11:03 -05:00
branches.hpp fix: make enum, minfreespace and process-name options safe to change 2026-11-29 23:11:03 -05:00
buildmap.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
buildvector.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
caps.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
caps.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
category.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
category.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config.cpp fix: make the statfs cache correct and its timeout configurable 2026-11-29 23:11:06 -05:00
config.hpp fix: make the statfs cache correct and its timeout configurable 2026-11-29 23:11:06 -05:00
config_cachefiles.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_cachefiles.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_debug.cpp Fixup debug output (#1617) 2026-02-12 22:50:38 -06:00
config_debug.hpp Fixup debug output (#1617) 2026-02-12 22:50:38 -06:00
config_dummy.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_flushonclose.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_flushonclose.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_follow_symlinks.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_follow_symlinks.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_inodecalc.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_inodecalc.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_link_exdev.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_link_exdev.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_log_file.cpp log: default debug log path to empty; skip set when empty 2026-04-18 13:47:23 -05:00
config_log_file.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_moveonenospc.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_moveonenospc.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_nfsopenhack.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_nfsopenhack.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_noforget.hpp Remove timed node removal 2026-05-06 20:49:46 -04:00
config_pagesize.cpp More aggressive error handing with pagesize queries 2026-03-24 21:13:34 -04:00
config_pagesize.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
config_passthrough_io.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_passthrough_io.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_pid.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_proxy_ioprio.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_proxy_ioprio.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_rename_exdev.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_rename_exdev.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_set.cpp fix: make enum, minfreespace and process-name options safe to change 2026-11-29 23:11:03 -05:00
config_set.hpp fix: make enum, minfreespace and process-name options safe to change 2026-11-29 23:11:03 -05:00
config_statfs.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_statfs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_statfsignore.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_statfsignore.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_xattr.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
config_xattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
dirinfo.hpp FUSE: require valid file/dir handle; drop open_files fallback 2026-04-18 13:47:23 -05:00
ef.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
endian.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
enum.hpp fix: make enum, minfreespace and process-name options safe to change 2026-11-29 23:11:03 -05:00
errno.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
error.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fh.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fileinfo.hpp Use shared write locks until ENOSPC relocation 2026-05-14 00:22:06 -04:00
from_string.cpp fix: make enum, minfreespace and process-name options safe to change 2026-11-29 23:11:03 -05:00
from_string.hpp fix: make enum, minfreespace and process-name options safe to change 2026-11-29 23:11:03 -05:00
fs_acl.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_acl.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_attr.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_attr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_attr_linux.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_attr_unsupported.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_clonepath.cpp refactor: remove the unfinished _clonepath2 2026-11-29 23:10:56 -05:00
fs_clonepath.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_close.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_closedir.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_copy_file_range.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_copy_file_range.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_copy_file_range_linux.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_copy_file_range_unsupported.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_copydata.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_copydata.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_copydata_copy_file_range.cpp Fix copydata_copy_file_range bug 2026-03-24 21:13:34 -04:00
fs_copydata_copy_file_range.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_copydata_readwrite.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_copydata_readwrite.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_copyfile.cpp fix: pick the moveonenospc source and destination correctly 2026-11-29 23:10:59 -05:00
fs_copyfile.hpp fix: pick the moveonenospc source and destination correctly 2026-11-29 23:10:59 -05:00
fs_cow.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_cow.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_devid.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_dirfd.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_dup.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_dup2.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_eaccess.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_exists.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_faccessat.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fadvise.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fadvise.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fadvise_posix.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fadvise_unsupported.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fallocate.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fallocate.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fallocate_linux.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fallocate_osx.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fallocate_posix.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fallocate_unsupported.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fchmod.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fchmodat.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fchown.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fcntl.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fdatasync.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fgetxattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_ficlone.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_ficlone.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_ficlone_linux.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_ficlone_unsupported.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_file_size.cpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fs_file_size.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fs_file_unchanged.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_findallfiles.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_findallfiles.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_findonfs.cpp fix: pick the moveonenospc source and destination correctly 2026-11-29 23:10:59 -05:00
fs_findonfs.hpp fix: pick the moveonenospc source and destination correctly 2026-11-29 23:10:59 -05:00
fs_flistxattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fsetxattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fstat.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fstatat.hpp fix: make the preload helper correct on FreeBSD and safe on reopen 2026-11-29 23:11:08 -05:00
fs_fstatvfs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_fsync.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_ftruncate.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_futimens.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_futimens_freebsd_11.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_futimens_generic.hpp Fix futimens bugs: stat pointer, variable names, and negation 2026-03-24 21:13:34 -04:00
fs_futimens_linux.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_futimesat.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_futimesat.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_futimesat_generic.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_futimesat_osx.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_getdents64.cpp Cap getdents64 requests at 128 KiB for virtiofs compatibility 2026-11-05 16:05:51 -06:00
fs_getdents64.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_getfl.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_getfl.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_glob.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_glob.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_has_space.cpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fs_has_space.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fs_info.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_info.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_info_t.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fs_inode.cpp Refactor fs_inode 2026-04-12 23:44:23 -05:00
fs_inode.hpp Refactor fs_inode 2026-04-12 23:44:23 -05:00
fs_ioctl.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_is_rofs.hpp Cleanup ugid.hpp usage 2026-03-02 01:09:16 -05:00
fs_is_same_file.hpp fix: pick the moveonenospc source and destination correctly 2026-11-29 23:10:59 -05:00
fs_lchmod.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_lchown.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_lgetxattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_link.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_llistxattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_lremovexattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_lseek.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_lsetxattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_lstat.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_lstatvfs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_lutimens.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_mkdir.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_mkdir_as.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_mkdirat.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_mknod.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_mknod_as.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_mktemp.cpp fix: keep temp file names within short NAME_MAX limits 2026-11-29 23:11:02 -05:00
fs_mktemp.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_mount.cpp Move 3rd party libraries to "vendored" directory 2026-03-02 01:09:16 -05:00
fs_mount.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_mounts.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_mounts.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_movefile_and_open.cpp fix: pick the moveonenospc source and destination correctly 2026-11-29 23:10:59 -05:00
fs_movefile_and_open.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_open.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_open_as.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_open_fd.cpp Use fatal::abort() rather than assert in places 2026-03-24 21:13:34 -04:00
fs_open_fd.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_openat.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_opendir.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_path.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_path.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_pread.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_preadn.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_pwrite.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_pwriten.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_read.hpp Fix incorrect type in fs_read and write 2026-03-24 21:13:34 -04:00
fs_readahead.cpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fs_readahead.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fs_readdir.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_readlink.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_realpath.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_realpathize.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_realpathize.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_remove.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_rename.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_renameat.hpp fix: make the rename-exdev fallback safe and transactional 2026-11-29 23:11:10 -05:00
fs_rmdir.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_sendfile.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_sendfile.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_sendfile_linux.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_sendfile_unsupported.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_setfl.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_setfl.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_stat.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_stat_utils.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_statvfs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_statvfs_cache.cpp fix: make the statfs cache correct and its timeout configurable 2026-11-29 23:11:06 -05:00
fs_statvfs_cache.hpp fix: make the statfs cache correct and its timeout configurable 2026-11-29 23:11:06 -05:00
fs_statx.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_symlink.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_symlink_as.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_truncate.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_umount2.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_unlink.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_utimensat.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_utimensat_freebsd.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_utimensat_generic.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_utimensat_linux.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_wait_for_mount.cpp fs_wait_for_mount cleanup 2026-03-24 21:13:34 -04:00
fs_wait_for_mount.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fs_write.hpp Fix incorrect type in fs_read and write 2026-03-24 21:13:34 -04:00
fs_xattr.cpp Rework string utils, more test cases 2026-03-24 21:13:34 -04:00
fs_xattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
func.cpp Reject invalid policies 2026-04-29 00:34:00 -04:00
func.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
funcs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_access.cpp FUSE: pass Branches::Ptr by value with empty-branches guards 2026-04-18 13:47:23 -05:00
fuse_access.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_bmap.cpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fuse_bmap.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fuse_chmod.cpp FUSE: pass Branches::Ptr by value with empty-branches guards 2026-04-18 13:47:23 -05:00
fuse_chmod.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_chown.cpp FUSE: pass Branches::Ptr by value with empty-branches guards 2026-04-18 13:47:23 -05:00
fuse_chown.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_copy_file_range.cpp When file unlinked check open_files map 2026-04-28 16:04:26 -04:00
fuse_copy_file_range.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_create.cpp Require C++20-capable build toolchains 2026-05-13 13:55:43 -05:00
fuse_create.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_destroy.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_destroy.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_fallocate.cpp When file unlinked check open_files map 2026-04-28 16:04:26 -04:00
fuse_fallocate.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fuse_fchmod.cpp Return ENOENT, not EBADF, for removed nodes with no open file 2026-11-17 12:25:50 -06:00
fuse_fchmod.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fuse_fchown.cpp Return ENOENT, not EBADF, for removed nodes with no open file 2026-11-17 12:25:50 -06:00
fuse_fchown.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fuse_fgetattr.cpp Return ENOENT, not EBADF, for removed nodes with no open file 2026-11-17 12:25:50 -06:00
fuse_fgetattr.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fuse_flush.cpp When file unlinked check open_files map 2026-04-28 16:04:26 -04:00
fuse_flush.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_fsync.cpp When file unlinked check open_files map 2026-04-28 16:04:26 -04:00
fuse_fsync.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fuse_fsyncdir.cpp Add null pointer checks for FileInfo/DirInfo 2026-03-24 21:13:34 -04:00
fuse_fsyncdir.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_ftruncate.cpp Return ENOENT, not EBADF, for removed nodes with no open file 2026-11-17 12:25:50 -06:00
fuse_ftruncate.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fuse_futimens.cpp Return ENOENT, not EBADF, for removed nodes with no open file 2026-11-17 12:25:50 -06:00
fuse_futimens.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fuse_getattr.cpp fuse_getattr/statx: populate timeouts in fake_root and controlfile replies 2026-04-18 13:47:23 -05:00
fuse_getattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_getxattr.cpp fix: make enum, minfreespace and process-name options safe to change 2026-11-29 23:11:03 -05:00
fuse_getxattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_init.cpp Remove unused lock operation plumbing 2026-05-06 20:49:46 -04:00
fuse_init.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_ioctl.cpp When file unlinked check open_files map 2026-04-28 16:04:26 -04:00
fuse_ioctl.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fuse_link.cpp Fix branch snapshot lifetime in EXDEV link fallback 2026-11-06 12:10:05 -06:00
fuse_link.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_listxattr.cpp FUSE: pass Branches::Ptr by value with empty-branches guards 2026-04-18 13:47:23 -05:00
fuse_listxattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_mkdir.cpp FUSE: pass Branches::Ptr by value with empty-branches guards 2026-04-18 13:47:23 -05:00
fuse_mkdir.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_mknod.cpp FUSE: pass Branches::Ptr by value with empty-branches guards 2026-04-18 13:47:23 -05:00
fuse_mknod.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_open.cpp fix: restore the mode when an nfsopenhack open fails 2026-11-29 23:11:01 -05:00
fuse_open.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_opendir.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_opendir.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_passthrough.hpp Cleanup ugid.hpp usage 2026-03-02 01:09:16 -05:00
fuse_poll.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_poll.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_read.cpp When file unlinked check open_files map 2026-04-28 16:04:26 -04:00
fuse_read.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_readdir.cpp fix: keep readdir listings stable under fill errors 2026-11-29 23:11:07 -05:00
fuse_readdir.hpp Use shared_mutex for ReadDir state 2026-05-14 00:22:06 -04:00
fuse_readdir_base.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_readdir_cor.cpp fix: keep readdir listings stable under fill errors 2026-11-29 23:11:07 -05:00
fuse_readdir_cor.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_readdir_cor_getdents.icpp fix: keep readdir listings stable under fill errors 2026-11-29 23:11:07 -05:00
fuse_readdir_cor_readdir.icpp fix: keep readdir listings stable under fill errors 2026-11-29 23:11:07 -05:00
fuse_readdir_cosr.cpp FUSE: pass Branches::Ptr by value with empty-branches guards 2026-04-18 13:47:23 -05:00
fuse_readdir_cosr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_readdir_cosr_getdents.icpp fix: keep readdir listings stable under fill errors 2026-11-29 23:11:07 -05:00
fuse_readdir_cosr_readdir.icpp fix: keep readdir listings stable under fill errors 2026-11-29 23:11:07 -05:00
fuse_readdir_factory.cpp fix: validate and cap thread and queue counts 2026-11-29 23:11:00 -05:00
fuse_readdir_factory.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_readdir_plus.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_readdir_plus.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_readdir_seq.cpp FUSE: require valid file/dir handle; drop open_files fallback 2026-04-18 13:47:23 -05:00
fuse_readdir_seq.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_readdir_seq_getdents.icpp fix: keep readdir listings stable under fill errors 2026-11-29 23:11:07 -05:00
fuse_readdir_seq_readdir.icpp fix: keep readdir listings stable under fill errors 2026-11-29 23:11:07 -05:00
fuse_readlink.cpp Rework readlink to not depend on cstr nul termination 2026-04-26 01:37:08 -04:00
fuse_readlink.hpp Rework readlink to not depend on cstr nul termination 2026-04-26 01:37:08 -04:00
fuse_release.cpp Use atomic open file reference counts 2026-05-14 00:22:06 -04:00
fuse_release.hpp Misc updates and fixes 2026-04-04 02:46:24 -05:00
fuse_releasedir.cpp FUSE: require valid file/dir handle; drop open_files fallback 2026-04-18 13:47:23 -05:00
fuse_releasedir.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_removemapping.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_removemapping.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_removexattr.cpp fix: make enum, minfreespace and process-name options safe to change 2026-11-29 23:11:03 -05:00
fuse_removexattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_rename.cpp fix: make the rename-exdev fallback safe and transactional 2026-11-29 23:11:10 -05:00
fuse_rename.hpp fix: make the rename-exdev fallback safe and transactional 2026-11-29 23:11:10 -05:00
fuse_rmdir.cpp Don't return success on ENOTEMPTY rmdir errors 2026-04-29 12:23:49 -04:00
fuse_rmdir.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_setupmapping.cpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fuse_setupmapping.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fuse_setxattr.cpp fix: make the statfs cache correct and its timeout configurable 2026-11-29 23:11:06 -05:00
fuse_setxattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_statfs.cpp fuse_statfs: scale with long double to avoid integer overflow 2026-04-18 13:47:23 -05:00
fuse_statfs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_statx.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_statx.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
fuse_statx_supported.icpp Return ENOENT, not EBADF, for removed nodes with no open file 2026-11-17 12:25:50 -06:00
fuse_statx_unsupported.icpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_symlink.cpp fix: make the rename-exdev fallback safe and transactional 2026-11-29 23:11:10 -05:00
fuse_symlink.hpp fix: make the rename-exdev fallback safe and transactional 2026-11-29 23:11:10 -05:00
fuse_syncfs.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_syncfs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_tmpfile.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_tmpfile.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_truncate.cpp FUSE: pass Branches::Ptr by value with empty-branches guards 2026-04-18 13:47:23 -05:00
fuse_truncate.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_unlink.cpp FUSE: pass Branches::Ptr by value with empty-branches guards 2026-04-18 13:47:23 -05:00
fuse_unlink.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_utimens.cpp FUSE: pass Branches::Ptr by value with empty-branches guards 2026-04-18 13:47:23 -05:00
fuse_utimens.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
fuse_write.cpp fix: preserve partial append progress during ENOSPC recovery 2026-11-06 11:24:49 -06:00
fuse_write.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
hashset.hpp Replace khash with custom hash set 2026-04-12 23:44:23 -05:00
hw_cpu.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
hw_cpu.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
ioprio.cpp Inline ioprio disabled fast path 2026-05-14 00:22:06 -04:00
ioprio.hpp Inline ioprio disabled fast path 2026-05-14 00:22:06 -04:00
mergerfs.cpp Require C++20-capable build toolchains 2026-05-13 13:55:43 -05:00
mergerfs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
mergerfs_api.cpp Move scope_guard to vendored/ 2026-03-24 21:13:34 -04:00
mergerfs_api.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
mergerfs_collect_info.cpp Move scope_guard to vendored/ 2026-03-24 21:13:34 -04:00
mergerfs_collect_info.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
mergerfs_fsck.cpp Better same file check for fsck 2026-04-22 22:28:56 -05:00
mergerfs_fsck.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
mergerfs_ioctl.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
num.cpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
num.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
oom.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
oom.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
option_parser.cpp fix: make the statfs cache correct and its timeout configurable 2026-11-29 23:11:06 -05:00
option_parser.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policies.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
policies.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_all.cpp Convert some push_back to emplace_back 2026-03-02 01:09:16 -05:00
policy_all.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_epall.cpp Convert some push_back to emplace_back 2026-03-02 01:09:16 -05:00
policy_epall.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_epff.cpp Remove unused rwlock.hpp header and includes 2026-04-18 13:47:23 -05:00
policy_epff.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_eplfs.cpp Misc cleanup 2026-03-02 01:09:16 -05:00
policy_eplfs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_eplus.cpp Remove unused rwlock.hpp header and includes 2026-04-18 13:47:23 -05:00
policy_eplus.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_epmfs.cpp Misc cleanup 2026-03-02 01:09:16 -05:00
policy_epmfs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_eppfrd.cpp Remove unused rwlock.hpp header and includes 2026-04-18 13:47:23 -05:00
policy_eppfrd.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_eprand.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_eprand.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_erofs.cpp Remove unused "using"s 2026-03-02 01:09:16 -05:00
policy_erofs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_error.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_ff.cpp Remove duplicate includes 2026-03-02 01:09:16 -05:00
policy_ff.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_lfs.cpp Convert some push_back to emplace_back 2026-03-02 01:09:16 -05:00
policy_lfs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_lup.cpp Remove unused rwlock.hpp header and includes 2026-04-18 13:47:23 -05:00
policy_lup.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_lus.cpp Convert some push_back to emplace_back 2026-03-02 01:09:16 -05:00
policy_lus.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_mfs.cpp Convert some push_back to emplace_back 2026-03-02 01:09:16 -05:00
policy_mfs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_msplfs.cpp Fix MSP create policy hangs when no branches qualify 2026-11-01 21:11:04 -06:00
policy_msplfs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_msplus.cpp Fix MSP create policy hangs when no branches qualify 2026-11-01 21:11:04 -06:00
policy_msplus.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_mspmfs.cpp Fix MSP create policy hangs when no branches qualify 2026-11-01 21:11:04 -06:00
policy_mspmfs.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_msppfrd.cpp Fix MSP create policy hangs when no branches qualify 2026-11-01 21:11:04 -06:00
policy_msppfrd.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_newest.cpp Remove unused rwlock.hpp header and includes 2026-04-18 13:47:23 -05:00
policy_newest.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_pfrd.cpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
policy_pfrd.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_rand.cpp Remove duplicate includes 2026-03-02 01:09:16 -05:00
policy_rand.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
policy_rv.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
predictability.h Rework credential handling to support chroot & idmap (#1595) 2025-12-05 21:03:48 -06:00
procfs.cpp Move scope_guard to vendored/ 2026-03-24 21:13:34 -04:00
procfs.hpp Cleanup procfs and abort on critical issues 2026-03-24 21:13:34 -04:00
rename_exdev_staging.hpp fix: make the rename-exdev fallback safe and transactional 2026-11-29 23:11:10 -05:00
resources.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
resources.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
rnd.cpp Use RND class for shrink_to_rand_elem and add assertions 2026-03-24 21:13:34 -04:00
rnd.hpp Use RND class for shrink_to_rand_elem and add assertions 2026-03-24 21:13:34 -04:00
stat_util.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
state.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
state.hpp Use atomic open file reference counts 2026-05-14 00:22:06 -04:00
statvfs_util.hpp Convert stdint to short ints 2026-03-02 01:09:16 -05:00
str.cpp str: null-safe same() and startswith() 2026-04-18 13:47:23 -05:00
str.hpp Rework string utils, more test cases 2026-03-24 21:13:34 -04:00
strvec.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
supported_getdents64.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
supported_statx.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
symlinkify.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
thread_info.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
to_neg_errno.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
to_string.cpp fix: make enum, minfreespace and process-name options safe to change 2026-11-29 23:11:03 -05:00
to_string.hpp fix: make enum, minfreespace and process-name options safe to change 2026-11-29 23:11:03 -05:00
tofrom_ref.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
tofrom_string.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
tofrom_wrapper.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
ugid.cpp Update copyright headers 2026-03-02 01:09:16 -05:00
ugid.hpp Update copyright headers 2026-03-02 01:09:16 -05:00
xattr.hpp Update copyright headers 2026-03-02 01:09:16 -05:00