Use GitHub rsync mirror for interop builds#1925
Merged
oferchen merged 1 commit intoNov 4, 2025
Merged
Conversation
8 tasks
oferchen
added a commit
that referenced
this pull request
May 13, 2026
Wire the existing IORING_OP_RENAMEAT (task #1920) and IORING_OP_LINKAT (task #1921) opcode wrappers into the temp-file commit and hardlink finalization paths respectively. On Linux 5.11+ with io_uring available, temp-file renames in DestinationWriteGuard::commit_named_temp_file() now submit an IORING_OP_RENAMEAT SQE instead of a synchronous rename(2) syscall. On Linux 5.15+ with io_uring available, hardlink creation in HardlinkApplyTracker, create_hard_link(), and the --link-dest path now submit an IORING_OP_LINKAT SQE instead of a synchronous link(2). Both paths fall back transparently to std::fs::rename / std::fs::hard_link on non-Linux platforms, older kernels, or when io_uring is disabled. Two new convenience functions in fast_io expose the try-or-fallback pattern: try_rename_via_io_uring() and try_hard_link_via_io_uring(), returning Option<io::Result<()>> so callers can fall through to the portable implementation when None is returned. Closes #1924, closes #1925.
6 tasks
oferchen
added a commit
that referenced
this pull request
May 13, 2026
Add `fast_io::hard_link()` convenience function that tries io_uring LINKAT on Linux 5.15+ and falls back to `std::fs::hard_link`. Replace four duplicate `hard_link_with_io_uring_fallback()` private functions across engine and transfer crates with the new centralized API.
oferchen
added a commit
that referenced
this pull request
May 13, 2026
Add `fast_io::hard_link()` convenience function that tries io_uring LINKAT on Linux 5.15+ and falls back to `std::fs::hard_link`. Replace four duplicate `hard_link_with_io_uring_fallback()` private functions across engine and transfer crates with the new centralized API.
oferchen
added a commit
that referenced
this pull request
May 13, 2026
… (#4003) * feat(fast_io): wire IORING_OP_LINKAT into hardlink finalization (#1925) Add `fast_io::hard_link()` convenience function that tries io_uring LINKAT on Linux 5.15+ and falls back to `std::fs::hard_link`. Replace four duplicate `hard_link_with_io_uring_fallback()` private functions across engine and transfer crates with the new centralized API. * fix: remove unused std::io import in directory links
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Wire the existing IORING_OP_RENAMEAT (task #1920) and IORING_OP_LINKAT (task #1921) opcode wrappers into the temp-file commit and hardlink finalization paths respectively. On Linux 5.11+ with io_uring available, temp-file renames in DestinationWriteGuard::commit_named_temp_file() now submit an IORING_OP_RENAMEAT SQE instead of a synchronous rename(2) syscall. On Linux 5.15+ with io_uring available, hardlink creation in HardlinkApplyTracker, create_hard_link(), and the --link-dest path now submit an IORING_OP_LINKAT SQE instead of a synchronous link(2). Both paths fall back transparently to std::fs::rename / std::fs::hard_link on non-Linux platforms, older kernels, or when io_uring is disabled. Two new convenience functions in fast_io expose the try-or-fallback pattern: try_rename_via_io_uring() and try_hard_link_via_io_uring(), returning Option<io::Result<()>> so callers can fall through to the portable implementation when None is returned. Closes #1924, closes #1925.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
… (#4003) * feat(fast_io): wire IORING_OP_LINKAT into hardlink finalization (#1925) Add `fast_io::hard_link()` convenience function that tries io_uring LINKAT on Linux 5.15+ and falls back to `std::fs::hard_link`. Replace four duplicate `hard_link_with_io_uring_fallback()` private functions across engine and transfer crates with the new centralized API. * fix: remove unused std::io import in directory links
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
prepare-sourcebefore configuring when necessarygit, disable interactive prompts, and keep the version matrix unchangedTesting
https://chatgpt.com/codex/tasks/task_e_69099cca5dc48323ac395f01ac4997b2