trace_block_rq_tag_wait(9)
π NAME π
trace_block_rq_tag_wait β triggered when a request is starved of a tag.
Welcome to the Kernel API Manual, bestie π«Ά β this page is about that exact moment when a request is out here waiting on a tag and the tag situation is giving empty-shelf energy π.
β¨ SYNOPSIS β¨
void trace_block_rq_tag_wait (struct request_queue *q , struct
blk_mq_hw_ctx *hctx , bool is_sched_tag , unsigned int alloc_flags );
πΈ ARGUMENTS πΈ
qβ request queue of the target device.hctxβ hardware context of the request experiencing starvation.is_sched_tagβ indicates whether the starved pool is the software scheduler.alloc_flagsβ allocation flags dictating the specific tag pool.
π§ DESCRIPTION π§
So picture it: this trace point is called immediately before the submitting context is forced to block due to the exhaustion of available tags β and yes, that means physical hardware driver tags, software scheduler tags, or reserved tags, iykyk π.
This trace point indicates that the context will be placed into an uninterruptible state via sbitmap_prepare_to_wait. If a tag is not acquired in the final lockless retry, the context will yield the CPU via io_schedule until an active request completes and relinquishes its assigned tag. Periodt π
.
π SEE ALSO π
Kernel file: ./include/trace/events/block.h
Go peek at these too, bestie:
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_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_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)
Thatβs the tea, bestie π β source/version ./include/trace/events, dated October 2026. Slay and happy tracing! β¨π
π¦ 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