svc_rdma_xb_write(9)
π svc_rdma_xb_write(9) β the Kernel API Manual, bestie edition π
okay so this is a page from the Kernel API Manual, and honestly? she's a little baddie that builds RDMA Writes out of an xdr_buf. no cap.
β¨ NAME β¨
svc_rdma_xb_write β literally just Construct RDMA Writes to write an xdr_buf. that's the whole job. she constructs, she writes, she slays π
π¦ SYNOPSIS π¦
int svc_rdma_xb_write (const struct xdr_buf *xdr , void *data );
look at her go. two args, one int coming back, main character energy fr fr β¨
πΈ ARGUMENTS πΈ
xdrβ thexdr_bufto write. this is the thing getting written, periodt. it'sconstso hands off, bestie πdataβ a pointer to write arguments. yeah, it'svoid *, so she's trusting you to know what's in there. iykyk π«Ά
π RETURN π
On success, returns zero. iconic. zero notes. β
and then the plot twists, aka the error squad π:
-E2BIGβ if the client-provided Write chunk is too small. not her fault, the chunk was giving... insufficient. π-ENOMEMβ if a resource has been exhausted. we've all been there, running out of resources is so real. π-EIOβ if an rdma-rw error occurred. code red, something's cookin' and not in a good way π₯
no in-between, no "kinda worked" β it's zero or it's one of those three. she's dramatic but she's consistent π
π₯ SEE ALSO π₯
Kernel file:
./net/sunrpc/xprtrdma/svc_rdma_rw.c
that's where all the lore lives, bestie π
and now, the friend group β an absolutely stacked roster, no filler, all icons π:
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_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)
the whole squad came out for this one, we love to see it π«Άπ
okay and finally, the cute little sign-off at the bottom of the page: this one's brought to you by ./net/sunrpc/xprtrdma, dated October 2026, and yes it's still svc_rdma_xb_write(9) all the way down. go off, king ππβ¨
π¦ 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