rpcrdma_req_destroy(9)
β¨ 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:
rpcrdma_flush_disconnect(9)rpcrdma_wc_send(9)rpcrdma_wc_receive(9)rpcrdma_cm_event_handler(9)rpcrdma_xprt_connect(9)rpcrdma_xprt_disconnect(9)rpcrdma_sendctx_get_locked(9)rpcrdma_sendctx_unget_locked(9)rpcrdma_sendctx_put_locked(9)rpcrdma_mrs_refresh(9)rpcrdma_req_create(9)rpcrdma_req_setup(9)rpcrdma_rep_put(9)rpcrdma_buffer_create(9)rpcrdma_mrs_destroy(9)rpcrdma_buffer_destroy(9)rpcrdma_mr_get(9)rpcrdma_reply_put(9)rpcrdma_buffer_get(9)rpcrdma_buffer_put(9)rpcrdma_regbuf_realloc(9)__rpcrdma_regbuf_dma_map(9)rpcrdma_post_recvs(9)
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
- 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