docs(audits): profile 100K metadata application time (#1046)#3926
Merged
Conversation
Audit metadata apply pipeline (chmod/chown/utimensat/setxattr/setfacl), quantify the 300K-syscall floor at 100K files, plan strace-c profiling, confirm rayon par_iter wiring through apply_metadata_from_file_entry (threshold 64), and enumerate io_uring statx, O_PATH fchownat, and skip-if-equal optimization candidates.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Audit metadata apply pipeline (chmod/chown/utimensat/setxattr/setfacl), quantify the 300K-syscall floor at 100K files, plan strace-c profiling, confirm rayon par_iter wiring through apply_metadata_from_file_entry (threshold 64), and enumerate io_uring statx, O_PATH fchownat, and skip-if-equal optimization candidates.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
crates/metadata/src/apply/pipeline (chown -> chmod -> utimensat -> crtime, plus xattr / ACL fan-out) and maps each step to its path-based and fd-based syscall.-aHAX --owner --group, lays out anstrace -cprofile plan inside thersync-profilecontainer, and confirms rayonpar_iterwiring viatransfer::parallel_io::map_blocking(threshold 64, cross-ref Support leading signs in bwlimit parsing #1083 stat-batch).statxbatches,fchownat(AT_EMPTY_PATH)over O_PATH dir fds, skip-if-equal short-circuit beforeutimensat, coalescedsetxattr, NUMA-aware rayon pool.Closes #1046.
Test plan
crates/metadata/src/apply/{ownership,permissions,timestamps}.rs