Skip to content

Optimize protocol negotiation bitmap handling#296

Merged
oferchen merged 1 commit into
masterfrom
establish-parity-with-rsync-3.4.1
Oct 16, 2025
Merged

Optimize protocol negotiation bitmap handling#296
oferchen merged 1 commit into
masterfrom
establish-parity-with-rsync-3.4.1

Conversation

@oferchen
Copy link
Copy Markdown
Owner

Summary

  • track peer protocol advertisements in select_highest_mutual with a bitmap instead of a boolean array to cut per-call allocations
  • guard bitmap updates and lookups against shifts beyond u64::BITS while still reconstructing the diagnostic peer list in order

Testing

  • cargo test

https://chatgpt.com/codex/tasks/task_e_68f15b9998f8832385862de6e68034a0

@oferchen oferchen merged commit 4984114 into master Oct 16, 2025
@oferchen oferchen deleted the establish-parity-with-rsync-3.4.1 branch October 16, 2025 21:02
oferchen added a commit that referenced this pull request Feb 22, 2026
Add io_error accumulator to MultiplexReader that OR's incoming
MSG_IO_ERROR payloads (upstream io.c:1521-1528). Previously these
messages were silently discarded in the catch-all arm.

Add take_io_error() to both MultiplexReader and ServerReader for
the receiver to retrieve and forward accumulated I/O error flags.
oferchen added a commit that referenced this pull request Feb 22, 2026
Add io_error accumulator to MultiplexReader that OR's incoming
MSG_IO_ERROR payloads (upstream io.c:1521-1528). Previously these
messages were silently discarded in the catch-all arm.

Add take_io_error() to both MultiplexReader and ServerReader for
the receiver to retrieve and forward accumulated I/O error flags.
oferchen added a commit that referenced this pull request May 1, 2026
Add io_error accumulator to MultiplexReader that OR's incoming
MSG_IO_ERROR payloads (upstream io.c:1521-1528). Previously these
messages were silently discarded in the catch-all arm.

Add take_io_error() to both MultiplexReader and ServerReader for
the receiver to retrieve and forward accumulated I/O error flags.
oferchen added a commit that referenced this pull request May 5, 2026
Add io_error accumulator to MultiplexReader that OR's incoming
MSG_IO_ERROR payloads (upstream io.c:1521-1528). Previously these
messages were silently discarded in the catch-all arm.

Add take_io_error() to both MultiplexReader and ServerReader for
the receiver to retrieve and forward accumulated I/O error flags.
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