Function report |
Source Code:block\blk-throttle.c |
Create Date:2022-07-28 17:42:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Determine if previously allocated or extended slice is complete or not
Proto:static bool throtl_slice_used(struct throtl_grp *tg, bool rw)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct throtl_grp * | tg | |
bool | rw |
830 | If Calculate whether a is in the range of [b, c].(jiffies, When did we start a new slice [rw], slice_end[rw]) Then Return false |
833 | Return true |
Name | Describe |
---|---|
throtl_trim_slice | Trim the used slices and adjust slice start accordingly |
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 |
start_parent_slice_with_credit |
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 |