函数逻辑报告 |
Source Code:fs\fs-writeback.c |
Create Date:2022-07-29 10:41:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Find proper writeback list for the inode depending on its current state and* possibly also change of its state while we were doing writeback. Here we* handle things such as livelock prevention or fairness of writeback among* inodes
函数原型:static void requeue_inode(struct inode *inode, struct bdi_writeback *wb, struct writeback_control *wbc)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
struct bdi_writeback * | wb | |
struct writeback_control * | wbc |
1388 | 如果Misc 按位与I_DIRTY且sync_mode恒等于Wait on every mapping 或ag-and-write to avoid livelock 的值则jiffies of first dirtying 等于jiffies |
1392 | 如果Pages which were not written 则 |
1409 | 否则 |
1426 | 否则如果Misc 按位与I_DIRTY_TIME则 |
1427 | jiffies of first dirtying 等于jiffies |
1429 | 否则 |
名称 | 描述 |
---|---|
writeback_sb_inodes | Write a portion of b_io inodes which belong to @sb.* Return the number of pages and/or inodes written.* NOTE! This is called with wb->list_lock held, and will* unlock and relock that for each inode it ends up doing* IO for. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |