Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Called when an inactive queue receives a new request.

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

Type:void

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct bfq_queue *bfqq
1706  bfq_log_bfqq(bfqd, bfqq, "add to busy")
1708  bfq_activate_bfqq(bfqd, bfqq)
1710  bfq_mark_bfqq_busy(bfqq)
1711  * 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]++
1713  If Not umber of requests on the dispatch list or inside driver Then If actor by which the weight of this queue is multiplied == 1 Then
1715  If the weight-counter tree passed as input contains no counter for* the weight of the input queue, then add that counter; otherwise just* increment the existing counter.* Note that weight-counter trees contain few nodes in mostly symmetric* scenarios
1718  If actor by which the weight of this queue is multiplied > 1 Then number of weight-raised busy @bfq_queues ++
Caller
NameDescribe
bfq_bfqq_handle_idle_busy_switch