Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bfq_update_io_thinktime

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

Type:void

Parameter:

TypeParameterName
struct bfq_data *bfqd
struct bfq_queue *bfqq
5194  ttime = associated @bfq_ttime struct
5195  elapsed = ktime_get_ns() - completion time of the last request
5197  elapsed = min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u64, elapsed, 2ULL * maximum idling time )
5199  umber of thinktime samples = ( 7 * umber of thinktime samples + 256) / 8
5200  al process thinktime = div_u64 - unsigned 64bit divide with 32bit divisor*@dividend: unsigned 64bit dividend*@divisor: unsigned 32bit divisor* This is the most common 64bit divide and should be used if possible,* as many 32bit archs can optimize this variant better than a full
5201  average process thinktime = div64_ul(al process thinktime + 128, umber of thinktime samples )
Caller
NameDescribe
__bfq_insert_requestrns true if it causes the idle timer to be disabled