Skip to content

Fix interop script temporary directory initialization - #1922

Merged
oferchen merged 1 commit into
masterfrom
implement-missing-rsync-features
Nov 4, 2025
Merged

oferchen merged 1 commit into
masterfrom
implement-missing-rsync-features

Conversation

@oferchen

@oferchen oferchen commented Nov 4, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • correct the temporary directory and uid/gid assignments in the interop harness
  • ensure the script no longer attempts to execute a nonexistent workdir command during CI runs

Testing

  • not run (in CI)

@oferchen
oferchen merged commit e0d6fa6 into master Nov 4, 2025
@oferchen
oferchen deleted the implement-missing-rsync-features branch November 4, 2025 01:03
oferchen added a commit that referenced this pull request May 6, 2026
* feat(fast_io): add io_uring RENAMEAT2 wrapper and kernel probe

Wraps `IORING_OP_RENAMEAT` (kernel 5.11+) with a OnceLock-cached
opcode probe and a borrowed-path argument struct mirroring the
shared-ring and splice probe conventions. Re-exports the libc
RENAME_NOREPLACE / RENAME_EXCHANGE / RENAME_WHITEOUT constants and
provides:

- `renameat2_supported()`: cached probe, short-circuits on
  `is_io_uring_available()`, then `IORING_REGISTER_PROBE` for opcode 35.
- `RenameAt2Args<'a>`: borrowed CStr paths + dirfds + flags.
- `build_renameat2_sqe()`: returns Unsupported when probe is false.
- `build_renameat2_sqe_unchecked()`: SQE wiring exercised by tests.
- `renameat2_blocking()`: synchronous submit + reap on a transient ring.

Mirrored stubs in `io_uring_stub.rs` keep the cross-platform surface
identical, with stub functions returning Unsupported. Linux-gated
integration test in `crates/fast_io/tests/io_uring_renameat2.rs`
exercises a real rename, RENAME_NOREPLACE rejection, and an exchange
swap, skipping when the kernel probe reports unsupported.

Closes #1920
Closes #1922

* fix(fast_io): use io::Error::other to satisfy clippy::io_other_error
oferchen added a commit that referenced this pull request May 18, 2026
* feat(fast_io): add io_uring RENAMEAT2 wrapper and kernel probe

Wraps `IORING_OP_RENAMEAT` (kernel 5.11+) with a OnceLock-cached
opcode probe and a borrowed-path argument struct mirroring the
shared-ring and splice probe conventions. Re-exports the libc
RENAME_NOREPLACE / RENAME_EXCHANGE / RENAME_WHITEOUT constants and
provides:

- `renameat2_supported()`: cached probe, short-circuits on
  `is_io_uring_available()`, then `IORING_REGISTER_PROBE` for opcode 35.
- `RenameAt2Args<'a>`: borrowed CStr paths + dirfds + flags.
- `build_renameat2_sqe()`: returns Unsupported when probe is false.
- `build_renameat2_sqe_unchecked()`: SQE wiring exercised by tests.
- `renameat2_blocking()`: synchronous submit + reap on a transient ring.

Mirrored stubs in `io_uring_stub.rs` keep the cross-platform surface
identical, with stub functions returning Unsupported. Linux-gated
integration test in `crates/fast_io/tests/io_uring_renameat2.rs`
exercises a real rename, RENAME_NOREPLACE rejection, and an exchange
swap, skipping when the kernel probe reports unsupported.

Closes #1920
Closes #1922

* fix(fast_io): use io::Error::other to satisfy clippy::io_other_error
oferchen added a commit that referenced this pull request Aug 24, 2026
* feat(fast_io): add io_uring RENAMEAT2 wrapper and kernel probe

Wraps `IORING_OP_RENAMEAT` (kernel 5.11+) with a OnceLock-cached
opcode probe and a borrowed-path argument struct mirroring the
shared-ring and splice probe conventions. Re-exports the libc
RENAME_NOREPLACE / RENAME_EXCHANGE / RENAME_WHITEOUT constants and
provides:

- `renameat2_supported()`: cached probe, short-circuits on
  `is_io_uring_available()`, then `IORING_REGISTER_PROBE` for opcode 35.
- `RenameAt2Args<'a>`: borrowed CStr paths + dirfds + flags.
- `build_renameat2_sqe()`: returns Unsupported when probe is false.
- `build_renameat2_sqe_unchecked()`: SQE wiring exercised by tests.
- `renameat2_blocking()`: synchronous submit + reap on a transient ring.

Mirrored stubs in `io_uring_stub.rs` keep the cross-platform surface
identical, with stub functions returning Unsupported. Linux-gated
integration test in `crates/fast_io/tests/io_uring_renameat2.rs`
exercises a real rename, RENAME_NOREPLACE rejection, and an exchange
swap, skipping when the kernel probe reports unsupported.

Closes #1920
Closes #1922

* fix(fast_io): use io::Error::other to satisfy clippy::io_other_error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant