trace_block_getrq(9)
β¨ trace_block_getrq(9) β¨
okay so bestie, welcome to the Kernel API Manual β this one's a tracepoint page, and it's lowkey a little guy but it SLAPS π
πΈ NAME πΈ
trace_block_getrq β get a free request entry in queue for block IO operations
like, it's the moment a request struct gets scooped up out of the queue so a block IO op can actually happen. main character energy fr π
β SYNOPSIS β
void trace_block_getrq (struct bio *bio );
π¦ ARGUMENTS π¦
bioβ the pending block IO operation (and yes, it can beNULLπ β no cap, that's allowed here)
π DESCRIPTION π
So here's the tea π: a request struct has been allocated to handle the block IO operation bio. That's it, that's the whole vibe β the request got its little slot, the tracepoint fires, we all move on. iconic behavior honestly β¨
π SEE ALSO π
Kernel file ./include/trace/events/block.h β and then the whole friend group, all 22 of them, no one gets left out π«Ά
trace_block_touch_buffer(9)trace_block_dirty_buffer(9)trace_block_rq_requeue(9)trace_block_rq_complete(9)trace_block_rq_error(9)trace_block_rq_tag_wait(9)trace_block_rq_insert(9)trace_block_rq_issue(9)trace_block_rq_merge(9)trace_block_io_start(9)trace_block_io_done(9)trace_block_bio_complete(9)trace_block_bio_backmerge(9)trace_block_bio_frontmerge(9)trace_block_bio_queue(9)trace_blk_zone_append_update_request_bio(9)trace_block_plug(9)trace_block_unplug(9)trace_block_split(9)trace_block_bio_remap(9)trace_block_rq_remap(9)trace_blkdev_zone_mgmt(9)
go read them all, iykyk π
anyway that's the page!! it lives in ./include/trace/events, it's dated October 2026, and it's literally titled trace_block_getrq(9) β so you know exactly where to find it again. 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