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:vfs_fsync - perform a fsync or fdatasync on a file*@file: file to sync*@datasync: only perform a fdatasync operation* Write back data and metadata for @file to disk. If @datasync is* set only metadata needed to access modified file data is written.

Proto:int vfs_fsync(struct file *file, int datasync)

Type:int

Parameter:

TypeParameterName
struct file *file
intdatasync
211  Return vfs_fsync_range - helper to sync a range of data & metadata to disk*@file: file to sync*@start: offset in bytes of the beginning of data range to sync*@end: offset in bytes of the end of data range (inclusive)*@datasync: perform only datasync
Caller
NameDescribe
do_fsync
aio_fsync_work
iomap_swapfile_activateIterate a swap file's iomaps to construct physical extents that can be* passed to the swapfile subsystem.