Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Set has_rules[] if @tg or any of its parents have limits configured.* This doesn't require walking up to the top of the hierarchy as the* parent's has_rules[] is guaranteed to be correct.

Proto:static void tg_update_has_rules(struct throtl_grp *tg)

Type:void

Parameter:

TypeParameterName
struct throtl_grp *tg
567  parent_tg = sq_to_tg - return the throl_grp the specified service queue belongs to*@sq: the throtl_service_queue of interest* Return the throtl_grp @sq belongs to. If @sq is the top-level one* embedded in throtl_data, %NULL is returned.
568  td = throtl_data this group belongs to
571  When rw <= WRITE cycle are there any throtl rules between this group and td? [rw] = parent_tg && are there any throtl rules between this group and td? [rw] || limit_valid[limit_index] && ( tg_bps_limit(tg, rw) != U64_MAX || tg_iops_limit(tg, rw) != UINT_MAX )
Caller
NameDescribe
throtl_pd_online
tg_conf_updated