rpc_count_iostats_metrics(9)
π rpc_count_iostats_metrics(9) β the Kernel API Manual, bestie edition
okay so picture this: it's a manual page from the Kernel API Manual, and it's literally about tallying up per-task stats. yes. that's the whole vibe. it's giving "beancounter but make it sunrpc" π
β¨ NAME β¨
rpc_count_iostats_metrics β tally up per-task stats π
πΈ SYNOPSIS πΈ
void rpc_count_iostats_metrics (const struct rpc_task *task , struct
rpc_iostats *op_metrics );
that's it. that's the whole signature. no cap, it returns void β nothing comes back, the stats just silently get updated. the way that function just does its thing and leaves π
π¦ ARGUMENTS π¦
taskβ a completedrpc_task. key word: completed. this is the finished task you're handing over, not some half-done one πop_metricsβ the stat structure for the OP that will accumulate stats fromtask. it's the little bucket πͺ£ where the numbers go to live.
β SEE ALSO β
- Kernel file
./net/sunrpc/stats.c rpc_alloc_iostats(9)rpc_free_iostats(9)rpc_count_iostats(9)
like, go read those too. iykyk π«Ά
and that's the tea π this page lives in ./net/sunrpc, dated October 2026, and it's part of the Kernel API Manual β so like, cite it cute or whatever, mwah πβ¨
π¦ 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