svc_rdma_re...tiple_chunks(9)
π NAME π
svc_rdma_read_multiple_chunks β okay bestie, this one builds RDMA Reads to pull the data item Read chunks, no cap β¨
So like, this page lives in the Kernel API Manual, and the whole thing is literally about svc_rdma_read_multiple_chunks. That's the name, that's the vibe, we move π«Ά
πΈ SYNOPSIS πΈ
int svc_rdma_read_multiple_chunks (struct svc_rqst *rqstp , struct
svc_rdma_recv_ctxt *head );
π ARGUMENTS π
rqstpβ the RPC transaction context, i.e. the whole situation for this call πheadβ context for the ongoing I/O, keeping track of what's happening right now πΈ
π¦ DESCRIPTION π¦
okay so here's the tea: the chunk data lands in rqstp->rq_arg as a series of contiguous pages β literally like an incoming TCP call. That's it, that's the whole plot π§
Return values, and bestie, memorize these, they're the whole vibe check of this function:
0β the RDMA Read WQEs were successfully built π slay-EINVALβ the client provided too many chunks or segments π not the client misbehaving-ENOMEMβ therdma_rwcontext pool was exhausted π we ran out-ENOTCONNβ posting failed (the connection is lost) π oop-EIOβrdma_rwinitialization failed (DMA mapping, etc) π¬ that's the DMA mapping and friends being a problem
lowkey important: these are the only outcomes listed here, so don't go making up extra ones, iykyk β¨
π SEE ALSO π
Kernel file ./net/sunrpc/xprtrdma/svc_rdma_rw.c β that's where the source literally is, go look π₯
And the whole friend group, in order, no skips:
svc_rdma_destroy_rw_ctxts(9)svc_rdma_rw_ctx_init(9)svc_rdma_cc_init(9)svc_rdma_cc_release(9)svc_rdma_write_chunk_release(9)svc_rdma_reply_chunk_release(9)svc_rdma_reply_done(9)svc_rdma_write_done(9)svc_rdma_wc_read_done(9)svc_rdma_iov_write(9)svc_rdma_pages_write(9)svc_rdma_xb_write(9)svc_rdma_prepare_write_list(9)svc_rdma_prepare_reply_chunk(9)svc_rdma_build_read_segment(9)svc_rdma_build_read_chunk(9)svc_rdma_copy_inline_range(9)svc_rdma_read_data_item(9)svc_rdma_read_chunk_range(9)svc_rdma_read_call_chunk(9)svc_rdma_read_special(9)svc_rdma_process_read_list(9)
k bye bestie, and remember: this page is straight from ./net/sunrpc/xprtrdma and it's dated October 2026 β tagging svc_rdma_re...tiple_chunks(9) one last time so you never lose the thread πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms