Skip to content

Report SIMD checksum support in version output - #1940

Merged
oferchen merged 1 commit into
masterfrom
implement-missing-components-for-oc-rsync
Nov 4, 2025
Merged

oferchen merged 1 commit into
masterfrom
implement-missing-components-for-oc-rsync

Conversation

@oferchen

@oferchen oferchen commented Nov 4, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • expose a public helper to report SIMD rolling-checksum availability and surface it through crate re-exports
  • advertise the detected SIMD capability in VersionInfoConfig and default VersionInfoReport construction while documenting the requirement for future accelerations
  • cover the new detection with unit tests and align existing expectations

Testing

  • cargo test -p rsync-checksums
  • cargo test -p rsync-core version::tests::report

@oferchen
oferchen merged commit 83e59b3 into master Nov 4, 2025
@oferchen
oferchen deleted the implement-missing-components-for-oc-rsync branch November 4, 2025 09:33
oferchen added a commit that referenced this pull request May 7, 2026
Document the design for an opt-in `--delete-strict-order` flag that
forces upstream's per-directory interleaved deletion order, while
leaving the default batched sweep unchanged. Cites audit #1893 and
follow-up #1894.
oferchen added a commit that referenced this pull request May 17, 2026
…4245)

Adds `--delete-strict-order` / `--no-delete-strict-order` CLI flags (default
off) that switch `--delete-during` from the existing batched post-transfer
sweep to upstream's interleaved walk-then-delete - the receiver runs each
directory's deletion sweep before its children are processed, mirroring
`delete_in_dir()` at generator.c:1520-1526 and generator.c:2298-2310.

The toggle is plumbed end-to-end (ParsedArgs -> ConfigInputs ->
ClientConfig(Builder) -> LocalCopyOptions(Builder)) and is inert under
Before/Delay/After timings, which already match upstream. Adds unit
coverage for the option gating, the parser surface, and an executor-level
integration test that verifies `subdir/extra.txt` is removed before
`subdir/new.txt` is written under strict-order semantics.
oferchen added a commit that referenced this pull request May 17, 2026
Part of the DDP (parallel-flist deterministic delete) series. The
opt-in `--delete-strict-order` flag (PR #4245, issue #1940) is
replaced by a single deterministic per-directory deletion model
described in docs/design/parallel-deterministic-delete.md. The new
emitter wiring lands in DDP-E1..E5; until then the existing batched
post-transfer sweep remains the live `--delete-during` path, so this
PR removes only the flag, not the sweep. DDP-F3 (sweep removal) will
follow once the emitter is wired as the live replacement.

Removed across cli, core, and engine: the CLI argument definitions,
parsed-args field, parser plumbing, help and supported-options
strings, ClientConfig field/setter/accessor/default test, the run
plumbing into LocalCopyOptions, the engine options field/setter/
accessor and four unit tests, the builder field/setter/default, and
the strict-order branch plus the suppressed-post-transfer-sweep gate
in the recursive directory executor.

Closes #2270, #2271, #2273, #2274.
oferchen added a commit that referenced this pull request May 18, 2026
Document the design for an opt-in `--delete-strict-order` flag that
forces upstream's per-directory interleaved deletion order, while
leaving the default batched sweep unchanged. Cites audit #1893 and
follow-up #1894.
oferchen added a commit that referenced this pull request May 18, 2026
…4245)

Adds `--delete-strict-order` / `--no-delete-strict-order` CLI flags (default
off) that switch `--delete-during` from the existing batched post-transfer
sweep to upstream's interleaved walk-then-delete - the receiver runs each
directory's deletion sweep before its children are processed, mirroring
`delete_in_dir()` at generator.c:1520-1526 and generator.c:2298-2310.

The toggle is plumbed end-to-end (ParsedArgs -> ConfigInputs ->
ClientConfig(Builder) -> LocalCopyOptions(Builder)) and is inert under
Before/Delay/After timings, which already match upstream. Adds unit
coverage for the option gating, the parser surface, and an executor-level
integration test that verifies `subdir/extra.txt` is removed before
`subdir/new.txt` is written under strict-order semantics.
oferchen added a commit that referenced this pull request May 18, 2026
Part of the DDP (parallel-flist deterministic delete) series. The
opt-in `--delete-strict-order` flag (PR #4245, issue #1940) is
replaced by a single deterministic per-directory deletion model
described in docs/design/parallel-deterministic-delete.md. The new
emitter wiring lands in DDP-E1..E5; until then the existing batched
post-transfer sweep remains the live `--delete-during` path, so this
PR removes only the flag, not the sweep. DDP-F3 (sweep removal) will
follow once the emitter is wired as the live replacement.

Removed across cli, core, and engine: the CLI argument definitions,
parsed-args field, parser plumbing, help and supported-options
strings, ClientConfig field/setter/accessor/default test, the run
plumbing into LocalCopyOptions, the engine options field/setter/
accessor and four unit tests, the builder field/setter/default, and
the strict-order branch plus the suppressed-post-transfer-sweep gate
in the recursive directory executor.

Closes #2270, #2271, #2273, #2274.
oferchen added a commit that referenced this pull request May 18, 2026
…4245)

Adds `--delete-strict-order` / `--no-delete-strict-order` CLI flags (default
off) that switch `--delete-during` from the existing batched post-transfer
sweep to upstream's interleaved walk-then-delete - the receiver runs each
directory's deletion sweep before its children are processed, mirroring
`delete_in_dir()` at generator.c:1520-1526 and generator.c:2298-2310.

The toggle is plumbed end-to-end (ParsedArgs -> ConfigInputs ->
ClientConfig(Builder) -> LocalCopyOptions(Builder)) and is inert under
Before/Delay/After timings, which already match upstream. Adds unit
coverage for the option gating, the parser surface, and an executor-level
integration test that verifies `subdir/extra.txt` is removed before
`subdir/new.txt` is written under strict-order semantics.
oferchen added a commit that referenced this pull request May 18, 2026
Part of the DDP (parallel-flist deterministic delete) series. The
opt-in `--delete-strict-order` flag (PR #4245, issue #1940) is
replaced by a single deterministic per-directory deletion model
described in docs/design/parallel-deterministic-delete.md. The new
emitter wiring lands in DDP-E1..E5; until then the existing batched
post-transfer sweep remains the live `--delete-during` path, so this
PR removes only the flag, not the sweep. DDP-F3 (sweep removal) will
follow once the emitter is wired as the live replacement.

Removed across cli, core, and engine: the CLI argument definitions,
parsed-args field, parser plumbing, help and supported-options
strings, ClientConfig field/setter/accessor/default test, the run
plumbing into LocalCopyOptions, the engine options field/setter/
accessor and four unit tests, the builder field/setter/default, and
the strict-order branch plus the suppressed-post-transfer-sweep gate
in the recursive directory executor.

Closes #2270, #2271, #2273, #2274.
oferchen added a commit that referenced this pull request Aug 24, 2026
Document the design for an opt-in `--delete-strict-order` flag that
forces upstream's per-directory interleaved deletion order, while
leaving the default batched sweep unchanged. Cites audit #1893 and
follow-up #1894.
oferchen added a commit that referenced this pull request Aug 24, 2026
…4245)

Adds `--delete-strict-order` / `--no-delete-strict-order` CLI flags (default
off) that switch `--delete-during` from the existing batched post-transfer
sweep to upstream's interleaved walk-then-delete - the receiver runs each
directory's deletion sweep before its children are processed, mirroring
`delete_in_dir()` at generator.c:1520-1526 and generator.c:2298-2310.

The toggle is plumbed end-to-end (ParsedArgs -> ConfigInputs ->
ClientConfig(Builder) -> LocalCopyOptions(Builder)) and is inert under
Before/Delay/After timings, which already match upstream. Adds unit
coverage for the option gating, the parser surface, and an executor-level
integration test that verifies `subdir/extra.txt` is removed before
`subdir/new.txt` is written under strict-order semantics.
oferchen added a commit that referenced this pull request Aug 24, 2026
Part of the DDP (parallel-flist deterministic delete) series. The
opt-in `--delete-strict-order` flag (PR #4245, issue #1940) is
replaced by a single deterministic per-directory deletion model
described in docs/design/parallel-deterministic-delete.md. The new
emitter wiring lands in DDP-E1..E5; until then the existing batched
post-transfer sweep remains the live `--delete-during` path, so this
PR removes only the flag, not the sweep. DDP-F3 (sweep removal) will
follow once the emitter is wired as the live replacement.

Removed across cli, core, and engine: the CLI argument definitions,
parsed-args field, parser plumbing, help and supported-options
strings, ClientConfig field/setter/accessor/default test, the run
plumbing into LocalCopyOptions, the engine options field/setter/
accessor and four unit tests, the builder field/setter/default, and
the strict-order branch plus the suppressed-post-transfer-sweep gate
in the recursive directory executor.

Closes #2270, #2271, #2273, #2274.
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