函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\fs-writeback.c Create Date:2022-07-29 10:41:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:de_io_list_del_locked - remove an inode from its bdi_writeback IO list*@inode: inode to be removed*@wb: bdi_writeback @inode is being removed from* Remove @inode which may be on one of @wb->b_{dirty|io|more_io} lists and

函数原型:static void inode_io_list_del_locked(struct inode *inode, struct bdi_writeback *wb)

返回类型:void

参数:

类型参数名称
struct inode *inode
struct bdi_writeback *wb
146  assert_spin_locked( & protects the b_* lists )
148  删除链表项并重新初始化
149  wb_io_lists_depopulated(wb)
调用者
名称描述
inode_io_list_delRemove the inode from the writeback list it is on.
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_single_inodeWrite out an inode's dirty pages. Either the caller has an active reference* on the inode or the inode has I_WILL_FREE set.* This function is designed to be called for writing back one inode which* we go e