函数逻辑报告 |
Source Code:mm\page-writeback.c |
Create Date:2022-07-27 15:34:20 |
Last Modify:2022-05-23 13:25:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:wb_over_bg_thresh - does @wb need to be written back?*@wb: bdi_writeback of interest* Determines whether background writeback should keep writing @wb or it's* clean enough.* Return: %true if writeback should continue.
函数原型:bool wb_over_bg_thresh(struct bdi_writeback *wb)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bdi_writeback * | wb |
1930 | struct dirty_throttle_control gdtc_stor = {GDTC_INIT(wb)} |
1931 | struct dirty_throttle_control mdtc_stor = {MDTC_INIT(wb, & gdtc_stor)} |
1933 | struct dirty_throttle_control * const mdtc = mdtc_valid( & mdtc_stor) ? & mdtc_stor : NULL |
1941 | le_dirty + write + nfs 等于global_node_page_state(NR_FILE_DIRTY)加global_node_page_state(NR_UNSTABLE_NFS) |
1945 | 如果le_dirty + write + nfs 大于dirty background threshold 则返回:true |
1948 | 如果wb_stat(wb, WB_RECLAIMABLE)大于wb_calc_thresh(wb, dirty background threshold )则返回:true |
1952 | 如果mdtc则 |
1955 | mem_cgroup_wb_stats(wb, & filepages, & headroom, & le_dirty + write + nfs , & writeback) |
1960 | 如果le_dirty + write + nfs 大于dirty background threshold 则返回:true |
1963 | 如果wb_stat(wb, WB_RECLAIMABLE)大于wb_calc_thresh(wb, dirty background threshold )则返回:true |
1968 | 返回:false |
名称 | 描述 |
---|---|
wb_check_background_flush | |
wb_writeback | Explicit flushing or periodic writeback of "old" data |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |