Function report |
Source Code:block\blk-wbt.c |
Create Date:2022-07-28 18:06:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:calc_wb_limits
Proto:static void calc_wb_limits(struct rq_wb *rwb)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct rq_wb * | rwb |
298 | If min_lat_nsec == 0 Then |
299 | normal writeback = background writeback = 0 |
300 | Else if max_depth <= 2 Then |
301 | normal writeback = max_depth |
302 | background writeback = 1 |
303 | Else |
304 | normal writeback = (max_depth + 1) / 2 |
305 | background writeback = (max_depth + 3) / 4 |
Name | Describe |
---|---|
scale_up | |
scale_down | |
__wbt_update_limits |
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 |