Function report |
Source Code:block\blk-throttle.c |
Create Date:2022-07-28 17:41:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:tg_bps_limit
Proto:static uint64_t tg_bps_limit(struct throtl_grp *tg, int rw)
Type:uint64_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct throtl_grp * | tg | |
int | rw |
298 | blkg = tg_to_blkg(tg) |
307 | If ret == 0 && limit_index == LIMIT_LOW Then |
309 | If Not list_empty - tests whether a list is empty*@head: the list to test. || internally used IOPS limits [rw][limit_index] Then Return U64_MAX |
312 | Else Return MIN_THROTL_BPS |
323 | Return ret |
Name | Describe |
---|---|
tg_update_has_rules | 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. |
throtl_trim_slice | Trim the used slices and adjust slice start accordingly |
tg_with_in_bps_limit | |
tg_may_dispatch | Returns 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 |
tg_conf_updated | |
blk_throtl_bio |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |