函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Update the entity prio values; note that the new values will not* be used until the next (re)activation.

函数原型:static void bfq_set_next_ioprio_data(struct bfq_queue *bfqq, struct bfq_io_cq *bic)

返回类型:void

参数:

类型参数名称
struct bfq_queue *bfqq
struct bfq_io_cq *bic
4972  tsk等于当前进程
4974  bfqd等于parent bfq_data
4976  如果非bfqd则返回
4979  ioprio_class等于IOPRIO_PRIO_CLASS( per (request_queue, blkcg) ioprio )
4981  默认
4982  dev_err(dev, "bfq: bad prio class %d\n", ioprio_class)
4985  :ioprio_class恒等于IOPRIO_CLASS_NONE
4989  xt ioprio and ioprio class if a change is in progress 等于 process has set io priority explicitly, use that. if not, convert* the cpu scheduler nice value to an io priority
4990  xt ioprio and ioprio class if a change is in progress 等于This is for the case where the task hasn't asked for a specific IO class.* Check for idle and rt task process, and return appropriate IO class.
4991  退出
4992  :ioprio_class恒等于IOPRIO_CLASS_RT
4993  xt ioprio and ioprio class if a change is in progress 等于IOPRIO_PRIO_DATA( per (request_queue, blkcg) ioprio )
4994  xt ioprio and ioprio class if a change is in progress 等于IOPRIO_CLASS_RT
4995  退出
4996  :ioprio_class恒等于IOPRIO_CLASS_BE
4997  xt ioprio and ioprio class if a change is in progress 等于IOPRIO_PRIO_DATA( per (request_queue, blkcg) ioprio )
4998  xt ioprio and ioprio class if a change is in progress 等于IOPRIO_CLASS_BE
4999  退出
5000  :ioprio_class恒等于IOPRIO_CLASS_IDLE
5001  xt ioprio and ioprio class if a change is in progress 等于IOPRIO_CLASS_IDLE
5002  xt ioprio and ioprio class if a change is in progress 等于7
5003  退出
5006  如果xt ioprio and ioprio class if a change is in progress 大于等于8 best effort priority levels are supported
5007  打印错误信息("bfq_set_next_ioprio_data: new_ioprio %d\n", xt ioprio and ioprio class if a change is in progress )
5009  xt ioprio and ioprio class if a change is in progress 等于8 best effort priority levels are supported
5012  next weight if a change is in progress 等于bfq_ioprio_to_weight(xt ioprio and ioprio class if a change is in progress )
5013  flag, set to request a weight, ioprio or ioprio_class change 等于1
调用者
名称描述
bfq_check_ioprio_change
bfq_init_bfqq