Function report |
Source Code:block\blk-iocost.c |
Create Date:2022-07-28 17:47:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ioc_refresh_params
Proto:static bool ioc_refresh_params(struct ioc *ioc, bool force)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct ioc * | ioc | |
bool | force |
821 | lockdep_assert_held( & lock) |
823 | idx = ioc_autop_idx(ioc) |
829 | If idx != autop_idx Then atomic64_set( & vtime_rate, VTIME_PER_USEC) |
833 | autop_too_fast_at = 0 |
834 | autop_too_slow_at = 0 |
836 | If Not user_qos_params Then memcpy(qos, qos, size of qos ) |
838 | If Not user_cost_model Then memcpy(i_lcoefs, i_lcoefs, size of i_lcoefs ) |
842 | ioc_refresh_lcoefs(ioc) |
844 | vrate_min = DIV64_U64_ROUND_UP((u64)qos[QOS_MIN] * VTIME_PER_USEC, MILLION) |
849 | Return true |
Name | Describe |
---|---|
ioc_timer_fn | |
ioc_rqos_queue_depth_changed | |
blk_iocost_init | |
ioc_qos_write | |
ioc_cost_model_write |
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 |