Function report |
Source Code:block\blk-iolatency.c |
Create Date:2022-07-28 17:45:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blkiolatency_timer_fn
Proto:static void blkiolatency_timer_fn(struct timer_list *t)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct timer_list * | t |
| 658 | blkiolat = from_timer(blkiolat, t, timer) |
| 678 | iolat = blkg_to_lat(blkg) |
| 685 | If cookie >= DEFAULT_SCALE_COOKIE Then Go to next |
| 688 | spin_lock_irqsave( & lock, flags) |
| 689 | If Last time we adjusted the scale of everybody. >= now Then Go to next_lock |
| 696 | If ( The guy who actually changed the latency numbers. == NULL) Then |
| 698 | Go to next_lock |
| 706 | If now - Last time we adjusted the scale of everybody. >= NSEC_PER_SEC * 5 Then The guy who actually changed the latency numbers. = NULL |
| 709 | next_lock : |
| 710 | spin_unlock_irqrestore( & lock, flags) |
| 711 | next : |
| 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 |