Phase 4: metadata times (-U/--atimes, -N/--crtimes, --open-noatime, -O/-J) #278

Closed
TapTap wants to merge 0 commits from feat/p4-metadata-capture into dev
Owner

Capture/transmit the source atime (pre-read stat; --open-noatime O_NOATIME sender guard) and birth time (statx STATX_BTIME); receiver restores atime with mtime (crtime not portably settable -> transmitted, explicitly not applied, marked Partial). --open-noatime client-only. -O/-J are accepted no-ops (FastSync never preserves dir/symlink times). Wire: metadata frame gains atime/crtime val+sec+nsec; PROTOCOL_VERSION 2.11.0 -> 2.12.0. Verified: unit 28/28, 16 focused integration, 33 smoke, 273 full. Independent c-review REQUEST CHANGES; fixes applied: honest -O/-J status (Compat no-op), Linux-gate atime capture, close fd on fdopen failure.

Capture/transmit the source atime (pre-read stat; --open-noatime O_NOATIME sender guard) and birth time (statx STATX_BTIME); receiver restores atime with mtime (crtime not portably settable -> transmitted, explicitly not applied, marked Partial). --open-noatime client-only. -O/-J are accepted no-ops (FastSync never preserves dir/symlink times). Wire: metadata frame gains atime/crtime val+sec+nsec; PROTOCOL_VERSION 2.11.0 -> 2.12.0. Verified: unit 28/28, 16 focused integration, 33 smoke, 273 full. Independent c-review REQUEST CHANGES; fixes applied: honest -O/-J status (Compat no-op), Linux-gate atime capture, close fd on fdopen failure.
Author
Owner

Merged locally into dev (4e7e84f). Verified: unit 28/28, 16 focused integration, full suite + CI green (run 506). Independent c-review REQUEST CHANGES; fixes applied (honest -O/-J no-op status, Linux-gate atime, fd close).

Merged locally into dev (4e7e84f). Verified: unit 28/28, 16 focused integration, full suite + CI green (run 506). Independent c-review REQUEST CHANGES; fixes applied (honest -O/-J no-op status, Linux-gate atime, fd close).
TapTap closed this pull request 2026-09-08 21:08:32 +02:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TapTap/FastSync#278