Function report |
Source Code:fs\block_dev.c |
Create Date:2022-07-28 20:14:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lush_disk - invalidates all buffer-cache entries on a disk*@bdev: struct block device to be flushed*@kill_dirty: flag to guide handling of dirty inodes* Invalidates all buffer-cache entries on a disk
Proto:static void flush_disk(struct block_device *bdev, bool kill_dirty)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct block_device * | bdev | |
bool | kill_dirty |
1401 | If __invalidate_device(bdev, kill_dirty) Then |
1406 | bd_invalidated = 1 |
Name | Describe |
---|---|
check_disk_size_change | heck_disk_size_change - checks for disk size change and adjusts bdev size |
check_disk_change | This routine checks whether a removable media has been changed,* and invalidates all buffer-cache-entries in that case. This* is a relatively slow routine, so we have to try to minimize using* it. Thus it is called only upon a 'mount' or 'open'. This |
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 |