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:__sync_blockdev

Proto:int __sync_blockdev(struct block_device *bdev, int wait)

Type:int

Parameter:

TypeParameterName
struct block_device *bdev
intwait
487  If Not bdev Then Return 0
489  If Not wait Then Return lemap_flush - mostly a non-blocking flush*@mapping: target address_space* This is a mostly non-blocking flush. Not suitable for data-integrity* purposes - I/O may not be started against all dirty pages.
491  Return filemap_write_and_wait(i_mapping)
Caller
NameDescribe
sync_blockdevWrite out and wait upon all the dirty data associated with a block* device via its mapping. Does not take the superblock lock.