Function report |
Source Code:block\blk-cgroup.c |
Create Date:2022-07-28 17:40:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:We cannot support shared io contexts, as we have no mean to support* two tasks with the same ioc in two different groups without major rework* of the main cic data structures. For now we allow a task to change
Proto:static int blkcg_can_attach(struct cgroup_taskset *tset)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct cgroup_taskset * | tset |
1087 | ret = 0 |
1092 | ioc = io_context |
1093 | If ioc && atomic_read( & nr_tasks) > 1 Then ret = -EINVAL |
1095 | task_unlock(task) |
1096 | If ret Then Break |
1099 | Return ret |
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 |