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:write_inode

Proto:static int write_inode(struct inode *inode, struct writeback_control *wbc)

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct writeback_control *wbc
1310  If write_inode && Not is an inode errored Then
1311  trace_writeback_write_inode_start(inode, wbc)
1312  ret = write_inode(inode, wbc)
1313  trace_writeback_write_inode(inode, wbc)
1314  Return ret
1316  Return 0
Caller
NameDescribe
__writeback_single_inodeWrite out an inode and its dirty pages. Do not update the writeback list* linkage. That is left to the caller. The caller is also responsible for* setting I_SYNC flag and calling inode_sync_complete() to clear it.