svc_rdma_build_read_segment(9)
π
svc_rdma_build_read_segment(9) β Kernel API Manual π
okay so bestie, welcome to the Kernel API Manual page for svc_rdma_build_read_segment(9). This function is literally out here building RDMA Read WQEs to pull one RDMA segment β that's the whole assignment. No cap. π¦
β¨ NAME β¨
svc_rdma_build_read_segment β Build RDMA Read WQEs to pull one RDMA segment. That's it, that's the vibe, and it ate. π
πΈ SYNOPSIS πΈ
int svc_rdma_build_read_segment (struct svc_rqst *rqstp , struct
svc_rdma_recv_ctxt *head , const struct svc_rdma_segment *segment );
π ARGUMENTS π
rqstpβ RPC transaction context. The main character context, iykyk. π«Άheadβ context for ongoing I/O. Lowkey the headquarters for the ongoing I/O situation. β¨segmentβ co-ordinates of remote memory to be read. It's giving "remote memory co-ordinates," periodt. πΈ
π₯ RETURN π₯
0β the Read WR chain was constructed successfully. Slay, it worked. π-EINVALβ there were not enoughrq_pagesto finish. Not enough pages? tragic. π-ENOMEMβ allocating a local resources failed. Yes bestie, that's exactly how it's written β we don't edit the lore. π«-EIOβ a DMA mapping error occurred. Big yikes. π
π¦ SEE ALSO π¦
Kernel file ./net/sunrpc/xprtrdma/svc_rdma_rw.c β that's the source file, bestie, go look if you're curious. π
And here's the rest of the SEE ALSO cinematic universe:
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_chunk(9)svc_rdma_copy_inline_range(9)svc_rdma_read_multiple_chunks(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)
mwah π β this lil page came from source ./net/sunrpc/xprtrdma, dated October 2026, and it's literally svc_rdma_build_read_segment(9). Bye bestie, go build those Read WQEs responsibly π«Άπ
π¦ 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