Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\block_dev.c Create Date:2022-07-28 20:14:46
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* device. Filesystem data as well as the underlying block* device. Takes the superblock lock.

Proto:int fsync_bdev(struct block_device *bdev)

Type:int

Parameter:

TypeParameterName
struct block_device *bdev
511  sb = get the superblock of a device
512  If sb Then
513  res = 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.
514  drop_super(sb)
515  Return res
517  Return Write out and wait upon all the dirty data associated with a block* device via its mapping. Does not take the superblock lock.
Caller
NameDescribe
blkdev_flushbuf
invalidate_partition