Skip to content

docs: document canonical source repository - #1872

Merged
oferchen merged 1 commit into
masterfrom
fix-missing-source-repository-url
Nov 1, 2025
Merged

oferchen merged 1 commit into
masterfrom
fix-missing-source-repository-url

Conversation

@oferchen

@oferchen oferchen commented Nov 1, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • add the canonical source repository link to the README

Testing

  • cargo --locked run -p xtask -- docs --validate

@oferchen
oferchen merged commit 341e0ea into master Nov 1, 2025
@oferchen
oferchen deleted the fix-missing-source-repository-url branch November 1, 2025 12:34
oferchen added a commit that referenced this pull request May 2, 2026
)

EWOULDBLOCK is defined equal to EAGAIN on Linux, so the second match arm is unreachable under -D warnings. Collapse to a single equality check and rerun rustfmt on the writer thread spawn block.
oferchen added a commit that referenced this pull request May 2, 2026
…1872)

Same unreachable-pattern fix as the prior commit for batching.rs - applied
to the prefill loop in tests.rs. EWOULDBLOCK == EAGAIN on Linux, so the
second arm is unreachable under -D warnings.
oferchen added a commit that referenced this pull request May 2, 2026
The previous payload formula `(i % 250) + 1` produced byte 0xAB at
i=170, which collides with PREFILL_MARKER (0xAB). The drain side relies
on this byte never appearing in the payload to recognize the boundary
between the saturating prefill and the io_uring writer output.

Replace the mapping with a range that walks 1..=255 while skipping the
marker byte, so the debug_assert on line 1040 holds for any index.
oferchen added a commit that referenced this pull request May 2, 2026
…1872)

Without a readiness gate, an IORING_OP_SEND on a back-pressured TCP
socket can sit in the kernel until the send buffer drains. While that
SQE is pending the writer ring's submit_and_wait() does not return,
starving any concurrent RECV completion side and producing the
apparent deadlock reported in #1872.

Mirror upstream rsync's bidirectional select() strategy
(io.c:perform_io) inside submit_send_batch by gating each batch with a
PollAdd(POLLOUT) SQE plus a linked Timeout. SEND SQEs are only
submitted after the socket reports writable, so submit_and_wait is
bounded by readiness rather than peer drain. Transient EAGAIN/ETIME
results re-arm the readiness wait instead of failing.

Adds a Linux-only regression test that prefills a small TCP socket
buffer until EAGAIN, then drives a concurrent SEND and RECV across
their own io_uring rings under a 20s wall-clock guard. The test skips
gracefully when io_uring is not available.
oferchen added a commit that referenced this pull request May 2, 2026
)

EWOULDBLOCK is defined equal to EAGAIN on Linux, so the second match arm is unreachable under -D warnings. Collapse to a single equality check and rerun rustfmt on the writer thread spawn block.
oferchen added a commit that referenced this pull request May 2, 2026
…1872)

Same unreachable-pattern fix as the prior commit for batching.rs - applied
to the prefill loop in tests.rs. EWOULDBLOCK == EAGAIN on Linux, so the
second arm is unreachable under -D warnings.
oferchen added a commit that referenced this pull request May 2, 2026
The previous payload formula `(i % 250) + 1` produced byte 0xAB at
i=170, which collides with PREFILL_MARKER (0xAB). The drain side relies
on this byte never appearing in the payload to recognize the boundary
between the saturating prefill and the io_uring writer output.

Replace the mapping with a range that walks 1..=255 while skipping the
marker byte, so the debug_assert on line 1040 holds for any index.
oferchen added a commit that referenced this pull request May 7, 2026
Plan replaces std and tokio TcpStream halves in the daemon accept
loop with the io_uring socket reader/writer adapters once the shared
session ring (#1874) and per-session ring pool (#1936/#1937) land,
reusing the POLLOUT linked-timeout fix from #1872.
oferchen added a commit that referenced this pull request May 18, 2026
Plan replaces std and tokio TcpStream halves in the daemon accept
loop with the io_uring socket reader/writer adapters once the shared
session ring (#1874) and per-session ring pool (#1936/#1937) land,
reusing the POLLOUT linked-timeout fix from #1872.
oferchen added a commit that referenced this pull request Aug 24, 2026
Plan replaces std and tokio TcpStream halves in the daemon accept
loop with the io_uring socket reader/writer adapters once the shared
session ring (#1874) and per-session ring pool (#1936/#1937) land,
reusing the POLLOUT linked-timeout fix from #1872.
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