Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__bfq_set_in_service_queue

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

Type:void

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct bfq_queue *bfqq
2894  If bfqq Then
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
Caller
NameDescribe
bfq_set_in_service_queueGet and set a new queue for service.