| Function report | 
| Source Code: block\blk-throttle.c | Create Date:2022-07-28 17:44:37 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:blk_throtl_init
Proto:int blk_throtl_init(struct request_queue *q)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct request_queue * | q | 
| 2432 | latency_buckets[generic data direction definitions ] = allocate one copy of the object for every present | 
| 2434 | If Not latency_buckets[generic data direction definitions ] Then | 
| 2440 | If Not latency_buckets[WRITE] Then | 
| 2449 | Throttle data = td | 
| 2452 | limit_valid[LIMIT_MAX] = true | 
| 2453 | limit_index = LIMIT_MAX | 
| 2454 | low_upgrade_time = jiffies | 
| 2455 | low_downgrade_time = jiffies | 
| 2458 | ret = lkcg_activate_policy - activate a blkcg policy on a request_queue*@q: request_queue of interest*@pol: blkcg policy to activate* Activate @pol on @q | 
| 2459 | If ret Then | 
| 2464 | 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 |