函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Do the filesystem syncing work

函数原型:static int __sync_filesystem(struct super_block *sb, int wait)

返回类型:int

参数:

类型参数名称
struct super_block *sb
intwait
33  如果waitsync_inodes_sb - sync sb inode pages*@sb: the superblock* This function writes and waits on any dirty inode belonging to this* super_block.
35  否则writeback_inodes_sb - writeback dirty inodes from given super_block*@sb: the superblock*@reason: reason why some writeback work was initiated* Start writeback on some inodes on this super_block
38  如果sync_fssync_fs(sb, wait)
40  返回:__sync_blockdev(s_bdev, wait)
调用者
名称描述
sync_filesystemWrite out and wait upon all dirty data associated with this* superblock. Filesystem data as well as the underlying block* device. Takes the superblock lock.