rpcrdma_flush_disconnect(9)
π rpcrdma_flush_disconnect β the kernel API manual, bestie edition π
okay so before we even start, know that you're reading a page from the Kernel API Manual β that's the manual name, i'm folding it in right here at the top so you're never confused about where you are π«Ά
β¨ NAME β¨
rpcrdma_flush_disconnect β literally just "Disconnect on flushed completion". that's the whole vibe. the completion got flushed, we disconnect, periodt π
πΈ SYNOPSIS πΈ
void rpcrdma_flush_disconnect (struct rpcrdma_xprt *r_xprt , struct
ib_wc *wc );
yep that's it. void return, two args, no drama β¨ (well, some drama β see the arguments below)
π ARGUMENTS π
r_xprtβ the transport to disconnect. this is the thing you're sending to the shadow realm, no cap π¦wcβ the work completion entry. it's giving "receipts of what just happened" π
π¦ DESCRIPTION π¦
Must be called in process context. that's it, that's the description, and honestly it's kind of iconic that they said exactly one (1) thing β but it's a load-bearing one, so don't get cute and call it from interrupt context, bestie π
π₯ SEE ALSO π₯
the whole ## squad, plus the kernel file itself:
- Kernel file
./net/sunrpc/xprtrdma/verbs.c 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_req_destroy(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, that's the whole friend group right there β every single one of them, not skipping a single (9) π§
lowkey reminder bestie:rpcrdma_flush_disconnectlives in./net/sunrpc/xprtrdma, and calling it anywhere other than process context is not the move π
and that's the page!! stay hydrated, read your manpages, and remember β this gem dropped October 2026 in the ./net/sunrpc/xprtrdma directory, and you're gonna cite rpcrdma_flush_disconnect(9) like the main character you are ππ
π¦ 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