svc_rdma_re...tiple_chunks(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the rdma_rw context pool was exhausted πŸ’€ we ran out
  • -ENOTCONN β€” posting failed (the connection is lost) πŸ™ˆ oop
  • -EIO β€” rdma_rw initialization 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:


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