Skip to content

Add coverage for bandwidth limiter debt accumulation#1283

Merged
oferchen merged 1 commit into
masterfrom
implement-rsync-3.4.1-functionality-in-rust
Oct 27, 2025
Merged

Add coverage for bandwidth limiter debt accumulation#1283
oferchen merged 1 commit into
masterfrom
implement-rsync-3.4.1-functionality-in-rust

Conversation

@oferchen
Copy link
Copy Markdown
Owner

Summary

  • document how the bandwidth limiter aggregates sub-threshold writes
  • add a unit test ensuring repeated small transfers still trigger a sleep

Testing

  • cargo test -p rsync-bandwidth limiter_accumulates_debt_across_small_writes -- --nocapture

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

@oferchen oferchen merged commit 8e1322b into master Oct 27, 2025
@oferchen oferchen deleted the implement-rsync-3.4.1-functionality-in-rust branch October 27, 2025 19:50
oferchen added a commit that referenced this pull request May 5, 2026
Defines how rayon CPU-parallel workers compose with single-thread
async io_uring instances. Recommends one ring per session (model B)
with the SQPOLL kernel thread as dispatcher when available. Locks in
non-blocking submission, registered-buffer ownership rules, local-queue
backpressure, and a per-submit fallback chain to pread64/pwrite64.
Wire-compat invariants confirmed unchanged.

Tracking: #1283. Implementation follow-up: #1284.
oferchen added a commit that referenced this pull request May 18, 2026
Defines how rayon CPU-parallel workers compose with single-thread
async io_uring instances. Recommends one ring per session (model B)
with the SQPOLL kernel thread as dispatcher when available. Locks in
non-blocking submission, registered-buffer ownership rules, local-queue
backpressure, and a per-submit fallback chain to pread64/pwrite64.
Wire-compat invariants confirmed unchanged.

Tracking: #1283. Implementation follow-up: #1284.
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