Function report |
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 activity | Download SCCT | Chinese |
Name:Write out and wait upon all the dirty data associated with a block* device via its mapping. Does not take the superblock lock.
Proto:int sync_blockdev(struct block_device *bdev)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct block_device * | bdev |
| 500 | Return __sync_blockdev(bdev, 1) |
| Name | Describe |
|---|---|
| set_blocksize | |
| fsync_bdev | 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. |
| freeze_bdev | ze_bdev -- lock a filesystem and force it into a consistent state*@bdev: blockdevice to lock* If a superblock is found on this device, we take the s_umount semaphore* on it to make sure nobody unmounts until the snapshot creation is done |
| __blkdev_put | |
| dquot_quota_sync | Write all dquot structures to disk and make them visible from userspace |
| dquot_disable | Turn quota off on a device. type == -1 ==> quotaoff for all types (umount) |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |