bfq_weight_to_ioprio(9)
π NAME β bfq_weight_to_ioprio(9) π
okay so bestie, welcome to the Kernel API Manual page for bfq_weight_to_ioprio(9). its whole job? calc an ioprio from a weight. thatβs the assignment, and it ate π
β¨
β¨ SYNOPSIS β¨
unsigned short bfq_weight_to_ioprio (int weight );
π ARGUMENTS π
weightβ the weight value to convert. literally the weight value to convert, no extra lore π«Ά
π¦ DESCRIPTION π¦
so hereβs the vibe: to preserve as much as possible the old only-ioprio user interface, 0 is used as an escape ioprio value for weights that are (numerically) equal to or larger than IOPRIO_NR_LEVELS * BFQ_WEIGHT_CONVERSION_COEFF. like, itβs keeping the old UI alive as much as possible, and 0 is the escape-hatch value for those bigger weights π
bestie, remember: 0 is being used as an escape ioprio value here β not just some random zero. π
π SEE ALSO π
Kernel file: ./block/bfq-wf2q.c
bfq_gt(9)bfq_update_next_in_service(9)bfq_delta(9)bfq_calc_finish(9)bfq_entity_of(9)bfq_extract(9)bfq_idle_extract(9)bfq_insert(9)bfq_update_min(9)bfq_update_active_node(9)bfq_update_active_tree(9)bfq_active_insert(9)bfq_ioprio_to_weight(9)bfq_find_deepest(9)bfq_active_extract(9)bfq_idle_insert(9)bfq_forget_entity(9)bfq_put_idle_entity(9)bfq_forget_idle(9)bfq_bfqq_served(9)bfq_bfqq_charge_time(9)__bfq_activate_entity(9)__bfq_requeue_entity(9)bfq_activate_requeue_entity(9)__bfq_deactivate_entity(9)bfq_deactivate_entity(9)bfq_calc_vtime_jump(9)bfq_first_active_entity(9)__bfq_lookup_next_entity(9)bfq_lookup_next_entity(9)
byeee π source/version: ./block Β· date: October 2026 Β· page: bfq_weight_to_ioprio(9) from the Kernel API Manual. 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