函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__bfq_set_in_service_queue

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

返回类型:void

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue *bfqq
2894  如果bfqq
2895  bfq_clear_bfqq_fifo_expire(bfqq)
2897  number of budgets assigned 等于 number of budgets assigned 乘7加256的和除8
2935  Set the maximum time for the in-service queue to consume its* budget. This prevents seeky processes from lowering the throughput.* In practice, a time-slice service scheme is used with seeky* processes.
2936  bfq_log_bfqq(bfqd, bfqq, "set_in_service_queue, cur-budget = %d", budget, used also to calculate F_i: F_i = S_i + @budget / @weight )
2941  bfq_queue in service 等于bfqq
调用者
名称描述
bfq_set_in_service_queueGet and set a new queue for service.