rpc_run_bc_task(9)
π rpc_run_bc_task(9) β a Kernel API Manual moment π
okay so bestie, welcome to the Kernel API Manual, and buckle up because this one is short but it's mighty β¨. We're talking about rpc_run_bc_task β yes, the "bc" is backchannel, and yes, it's giving main character energy in the SunRPC world π¦.
πΈ NAME πΈ
rpc_run_bc_task β literally allocates a brand-new RPC task for backchannel use, then runs rpc_execute against it π«. That's it. That's the whole vibe. No cap, it does exactly what it says on the tin.
β¨ SYNOPSIS β¨
struct rpc_task * rpc_run_bc_task (struct rpc_rqst *req , struct rpc_timeout *timeout );
like... look at that signature. it's gorgeous. it returns a struct rpc_task *, bestie π«Ά
π ARGUMENTS π
reqβ the RPC request, periodt. This is the thing you're handing over so the task has something to do πtimeoutβ the timeout values to use for this task, fr fr. This is where you tell it how long it's allowed to wait before things get awkward π
π₯ SEE ALSO π₯
Kernel file ./net/sunrpc/clnt.c β that's where the magic lives, iykyk π
And now, the whole squad, in order because we don't skip anyone in this house π :
rpc_create(9)rpc_clone_client(9)rpc_clone_client_set_auth(9)rpc_switch_client_transport(9)rpc_clnt_iterate_for_each_xprt(9)rpc_cancel_tasks(9)rpc_hold_client(9)rpc_release_client(9)rpc_bind_new_program(9)rpc_run_task(9)rpc_call_sync(9)rpc_call_async(9)rpc_prepare_reply_pages(9)rpc_peeraddr(9)rpc_peeraddr2str(9)rpc_localaddr(9)rpc_net_ns(9)rpc_max_payload(9)rpc_max_bc_payload(9)rpc_force_rebind(9)rpc_clnt_test_and_add_xprt(9)rpc_clnt_setup_test_and_add_xprt(9)rpc_clnt_add_xprt(9)
like, that's a lot of friends, and every single one of them ate ππ
ngl bestie, if you only remember one thing: it makes the task, then it runs rpc_execute on it. that's the whole plot. slay π§
and that's a wrap, queen π β this page came from ./net/sunrpc, dated October 2026, and it's filed under rpc_run_bc_task(9) in the Kernel API Manual. go forth and run those bc tasks, icon πβ¨
π¦ 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