svc_rdma_iov_write(9)
β¨ svc_rdma_iov_write(9) β¨
okay so bestie, welcome to the Kernel API Manual π
this lil page is all about svc_rdma_iov_write and honestly it's giving "small function, big responsibilities" energy. let's get into it π«Ά
πΈ NAME πΈ
svc_rdma_iov_write β construct RDMA Writes from an iov π¦
like, it literally builds RDMA Write operations out of an iov. that's the whole vibe. no cap.
β¨ SYNOPSIS β¨
int svc_rdma_iov_write (struct svc_rdma_write_info *info , const struct
kvec *iov );
so you're calling it with a struct svc_rdma_write_info * and a const struct kvec * and it hands you back an int. iconic signature, tbh π
π ARGUMENTS π
infoβ pointer to write arguments π this is where all the write deets live.iovβ the kvec to write π like, the actual data chunk you're pushing out.
π₯ RETURN π₯
okay so here's the tea on what comes back β
- On success, returns zero β slay, we love a clean exit.
-E2BIGβ if the client-provided Write chunk is too small π like the chunk literally cannot hold it, not enough room bestie.-ENOMEMβ if a resource has been exhausted π out of memory/resources, rough.-EIOβ if an rdma-rw error occurred π something went sideways at the rdma-rw level.
bestie pls check that return value, fr fr. zero is the only happy one here π
π¦ SEE ALSO π¦
the kernel file to go peep: ./net/sunrpc/xprtrdma/svc_rdma_rw.c π
and here's the whole bestie squad of related functions, no gatekeeping β¨
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_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_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)
aaaand that's the page!! π mwah π this one lives over at ./net/sunrpc/xprtrdma, dated October 2026, so go check it out irl whenever, bestie. iykyk πβ¨
π¦ 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