Function report |
Source Code:fs\fs-writeback.c |
Create Date:2022-07-28 20:10:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static void requeue_inode(struct inode *inode, struct bdi_writeback *wb, struct writeback_control *wbc)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
struct bdi_writeback * | wb | |
struct writeback_control * | wbc |
1380 | If Misc & Set when inode is about to be freed but still has dirty pages or buffers attached or the inode itself is still dirty Then Return |
1388 | If Misc & I_DIRTY && ( sync_mode == Wait on every mapping || ag-and-write to avoid livelock ) Then jiffies of first dirtying = jiffies |
1392 | If Pages which were not written Then |
1406 | If Write this many pages, and decrementthis for each page written <= 0 Then |
1409 | Else |
1426 | Else if Misc & I_DIRTY_TIME Then |
1427 | jiffies of first dirtying = jiffies |
1429 | Else |
Name | Describe |
---|---|
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. |
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 |