Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fs-writeback.c Create Date:2022-07-28 20:10:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Redirty an inode: set its when-it-was dirtied timestamp and move it to the* furthest end of its superblock's dirty-inode list.* Before stamping the inode's ->dirtied_when, we check to see whether it is

Proto:static void redirty_tail(struct inode *inode, struct bdi_writeback *wb)

Type:void

Parameter:

TypeParameterName
struct inode *inode
struct bdi_writeback *wb
1177  If Not list_empty - tests whether a list is empty*@head: the list to test. Then
1180  tail = wb_inode(next)
1181  If time_before(jiffies of first dirtying , jiffies of first dirtying ) Then jiffies of first dirtying = jiffies
1184  de_io_list_move_locked - move an inode onto a bdi_writeback IO list*@inode: inode to be moved*@wb: target bdi_writeback*@head: one of @wb->b_{dirty|io|more_io|dirty_time}* Move @inode->i_io_list to @list of @wb and set %WB_has_dirty_io
Caller
NameDescribe
requeue_inodeFind 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
writeback_sb_inodesWrite 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.
__writeback_inodes_wb