Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:There is a case where idling does not have to be performed for* throughput concerns, but to preserve the throughput share of* the process associated with bfqq

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

Type:bool

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct bfq_queue *bfqq
3452  If Value for the false possibility is greater at compile time(!bfqq_process_refs(bfqq)) Then Return false
3455  Return actor by which the weight of this queue is multiplied > 1 && ( number of weight-raised busy @bfq_queues < bfq_tot_busy_queues(bfqd) || number of requests dispatched and waiting for completion >= umber of requests on the dispatch list or inside driver + 4 ) || The following function returns false either if every active queue* must receive the same share of the throughput (symmetric scenario),* or, as a special case, if bfqq must receive a share of the* throughput lower than or equal to the share that every
Caller
NameDescribe
__bfq_bfqq_expire
bfq_better_to_idleFor a queue that becomes empty, device idling is allowed only if* this function returns true for that queue