Function report |
Source Code:block\blk-iocost.c |
Create Date:2022-07-28 17:47:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:iocg_wake_fn
Proto:static int iocg_wake_fn(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void *key)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct wait_queue_entry * | wq_entry | |
unsigned | mode | |
int | flags | |
void * | key |
1121 | cost = Scale @abs_cost to the inverse of @hw_inuse. The lower the hierarchical* weight, the more expensive each IO. Must round up. |
1125 | If vbudget < 0 Then Return -1 |
1128 | iocg_commit_bio(iocg, bio, cost) |
1136 | committed = true |
1138 | default_wake_function(wq_entry, mode, flags, key) |
1139 | Return 0 |
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 |