Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bfq_update_hw_tag

Proto:static void bfq_update_hw_tag(struct bfq_data *bfqd)

Type:void

Parameter:

TypeParameterName
struct bfq_data *bfqd
5563  bfqq = bfq_queue in service
5565  * Maximum number of requests in driver in the last *@hw_tag_samples completed requests. = max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(int, * Maximum number of requests in driver in the last *@hw_tag_samples completed requests., number of requests dispatched and waiting for completion )
5568  If flag set to one if the driver is showing a queueing behavior == 1 Then Return
5577  If number of requests dispatched and waiting for completion + number of queued requests <= hw_tag detection: parallel requests threshold and min samples needed. Then Return
5585  If bfqq && bfq_bfqq_has_short_ttime(bfqq) && umber of requests on the dispatch list or inside driver + umber of sync and async requests queued [0] + umber of sync and async requests queued [1] < hw_tag detection: parallel requests threshold and min samples needed. && number of requests dispatched and waiting for completion < hw_tag detection: parallel requests threshold and min samples needed. Then Return
5591  If number of samples used to calculate hw_tag ++ < BFQ_HW_QUEUE_SAMPLES Then Return
5594  flag set to one if the driver is showing a queueing behavior = * Maximum number of requests in driver in the last *@hw_tag_samples completed requests. > hw_tag detection: parallel requests threshold and min samples needed.
5595  * Maximum number of requests in driver in the last *@hw_tag_samples completed requests. = 0
5596  number of samples used to calculate hw_tag = 0
5598  true if the device is non rotational and performs queueing = blk_queue_nonrot( device request queue ) && flag set to one if the driver is showing a queueing behavior
Caller
NameDescribe
bfq_completed_request