Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lkcg_add_delay - add delay to this blkg*@blkg: blkg of interest*@now: the current time in nanoseconds*@delta: how many nanoseconds of delay to add* Charge @delta to the blkg's current delay accumulation. This is used to

Proto:void blkcg_add_delay(struct blkcg_gq *blkg, u64 now, u64 delta)

Type:void

Parameter:

TypeParameterName
struct blkcg_gq *blkg
u64now
u64delta
1704  Scale the accumulated delay based on how long it has been since we updated* the delay. We only call this when we are adding delay, in case it's been a* while since we added delay, and when we are checking to see if we need to
1705  atomic64_add(delta, & delay_nsec)
Caller
NameDescribe
iolatency_record_time
iocg_kick_delay