函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bfq_update_wr_data

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

返回类型:void

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue *bfqq
4540  entity等于ity representing this queue in the scheduler
4542  如果actor by which the weight of this queue is multiplied 大于1则
4543  bfq_log_bfqq(bfqd, bfqq, "raising period dur %u/%u msec, old coeff %u, w %d(%d)", Convert jiffies to milliseconds and back.* Avoid unnecessary multiplications/divisions in the* two most common HZ cases:, Convert jiffies to milliseconds and back.* Avoid unnecessary multiplications/divisions in the* two most common HZ cases:, actor by which the weight of this queue is multiplied , weight of the queue , original weight, used to implement weight boosting )
4550  如果 flag, set to request a weight, ioprio or ioprio_class change bfq_log_bfqq(bfqd, bfqq, "WARN: pending prio change")
4558  如果bfq_bfqq_in_large_burst(bfqq)则Must be called with bfqq != NULL
4566  否则
4586  如果 weight of the queue 大于 original weight, used to implement weight boosting 不等于actor by which the weight of this queue is multiplied 大于1则Update weight and priority of entity
调用者
名称描述
bfq_dispatch_rq_from_bfqqDispatch next request from bfqq.