Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:If many queues belonging to the same group happen to be created* shortly after each other, then the processes associated with these* queues have typically a common goal

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

Type:void

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct bfq_queue *bfqq
1250  If Not hlist_unhashed( & de for the device's burst list ) || bfq_bfqq_in_large_burst(bfqq) || ime_is_after_eq_jiffies(a) return true if a is after or equal to jiffies(ime of last split + msecs_to_jiffies: - convert milliseconds to jiffies*@m: time in milliseconds* conversion is done as follows:* - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET)* - 'too large' values [that would result in larger than) Then Return
1273  If ime_is_before_jiffies(a) return true if a is before jiffies (* Last time at which a queue entered the current burst of * queues being activated shortly after each other; for more * details about this and the following parameters related to * a burst of activations, see the comments on the function * bfq_handle_burst + * Reference time interval used to decide whether a queue has * been activated shortly after @last_ins_in_burst.) || parent entity, for hierarchical scheduling != common parent entity for the queues in the burst Then
1276  true if a large queue-activation burst is in progress = false
1277  Empty burst list and add just bfqq (see comments on bfq_handle_burst)
1278  Go to end
1286  If true if a large queue-activation burst is in progress Then
1287  bfq_mark_bfqq_in_large_burst(bfqq)
1288  Go to end
1296  Add bfqq to the list of queues in current burst (see bfq_handle_burst)
1297  end :
1306  * Last time at which a queue entered the current burst of * queues being activated shortly after each other; for more * details about this and the following parameters related to * a burst of activations, see the comments on the function * bfq_handle_burst = jiffies
Caller
NameDescribe
bfq_init_rq