函数逻辑报告 |
Source Code:fs\fs-writeback.c |
Create Date:2022-07-29 10:41:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:wb_check_old_data_flush
函数原型:static long wb_check_old_data_flush(struct bdi_writeback *wb)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bdi_writeback * | wb |
1976 | 如果非centiseconds 则返回:0 |
1981 | 如果time_before(jiffies, expired)则返回:0 |
1984 | last old data flush 等于jiffies |
1985 | nr_pages等于Add in the number of potentially dirty inodes, because each inode* write can dirty pagecache in the underlying blockdev. |
1987 | 如果nr_pages则 |
1988 | struct wb_writeback_work work = {nr_pages = nr_pages, sync_mode = Don't wait on anything , for_kupdate = 1, range_cyclic = 1, why was writeback initiated? = WB_REASON_PERIODIC, } |
1999 | 返回:0 |
名称 | 描述 |
---|---|
wb_do_writeback | Retrieve work items and do the writeback they describe |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |