Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:idling_boosts_thr_without_issues

Proto:static bool idling_boosts_thr_without_issues(struct bfq_data *bfqd, struct bfq_queue *bfqq)

Type:bool

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct bfq_queue *bfqq
4083  rot_without_queueing = Not blk_queue_nonrot( device request queue ) && Not flag set to one if the driver is showing a queueing behavior
4089  If Value for the false possibility is greater at compile time(!bfqq_process_refs(bfqq)) Then Return false
4092  bfqq_sequential_and_IO_bound = Not BFQQ_SEEKY(bfqq) && bfq_bfqq_IO_bound(bfqq) && bfq_bfqq_has_short_ttime(bfqq)
4117  idling_boosts_thr = rot_without_queueing || ( Not blk_queue_nonrot( device request queue ) || Not flag set to one if the driver is showing a queueing behavior ) && bfqq_sequential_and_IO_bound
4155  Return idling_boosts_thr && number of weight-raised busy @bfq_queues == 0
Caller
NameDescribe
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.