函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tg_update_disptime

函数原型:static void tg_update_disptime(struct throtl_grp *tg)

返回类型:void

参数:

类型参数名称
struct throtl_grp *tg
1098  sq等于 this group's service queue
1099  read_wait等于负1, write_wait等于负1, min_wait等于负1
1102  bio等于hrotl_peek_queued - peek the first bio on a qnode list*@queued: the qnode list to peek
1103  如果bioReturns whether one can dispatch a bio or not. Also returns approx number* of jiffies to wait before this bio is with-in IO rate and can be dispatched
1106  bio等于hrotl_peek_queued - peek the first bio on a qnode list*@queued: the qnode list to peek
1107  如果bioReturns whether one can dispatch a bio or not. Also returns approx number* of jiffies to wait before this bio is with-in IO rate and can be dispatched
1110  min_wait等于两数取小(read_wait, write_wait)
1111  disptime等于jiffiesmin_wait
1114  throtl_dequeue_tg(tg)
1115  * Dispatch time in jiffies. This is the estimated time when group * will unthrottle and is ready to dispatch more bio. It is used as * key to sort active groups in service tree.等于disptime
1116  throtl_enqueue_tg(tg)
1119  flags与等于 bio_lists[] became non-empty 的反
调用者
名称描述
throtl_select_dispatch
throtl_pending_timer_fn
tg_conf_updated
blk_throtl_bio