Repository navigation
docs(fast_io): evaluate IORING_REGISTER_PBUF_RING for read paths (#2043) - #3504
Merged
Merged
Conversation
Evaluate provided-buffer rings (PBUF_RING, kernel 5.19+) against the existing IORING_REGISTER_BUFFERS path. Survey current io_uring read sites in fast_io, document the layered kernel-version fallback chain, and recommend keeping IoUringReader on READ_FIXED while reserving PBUF_RING for stream receive paths (IoUringSocketReader and a future IoUringPipeReader). Document a Phase 1/2/3 plan: this audit, then opcode-aware probing surfaced via --version, then actual PBUF_RING usage gated on a benchmark.
oferchen
added a commit
that referenced
this pull request
May 5, 2026
…) (#3504) Evaluate provided-buffer rings (PBUF_RING, kernel 5.19+) against the existing IORING_REGISTER_BUFFERS path. Survey current io_uring read sites in fast_io, document the layered kernel-version fallback chain, and recommend keeping IoUringReader on READ_FIXED while reserving PBUF_RING for stream receive paths (IoUringSocketReader and a future IoUringPipeReader). Document a Phase 1/2/3 plan: this audit, then opcode-aware probing surfaced via --version, then actual PBUF_RING usage gated on a benchmark.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/audits/iouring-pbuf-ring.md, a docs-only audit answering task Remove redundant must_use attributes in embedding API #2043: probeIORING_REGISTER_PBUF_RING(kernel 5.19+) and document the fallback chain.crates/fast_io/src/io_uring/read surface (IoUringReaderpositional reads,IoUringSocketReaderstream recv) against PBUF_RING semantics. Recommends keepingIoUringReaderonREAD_FIXED+IORING_REGISTER_BUFFERSand reserving PBUF_RING for stream receive paths.--version, no behaviour change) / Phase 3 (actual PBUF_RING usage inIoUringSocketReaderand a futureIoUringPipeReader, gated on a benchmark) plan.iouring-pipe-stdio.md(Gate alternatives registration and centralize tarball target metadata #1859),disk-commit-iouring-batching.md(Add RSYNC_CONNECT_PROG support for module listings #1086),mmap-iouring-co-usage.md(Add brand summary helper for release metadata #1660). Stamps "Last verified: 2026-05-01" against master @83c8aa41with the specific files spot-checked.Test plan
todo!/placeholder/FIXME.docs/audits/.