Function report |
Source Code:block\blk-throttle.c |
Create Date:2022-07-28 17:43:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:throtl_select_dispatch
Proto:static int throtl_select_dispatch(struct throtl_service_queue *parent_sq)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct throtl_service_queue * | parent_sq |
1209 | nr_disp = 0 |
1211 | When 1 cycle |
1212 | tg = throtl_rb_first(parent_sq) |
1215 | If Not tg Then Break |
1221 | throtl_dequeue_tg(tg) |
1223 | nr_disp += throtl_dispatch_tg(tg) |
1225 | sq = this group's service queue |
1226 | If number of queued bios [0] || number of queued bios [1] Then tg_update_disptime(tg) |
1229 | If nr_disp >= Total max dispatch from all groups in one round Then Break |
1233 | Return nr_disp |
Name | Describe |
---|---|
throtl_pending_timer_fn | |
throtl_upgrade_state |
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 |