Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Write out and wait upon all dirty data associated with this* superblock. Filesystem data as well as the underlying block* device. Takes the superblock lock.

Proto:int sync_filesystem(struct super_block *sb)

Type:int

Parameter:

TypeParameterName
struct super_block *sb
56  WARN_ON(!In all implementations count != 0 means locked )
61  If sb_rdonly(sb) Then Return 0
64  ret = Do the filesystem syncing work
65  If ret < 0 Then Return ret
67  Return Do the filesystem syncing work
Caller
NameDescribe
freeze_superze_super - lock the filesystem and force it into a consistent state*@sb: the super to lock* Syncs the super to make sure the filesystem is consistent and calls the fs's* freeze_fs. Subsequent calls to this without first thawing the fs will return* -EBUSY.
SYSCALL_DEFINE1sync a single super
fsync_bdevWrite out and wait upon all dirty data associated with this* device. Filesystem data as well as the underlying block* device. Takes the superblock lock.
try_to_lock_encrypted_files
dquot_load_quota_sb