Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Called 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.

Proto:void bfq_del_bfqq_busy(struct bfq_data *bfqd, struct bfq_queue *bfqq, bool expiration)

Type:void

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct bfq_queue *bfqq
boolexpiration
1684  bfq_log_bfqq(bfqd, bfqq, "del from busy")
1686  bfq_clear_bfqq_busy(bfqq)
1688  * Per-class (RT, BE, IDLE) number of bfq_queues containing * requests (including the queue in service, even if it is * idling).[current ioprio and ioprio class - 1]--
1690  If actor by which the weight of this queue is multiplied > 1 Then number of weight-raised busy @bfq_queues --
1693  bfqg_stats_update_dequeue(bfqq_group(bfqq))
1695  bfq_deactivate_bfqq(bfqd, bfqq, true, expiration)
1697  If Not umber of requests on the dispatch list or inside driver Then Invoke __bfq_weights_tree_remove on bfqq and decrement the number* of active groups for each queue's inactive parent entity.
Caller
NameDescribe
bfq_release_process_ref
__bfq_bfqq_expire
bfq_remove_request