Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\super.c Create Date:2022-07-28 20:02:31
Last Modify:2022-05-24 06:42:17 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sb_wait_write - wait until all writers to given file system finish*@sb: the super for which we wait*@level: type of writers we wait for (normal vs page fault)* This function waits until there are no writers of given type to given file* system.

Proto:static void sb_wait_write(struct super_block *sb, int level)

Type:void

Parameter:

TypeParameterName
struct super_block *sb
intlevel
1693  percpu_down_write(rw_sem + level - 1)
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.