Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:was iocg idle this period?

Proto:static bool iocg_is_idle(struct ioc_gq *iocg)

Type:bool

Parameter:

TypeParameterName
struct ioc_gq *iocg
1313  ioc = ioc
1316  If atomic64_read( & * The period this iocg was last active in. Used for deactivation * and invalidating `vtime`.) == atomic64_read( & c'd each period ) Then Return false
1321  If atomic64_read( & done_vtime) < atomic64_read( & * `vtime` is this iocg's vtime cursor which progresses as IOs are * issued. If lagging behind device vtime, the delta represents * the currently available IO budget. If runnning ahead, the * overage. * `vtime_done` is the same but progressed on completion ) Then Return false
1324  Return true
Caller
NameDescribe
ioc_timer_fn