blkg_rwstat_total(9)
π blkg_rwstat_total(9) β Kernel API Manual β¨
okay bestie, welcome to the blkg_rwstat_total page, this one's short and sweet and honestly kind of a vibe π
πΈ NAME πΈ
blkg_rwstat_total β reads the total count of a blkg_rwstat, that's the whole job, and she does it slayfully π
β¨ SYNOPSIS β¨
uint64_t blkg_rwstat_total (struct blkg_rwstat *rwstat );
π¦ ARGUMENTS π¦
rwstatβ theblkg_rwstatyou want to read, like handing your bestie the aux, except the aux is a struct π«Ά
π DESCRIPTION π
so basically this function returns the total count of rwstat, and the key detail here is it doesn't care about IO direction at all β no cap, total is total π
and here's the part that's lowkey iconic: you can call this function without synchronization and it takes care of u64 atomicity all by itself. she handles her own business, main character energy fr fr π₯
π SEE ALSO π
kernel file ./block/blk-cgroup-rwstat.h, plus the whole friend group: blkg_rwstat_add(9), blkg_rwstat_read(9), blkg_rwstat_reset(9), blkg_rwstat_add_aux(9) β go say hi to all of them π
and that's the page!! π shoutout to ./block for the source, October 2026 for the date, and the blkg_rwstat_total(9) header for holding it down β mwah, periodt π
β¨π§
π¦ 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