xprt_wait_for_buffer_space(9)
π xprt_wait_for_buffer_space β Kernel API Manual (section 9) π¦
okay so bestie, you found it β the xprt_wait_for_buffer_space page from the Kernel API Manual, section 9. yes, that one. pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
xprt_wait_for_buffer_space β literally just wait for the transport output buffer to clear π«Ά
πΈ SYNOPSIS πΈ
void xprt_wait_for_buffer_space (struct rpc_xprt *xprt );
that's the whole vibe. returns void, takes one pointer, no notes. π
π ARGUMENTS π
xprtβ the transport. that's it. that's the whole argument. main character energy π
π DESCRIPTION π
okay so here's the tea β β note that we only set the timer for the case of RPC_IS_SOFT, because we don't in general want to force a socket disconnection due to an incomplete RPC call transmission. no cap, that's the whole rule. don't come for the socket unless it's soft. π«Ά
fr fr, this is the only thing this page tells you β the timer is gated on RPC_IS_SOFT, and the reason is that forcing a disconnect over a half-sent RPC call is Not It. π
π SEE ALSO π
Kernel file ./net/sunrpc/xprt.c β¨ and, bestie, buckle up, because the friends list is long:
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_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_delay(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, the whole sunrpc xprt family reunion π§π iykyk.
that's the page, bestie β go forth and wait for that buffer to clear π«
π cute little sign-off: this one lives in./net/sunrpcand it's dated October 2026, pagexprt_wait_for_buffer_space(9). iconic, no notes. ππ₯
π¦ 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