Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:57:27 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rns true if it causes the idle timer to be disabled
Proto:static bool __bfq_insert_request(struct bfq_data *bfqd, struct request *rq)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bfq_data * | bfqd | |
| struct request * | rq |
| 5408 | bfqq = RQ_BFQQ(rq) , new_bfqq = Attempt to schedule a merge of bfqq with the currently in-service* queue or with a close queue among the scheduled queues |
| 5410 | bool waiting, idle_timer_disabled = false |
| 5412 | If new_bfqq Then |
| 5419 | ce counter ++ |
| 5428 | If bic_to_bfqq(RQ_BIC(rq), 1) == bfqq Then bfq_merge_bfqqs(bfqd, RQ_BIC(rq), bfqq, new_bfqq) |
| 5442 | bfq_update_io_thinktime(bfqd, bfqq) |
| 5443 | bfq_update_has_short_ttime(bfqd, bfqq, RQ_BIC(rq)) |
| 5444 | bfq_update_io_seektime(bfqd, bfqq, rq) |
| 5446 | waiting = bfqq && bfq_bfqq_wait_request(bfqq) |
| 5447 | bfq_add_request(rq) |
| 5448 | idle_timer_disabled = waiting && Not bfq_bfqq_wait_request(bfqq) |
| 5450 | fifo_time = ktime_get_ns() + * Timeout for async/sync requests; when it fires, requests * are served in fifo order.[rq_is_sync(rq)] |
| 5455 | Return idle_timer_disabled |
| Name | Describe |
|---|---|
| bfq_insert_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 |