Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:54:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bfq_bfqq_handle_idle_busy_switch
Proto:static void bfq_bfqq_handle_idle_busy_switch(struct bfq_data *bfqd, struct bfq_queue *bfqq, int old_wr_coeff, struct request *rq, bool *interactive)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bfq_data * | bfqd | |
| struct bfq_queue * | bfqq | |
| int | old_wr_coeff | |
| struct request * | rq | |
| bool * | interactive |
| 1656 | idle_for_long_time = bfq_bfqq_idle_for_long_time(bfqd, bfqq) , arrived_in_time = ktime_get_ns() <= completion time of the last request + maximum idling time * 3 |
| 1676 | in_burst = bfq_bfqq_in_large_burst(bfqq) |
| 1682 | interactive = Not in_burst && idle_for_long_time |
| 1721 | If Not bfq_bfqq_IO_bound(bfqq) Then |
| 1722 | If arrived_in_time Then |
| 1731 | If if set to true, low-latency heuristics are enabled Then |
| 1752 | Cumulative service received from the @bfq_queue since the* last transition from idle to backlogged. = 0 |
| Name | Describe |
|---|---|
| bfq_add_request |
| 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 |