Intermediate rounds skipped a directory when its inode version and its
ceph.dir.rctime matched the previous round. In the 10,000-file lab test
a round snapshot taken seconds after changes skipped tree/ with about
250 changed files in its subdirectories: the inode version of tree/
changes only with its own entries, and Ceph had not yet propagated the
rctime of the grandchildren. The target snapshot of that round was
incomplete, and its verification skipped the same subtrees; only
finalize closed the gap.
Every round now scans all metadata again. Base index entries that the
old version marked carried are never trusted, so such files are copied
in full in the next round.
The smallfiles verification now checks only snapshots that sync did not
remove.
BREAKING CHANGE: the configuration field "full_scan" and the transfer
statistic "skipped_subtrees" are removed; a configuration with
"full_scan" is rejected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The native libcephfs backend is the only transfer path. The rsync
transport, the mounted-filesystem access and its helpers (mount check,
path resolution below a mount, mount claim, quota and hardlink repair
through the mount) are removed, together with the rsync lab test and
the client image that only added rsync.
The claim and release tests now exercise the native claim through a
local test file system with real flock locks.
BREAKING CHANGE: "backend": "rsync" and the endpoint field "mount" are
rejected. "backend" is optional and only accepts "native"; jobs created
with "native" resume without it. Journals of rsync jobs cannot be
resumed. Builds without the build tag ceph only support doctor and
status.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Also document the snapshot cleanup: older round snapshots are removed
during sync, and `cephmig cleanup` removes the rest after the cutover.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Initial import of the existing CephFS subvolume migration prototype,
including the native libcephfs transport, rsync backend, local Ceph
lab environment and integration tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>