函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-27 19:33:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bfq_update_hw_tag

函数原型:static void bfq_update_hw_tag(struct bfq_data *bfqd)

返回类型:void

参数:

类型参数名称
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  如果 flag set to one if the driver is showing a queueing behavior 恒等于1则返回
5577  如果 number of requests dispatched and waiting for completion number of queued requests 小于等于hw_tag detection: parallel requests threshold and min samples needed. 则返回
5585  如果bfqqbfq_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. 则返回
5591  如果 number of samples used to calculate hw_tag 自加小于BFQ_HW_QUEUE_SAMPLES则返回
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
调用者
名称描述
bfq_completed_request