blk_stat_add_callback(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ blk_stat_add_callback(9) ✨

okay bestie, we’re in the Kernel API Manual and this one is short but important 🫢

🌸 NAME 🌸

blk_stat_add_callback β€” add a block statistics callback to be run on a request queue.

✨ SYNOPSIS ✨

void blk_stat_add_callback (struct request_queue *q , struct blk_stat_callback *cb );

πŸŽ€ ARGUMENTS πŸŽ€

  • q β€” the request queue. that’s the queue we’re working with πŸ’…
  • cb β€” the callback. the little function guy getting added πŸ¦‹

πŸ’… DESCRIPTION πŸ’…

okay so here’s the one major vibe check: a single struct blk_stat_callback can only be added to a single struct request_queue. no cap. that’s the whole note, and it’s lowkey the main character of this page πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ and that’s the page! source/version is ./block, dated October 2026 β€” iconic, periodt πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from