trace_block_rq_merge(9)
π« trace_block_rq_merge(9) π«
okay so this is a page straight out of the Kernel API Manual (yes, that Kernel API Manual, the 9th-section one π) and today's main character is trace_block_rq_merge. she's a tracepoint, she's lowkey iconic, and she's here to tell you about requests getting merged π
β¨ NAME β¨
trace_block_rq_merge β merge request with another one in the elevator ππ
β¨ SYNOPSIS β¨
void trace_block_rq_merge (struct request *rq );
β¨ ARGUMENTS β¨
rqβ the block IO operation request π«Ά (like, the actual request, not a vibe. she's astruct request *, periodt.)
β¨ DESCRIPTION β¨
so here's the tea β β this one gets called when the block operation request rq, coming from queue q, gets merged into another request that's already queued up in the elevator πβ¨
that's it. that's the whole moment. one request sliding into another one's queue like "hey bestie, room for one more?" ππ and trace_block_rq_merge is right there documenting it for the trace, no cap.
ngl this is a tracepoint, so it's not out here doing the merging β she's the one taking notes when the merge happens ππ
β¨ SEE ALSO β¨
the kernel file ./include/trace/events/block.h is where all of this lives, and the whole friend group is:
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_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_block_getrq(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)
like, the entire group chat π¬π¦ go say hi to all of them fr fr.
β¨ cute sign-off time β¨
this little masterpiece was served fresh from ./include/trace/events πΈ, dated October 2026 π, and it's trace_block_rq_merge(9) forever and always π bye bestie, go merge responsibly π«Άπ
π¦ 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