svc_rdma_xb_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the xdr_buf to write. this is the thing getting written, periodt. it's const so hands off, bestie πŸ™ˆ
  • data β€” a pointer to write arguments. yeah, it's void *, 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 πŸ‘‘:

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