Function report |
Source Code:block\blk-throttle.c |
Create Date:2022-07-28 17:43:05 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:throtl_pending_timer_fn
Proto:static void throtl_pending_timer_fn(struct timer_list *t)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct timer_list * | t |
| 1255 | sq = from_timer(sq, t, pending_timer) |
| 1263 | spin_lock_irq( & queue_lock) |
| 1264 | If throtl_can_upgrade(td, NULL) Then throtl_upgrade_state(td) |
| 1267 | again : |
| 1269 | dispatched = false |
| 1271 | When (true) cycle |
| 1276 | ret = throtl_select_dispatch(sq) |
| 1277 | If ret Then |
| 1279 | dispatched = true |
| 1286 | spin_unlock_irq( & queue_lock) |
| 1287 | cpu_relax() |
| 1288 | spin_lock_irq( & queue_lock) |
| 1291 | If Not dispatched Then Go to out_unlock |
| 1294 | If parent_sq Then |
| 1296 | If flags & bio_lists[] became non-empty Then |
| 1297 | tg_update_disptime(tg) |
| 1305 | Else |
| 1309 | out_unlock : |
| 1310 | spin_unlock_irq( & queue_lock) |
| 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 |