Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-28 17:55:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static void bfq_set_budget_timeout(struct bfq_data *bfqd, struct bfq_queue *bfqq)

Type:void

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct bfq_queue *bfqq
2880  If current maximum weight-raising time for this queue == Maximum weight-raising duration for soft real-time processes Then timeout_coeff = 1
2882  Else 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 timeout * timeout_coeff
Caller
NameDescribe
__bfq_set_in_service_queue