Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Invoke __bfq_weights_tree_remove on bfqq and decrement the number* of active groups for each queue's inactive parent entity.

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

Type:void

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct bfq_queue *bfqq
822  entity = parent entity, for hierarchical scheduling
825  sd = * For non-leaf nodes in the hierarchy, the associated * scheduler queue, %NULL on leaf nodes.
827  If head-of-line entity (see comments above) || ity in service Then
839  Break
852  If flag, set if the entity is counted in groups_with_pending_reqs Then
853  flag, set if the entity is counted in groups_with_pending_reqs = false
854  * Number of groups with at least one descendant process that * has at least one request waiting for completion. Note that * this accounts for also requests already dispatched, but not * yet completed. Therefore this number of groups may differ * (be larger--
864  Decrement the weight counter associated with the queue, and, if the* counter reaches 0, remove the counter from the tree.* See the comments to the function bfq_weights_tree_add() for considerations* about overhead.
Caller
NameDescribe
bfq_completed_request
bfq_del_bfqq_busyCalled when the bfqq no longer has requests pending, remove it from* the service tree. As a special case, it can be invoked during an* expiration.