函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

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

返回类型:void

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue *bfqq
2880  如果current maximum weight-raising time for this queue 恒等于 Maximum weight-raising duration for soft real-time processes timeout_coeff等于1
2882  否则timeout_coeff等于 weight of the queue original weight, used to implement weight boosting
2885  beginning of the last budget 等于ktime_get()
2887  udget expiration (in jiffies) 等于jiffies* Timeout for bfq_queues to consume their budget; used to * prevent seeky queues from imposing long latencies to * sequential or quasi-sequential ones (this also implies that * seeky queues cannot receive guarantees in the service * domain; after a timeouttimeout_coeff
调用者
名称描述
__bfq_set_in_service_queue