函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:idling_boosts_thr_without_issues

函数原型:static bool idling_boosts_thr_without_issues(struct bfq_data *bfqd, struct bfq_queue *bfqq)

返回类型:bool

参数:

类型参数名称
struct bfq_data *bfqd
struct bfq_queue *bfqq
4083  rot_without_queueing等于非blk_queue_nonrot( device request queue )且非 flag set to one if the driver is showing a queueing behavior
4089  如果此条件成立可能性小(为编译器优化)(!bfqq_process_refs(bfqq))则返回:false
4092  bfqq_sequential_and_IO_bound等于非BFQQ_SEEKY(bfqq)且bfq_bfqq_IO_bound(bfqq)且bfq_bfqq_has_short_ttime(bfqq)
4117  idling_boosts_thr等于rot_without_queueing或非blk_queue_nonrot( device request queue )或非 flag set to one if the driver is showing a queueing behavior 的值且bfqq_sequential_and_IO_bound
4155  返回:idling_boosts_thr number of weight-raised busy @bfq_queues 恒等于0
调用者
名称描述
bfq_better_to_idleFor a queue that becomes empty, device idling is allowed only if* this function returns true for that queue
bfq_select_queueSelect a queue for service. If we have a current queue in service,* check whether to continue servicing it, or retrieve and set a new one.
bfq_rq_enqueuedCalled when a new fs request (rq) is added to bfqq. Check if there's* something we should do about it.