Repository navigation
refactor(rdma): move negotiated depth definition - #623
Merged
ketor merged 1 commit intoNov 28, 2026
Merged
Conversation
- Keep the private depth writer byte-identical in the existing ops translation unit.
Contributor
Author
|
Final verification for head
Scope is only this pure helper relocation and the evidence above. This does not claim completion of M2, M3, M5, all of TRN-23 or TRN-24, or production readiness. Ready for the normal merge-queue decision; this comment is not a merge claim. |
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.
Scope
This is a draft for verification, not a merge-ready result. Exact raw head
9a34ac3ff48b63784ae8ec49fd1654b05a810259, treea72d69448922278af7ac17ae3d667261beab8b11, parentdf5002482c45d1e86d99e14aa95f9f4718e54882.Moves only the existing private
RdmaTransport::NoteNegotiatedDepthdefinition fromrdma_transport.ccto the existingrdma_transport_ops.cc, directly after the existingLearnedDepthdefinition. It is a nine-line, 424-byte verbatim state-writer relocation (SHA-2564defc1132d396ca325179ac880e58f171319e6eee50e418444ad649fd9773e51). Each translation unit changes by exactly 10 lines /425 bytes. No header, public interface, per-instance state, mutex,depth_mu_, learned maps, caller, logging, resource-budget refund ordering, defaults, CMake or tests change.The separate mutex and both learned maps still belong to the same transport instance across translation units; no TU-local cache, wrapper or fallback is introduced.
remote.depth == 0still returns immediately, updates use the appropriate control/data map only for missing or smaller remote values, and caller-side budget replacement/refund/text logging stays at the original call site.Source evidence already independently checked
.ccfiles differ from the exact parent.rdma_transport.cc(201,572 B, 4,687 lines, blobf21a3bc0945770fe31fe5c430a7af56c13f9734c) andrdma_transport_ops.cc(8,326 B, 210 lines, blob2ab34a85199df5032306999feb2cc9f64f84beb4) byte-for-byte.Verification still in progress
Physical RDMA focused tests, baseline/candidate linked-object comparisons, RDMA+io_uring=OFF build/link, a fresh current-main full regression, and final independent evidence review are still being performed. This draft deliberately does not claim those passed, is not being marked ready for review, and is not being queued for merge. Public CI for this exact head is expected to run in parallel. A final evidence-backed validation summary is required before any ready/merge action.
This is one helper relocation only, not an overall TRN-23/M6, production, universal binary/ABI/performance or concurrency claim.