Function report |
Source Code:block\blk-throttle.c |
Create Date:2022-07-28 17:42: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_update_disptime
Proto:static void tg_update_disptime(struct throtl_grp *tg)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct throtl_grp * | tg |
1098 | sq = this group's service queue |
1099 | read_wait = -1 , write_wait = -1 , min_wait = -1 |
1103 | If bio Then 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 |
1107 | If bio Then 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 |
1110 | min_wait = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(read_wait, write_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 |
Name | Describe |
---|---|
throtl_select_dispatch | |
throtl_pending_timer_fn | |
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 |