blk_mq_num_online_queues(9)
β¨ NAME β¨
okay so bestie, welcome to the Kernel API Manual π this icon is blk_mq_num_online_queues(9), and its whole NAME vibe is: Calc nr of queues for multiqueue devices. slay.
πΈ SYNOPSIS πΈ
unsigned int blk_mq_num_online_queues (unsigned int max_queues );
π ARGUMENTS π
max_queuesβ The maximum number of queues the hardware/driver supports. Ifmax_queuesis0, the argument is ignored. periodt π
π¦ DESCRIPTION π¦
Calculates the number of queues to be used for a multiqueue device based on the number of online CPUs. that's the whole plot, no cap β¨
π₯ SEE ALSO π₯
- Kernel file
./block/blk-mq-cpumap.c blk_mq_num_possible_queues(9)blk_mq_hw_queue_to_node(9)blk_mq_map_hw_queues(9)
go read those too, iykyk π
xoxo, this cutie page comes from source/version ./block, dated October 2026, and yes itβs still blk_mq_num_online_queues(9) core π«Άπβ¨
π¦ 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