rpcrdma_req_destroy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ rpcrdma_req_destroy ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this little page is all about rpcrdma_req_destroy(9) β€” yes the (9) means it's kernel-level, we're in the big leagues now πŸŽ€


🌸 NAME 🌸

rpcrdma_req_destroy β€” literally the function that destroys an rpcrdma_req object πŸ’… that's the whole vibe, no cap


πŸ¦‹ SYNOPSIS πŸ¦‹

void rpcrdma_req_destroy (struct rpcrdma_req *req );

that's it. that's the signature. look at her go ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • req β€” the unused object that's about to be destroyed 🫢 like, it's getting yeeted, but make it ✨graceful✨

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea β˜• this function relies on the caller holding the transport send lock to protect removing req->rl_all from buf->rb_all_reqs safely.

read that again bestie, because it's giving "you better already be holding that lock" energy 😭 this is not a drill, it's a safety requirement β€” the send lock is what keeps the req->rl_all removal from buf->rb_all_reqs from going full chaos mode πŸ’€

lowkey important: the lock-holding is the caller's job, not this function's. no cap. 🚨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./net/sunrpc/xprtrdma/verbs.c β€” the main character herself πŸ‘‘

and the whole friend group, fr fr:

like, the whole roster 😭 so many icons in one place 🌈


<div align="center">πŸ₯Ί that's the page, bestie πŸ₯Ί</div>

kisses from the ./net/sunrpc/xprtrdma source, dated October 2026 β€” slay, bye! πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

πŸ“¦ where this page comes from