Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sync_inode - write an inode and its pages to disk.*@inode: the inode to sync*@wbc: controls the writeback mode* sync_inode() will write an inode and its pages to disk. It will also* correctly update the inode on its superblock's dirty inode lists and will

Proto:int sync_inode(struct inode *inode, struct writeback_control *wbc)

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct writeback_control *wbc
2602  Return Write 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
Caller
NameDescribe
sync_inode_metadatasync_inode_metadata - write an inode to disk*@inode: the inode to sync*@wait: wait for I/O to complete.* Write an inode to disk and adjust its dirty state after completion.* Note: only writes the actual inode, no associated data or other metadata.