Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:54:31 |
| 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_resume_state
Proto:static void bfq_bfqq_resume_state(struct bfq_queue *bfqq, struct bfq_data *bfqd, struct bfq_io_cq *bic, bool bfq_already_existing)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bfq_queue * | bfqq | |
| struct bfq_data * | bfqd | |
| struct bfq_io_cq * | bic | |
| bool | bfq_already_existing |
| 1015 | busy = bfq_already_existing && bfq_bfqq_busy(bfqq) |
| 1019 | Else bfq_clear_bfqq_has_short_ttime(bfqq) |
| 1022 | If * Same purpose as the previous two fields for the I/O bound * classification of a queue. Then bfq_mark_bfqq_IO_bound(bfqq) |
| 1024 | Else bfq_clear_bfqq_IO_bound(bfqq) |
| 1029 | actor by which the weight of this queue is multiplied = * Similar to previous fields: save wr information. |
| 1031 | Start time of the current weight-raising period if* the @bfq-queue is being weight-raised, otherwise* finish time of the last weight-raising period. = saved_last_wr_start_finish |
| 1042 | Else |
| 1044 | bfq_log_bfqq(parent bfq_data , bfqq, "resume state: switching off wr") |
| 1052 | If Value is more likely to compile time(!busy) Then Return |
| 1055 | If old_wr_coeff == 1 && actor by which the weight of this queue is multiplied > 1 Then number of weight-raised busy @bfq_queues ++ |
| 1057 | Else if old_wr_coeff > 1 && actor by which the weight of this queue is multiplied == 1 Then number of weight-raised busy @bfq_queues -- |
| Name | Describe |
|---|---|
| bfq_init_rq |
| 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 |