Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:57:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bfq_update_has_short_ttime
Proto:static void bfq_update_has_short_ttime(struct bfq_data *bfqd, struct bfq_queue *bfqq, struct bfq_io_cq *bic)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct bfq_data * | bfqd | |
struct bfq_queue * | bfqq | |
struct bfq_io_cq * | bic |
5222 | bool has_short_ttime = true, state_changed |
5229 | If Not bfq_bfqq_sync(bfqq) || bfq_class_idle(bfqq) || maximum idling time == 0 Then Return |
5242 | If atomic_read( & active_ref) == 0 || bfq_sample_valid(umber of thinktime samples ) && average process thinktime > maximum idling time Then has_short_ttime = false |
5247 | state_changed = has_short_ttime != bfq_bfqq_has_short_ttime(bfqq) |
5249 | If has_short_ttime Then bfq_mark_bfqq_has_short_ttime(bfqq) |
5251 | Else bfq_clear_bfqq_has_short_ttime(bfqq) |
Name | Describe |
---|---|
__bfq_insert_request | rns true if it causes the idle timer to be disabled |
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 |