rpcrdma_flush_disconnect(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

like, that's the whole friend group right there β€” every single one of them, not skipping a single (9) 🧚


lowkey reminder bestie: rpcrdma_flush_disconnect lives 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