函数逻辑报告 |
Source Code:fs\fs-writeback.c |
Create Date:2022-07-29 10:41:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Explicit flushing or periodic writeback of "old" data
函数原型:static long wb_writeback(struct bdi_writeback *wb, struct wb_writeback_work *work)
返回类型:long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bdi_writeback * | wb | |
struct wb_writeback_work * | work |
1847 | oldest_jif等于jiffies |
1848 | older_than_this等于oldest_jif |
1850 | blk_start_plug( & plug) |
1851 | 加自旋锁 |
1852 | 循环 |
1865 | 如果for_background或for_kupdate的值且非链表为空则退出 |
1882 | 如果for_kupdate则 |
1885 | 否则如果for_background则oldest_jif等于jiffies |
1888 | trace_writeback_start(wb, work) |
1893 | 否则progress等于__writeback_inodes_wb(wb, work) |
1895 | trace_writeback_written(wb, work) |
1897 | wb_update_bandwidth(wb, wb_start) |
1907 | 如果progress则继续下一循环 |
1919 | trace_writeback_wait(wb, work) |
1921 | 加自旋锁 |
1922 | 自旋锁解锁 |
1925 | 加自旋锁 |
1927 | 自旋锁解锁 |
1928 | blk_finish_plug( & plug) |
名称 | 描述 |
---|---|
wb_check_background_flush | |
wb_check_old_data_flush | |
wb_check_start_all | |
wb_do_writeback | Retrieve work items and do the writeback they describe |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |