xprt_reconnect_delay(9)
β¨ xprt_reconnect_delay β¨
okay so bestie, we're in the Kernel API Manual today and the whole vibe is networking, but make it patient. Like, sometimes your RPC transport needs a lil minute before it tries to connect again, and this function is the one that does the math on how long that lil minute is. No cap, it's giving "respectful pause energy" π
πΈ NAME πΈ
xprt_reconnect_delay β compute the wait before scheduling a connect
literally it works out the delay, that's the whole gig, she's a calculator with a skincare routine β¨
π¦ SYNOPSIS π¦
unsigned long xprt_reconnect_delay (const struct rpc_xprt *xprt );
she returns an unsigned long (that's the number of... wait, that's the delay value, bestie) and she takes exactly one thing. one singular thing. main character behavior honestly π
π ARGUMENTS π
xprtβ the transport instance. that's it. that's the whole argument.const struct rpc_xprt *, so she's looking, not touching β very respectful of boundaries π«Ά
π SEE ALSO π
okay this is the part where the manpage goes absolutely feral and lists literally everyone at the function party. they're all in the kernel file ./net/sunrpc/xprt.c and they all have (9) after their names because that's how kernel API pages roll, iykyk:
xprt_register_transport(9)xprt_unregister_transport(9)xprt_find_transport_ident(9)xprt_reserve_xprt(9)xprt_release_xprt(9)xprt_release_xprt_cong(9)xprt_request_get_cong(9)xprt_release_rqst_cong(9)xprt_adjust_cwnd(9)xprt_wake_pending_tasks(9)xprt_wait_for_buffer_space(9)xprt_write_space(9)xprt_adjust_timeout(9)xprt_disconnect_done(9)xprt_schedule_autoclose_locked(9)xprt_force_disconnect(9)xprt_conditional_disconnect(9)xprt_connect(9)xprt_reconnect_backoff(9)xprt_lookup_rqst(9)xprt_pin_rqst(9)xprt_unpin_rqst(9)xprt_request_enqueue_receive(9)xprt_request_dequeue_receive_locked(9)xprt_update_rtt(9)xprt_complete_rqst(9)xprt_wait_for_reply_request_def(9)xprt_wait_for_reply_request_rtt(9)xprt_request_wait_receive(9)xprt_request_enqueue_transmit(9)xprt_request_dequeue_transmit_locked(9)xprt_request_dequeue_transmit(9)xprt_request_dequeue_xprt(9)xprt_request_prepare(9)xprt_request_need_retransmit(9)xprt_prepare_transmit(9)xprt_request_transmit(9)xprt_transmit(9)xprt_add_backlog_noncongested(9)xprt_reserve(9)xprt_retry_reserve(9)xprt_release(9)xprt_create_transport(9)xprt_destroy(9)xprt_get(9)xprt_put(9)
like. forty-six whole siblings. one big sunrpc family reunion and every single one of them showed up π but honestly? iconic. we stan a thorough cross-reference section π
ngl bestie there's not a ton of plot here β this page is short and sweet: one function, one argument, one job. but she does her one job flawlessly and that's more than most of us can say ππ
okay and before you close the tab β the fine print said this whole thing lives under ./net/sunrpc and it's dated October 2026, so like... mark your calendars, future bestie ποΈβ¨ bye ily, go read xprt.c π§ββοΈπΈ
π¦ 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