函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-wf2q.c Create Date:2022-07-27 19:35:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Called when an inactive queue receives a new request.

函数原型:void bfq_add_bfqq_busy(struct bfq_data *bfqd, struct bfq_queue *bfqq)

返回类型:void

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue *bfqq
1706  bfq_log_bfqq(bfqd, bfqq, "add to busy")
1708  bfq_activate_bfqq(bfqd, bfqq)
1710  bfq_mark_bfqq_busy(bfqq)
1711  * Per-class (RT, BE, IDLE) number of bfq_queues containing * requests (including the queue in service, even if it is * idling).[current ioprio and ioprio class - 1]自加
1713  如果非umber of requests on the dispatch list or inside driver 则如果actor by which the weight of this queue is multiplied 恒等于1则
1715  If the weight-counter tree passed as input contains no counter for* the weight of the input queue, then add that counter; otherwise just* increment the existing counter.* Note that weight-counter trees contain few nodes in mostly symmetric* scenarios
1718  如果actor by which the weight of this queue is multiplied 大于1则 number of weight-raised busy @bfq_queues 自加
调用者
名称描述
bfq_bfqq_handle_idle_busy_switch