xprt_pin_rqst(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xprt_pin_rqst(9) β€” Kernel API Manual, bestie edition πŸ’–

okay so this is the xprt_pin_rqst(9) page from the Kernel API Manual, and we're gonna make it make sense. It's the lil' function that pins a request on the transport receive list, and yes, the lock situation is part of the plot. 🫢


🌸 NAME 🌸

xprt_pin_rqst β€” Pin a request on the transport receive list ✨

✨ SYNOPSIS ✨

void xprt_pin_rqst (struct rpc_rqst *req );

πŸ’… ARGUMENTS πŸ’…

  • req β€” Request to pin. That's the request getting pinned, no cap. πŸŽ€

πŸŽ€ DESCRIPTION πŸŽ€

The caller has to make sure this is atomic with the call to xprt_lookup_rqst, so you should be holding xprt->queue_lock. That's the safety vibe, bestie β€” don't skip the lock. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./net/sunrpc/xprt.c and the whole sunrpc friend group:

πŸ’Œ Sign-off from source/version ./net/sunrpc, dated October 2026, on manual xprt_pin_rqst(9) β€” byeee, mwah! πŸ’–
πŸ“¦ where this page comes from