blk_mq_run_hw_queues(9)
π blk_mq_run_hw_queues π
okay so bestie, welcome to the Kernel API Manual β yes, the actual kernel, the big one, and today's main character is blk_mq_run_hw_queues. literally the function that goes "hey, all of you hardware queues? run. now." π
β¨ NAME β¨
blk_mq_run_hw_queues β Run all hardware queues in a request queue.
like. ALL of them. not a vibe check on one queue, the whole squad. π«Ά
πΈ SYNOPSIS πΈ
void blk_mq_run_hw_queues (struct request_queue *q , bool async );
no cap, that's the whole signature. void means it doesn't hand anything back β it just does the thing and ghosts. π
π¦ ARGUMENTS π¦
qβ Pointer to the request queue to run. this is the queue bestie, the one we're waking up. so iconic of it.asyncβ If we want to run the queue asynchronously. yes ma'am,boolβ so it'strue(do it async, don't wait around) orfalse(you're waiting, babe). pick your fighter. β¨
π SEE ALSO π
the whole friend group, fr fr β go read these next, iykwup:
- Kernel file
./block/blk-mq.c blk_mq_wait_quiesce_done(9)blk_mq_quiesce_queue(9)blk_update_request(9)blk_mq_complete_request(9)blk_mq_start_request(9)blk_execute_rq_nowait(9)blk_execute_rq(9)blk_mq_delay_run_hw_queue(9)blk_mq_run_hw_queue(9)blk_mq_delay_run_hw_queues(9)blk_mq_request_bypass_insert(9)blk_mq_try_issue_directly(9)blk_mq_submit_bio(9)blk_insert_cloned_request(9)blk_rq_unprep_clone(9)blk_rq_prep_clone(9)blk_mq_destroy_queue(9)
heads up babe: blk_mq_destroy_queue(9) is right there at the end of that list and it is giving "the finale." read up before you go doing anything dramatic. π
mwah, that's the page π source is ./block and it's dated October 2026 β put it in your calendar, screenshot it, whatever, just don't lose it. ily, go run those queues ππ§ββοΈ
π¦ 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