Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:57:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Update the entity prio values; note that the new values will not* be used until the next (re)activation.
Proto:static void bfq_set_next_ioprio_data(struct bfq_queue *bfqq, struct bfq_io_cq *bic)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bfq_queue * | bfqq | |
| struct bfq_io_cq * | bic |
| 4972 | tsk = current process |
| 4974 | bfqd = parent bfq_data |
| 4976 | If Not bfqd Then Return |
| 4981 | Default |
| 4982 | dev_err(dev, "bfq: bad prio class %d\n", ioprio_class) |
| 4985 | Case ioprio_class == IOPRIO_CLASS_NONE |
| 4989 | xt ioprio and ioprio class if a change is in progress = process has set io priority explicitly, use that. if not, convert* the cpu scheduler nice value to an io priority |
| 4991 | Break |
| 4992 | Case ioprio_class == IOPRIO_CLASS_RT |
| 4993 | xt ioprio and ioprio class if a change is in progress = IOPRIO_PRIO_DATA( per (request_queue, blkcg) ioprio ) |
| 4995 | Break |
| 4996 | Case ioprio_class == IOPRIO_CLASS_BE |
| 4997 | xt ioprio and ioprio class if a change is in progress = IOPRIO_PRIO_DATA( per (request_queue, blkcg) ioprio ) |
| 4999 | Break |
| 5000 | Case ioprio_class == IOPRIO_CLASS_IDLE |
| 5003 | Break |
| 5007 | pr_crit("bfq_set_next_ioprio_data: new_ioprio %d\n", xt ioprio and ioprio class if a change is in progress ) |
| 5012 | next weight if a change is in progress = bfq_ioprio_to_weight(xt ioprio and ioprio class if a change is in progress ) |
| Name | Describe |
|---|---|
| bfq_check_ioprio_change | |
| bfq_init_bfqq |
| 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 |