Function report | 
Source Code:fs\dax.c | 
Create Date:2022-07-28 20:23:15 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Flush the mapping to the persistent domain within the byte range of [start,* end]. This is required by data integrity operations to ensure file data is* on persistent storage prior to completion of the operation.
Proto:int dax_writeback_mapping_range(struct address_space *mapping, struct block_device *bdev, struct writeback_control *wbc)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct address_space * | mapping | |
| struct block_device * | bdev | |
| struct writeback_control * | wbc | 
| 947 | ret = 0 | 
| 948 | scanned = 0 | 
| 950 | If WARN_ON_ONCE(i_blkbits != PAGE_SHIFT determines the page size ) Then Return -EIO | 
| 953 | If Not nrexceptional || sync_mode != Wait on every mapping Then Return 0 | 
| 956 | dax_dev = dax_get_by_host(disk_name) | 
| 964 | xas_lock_irq( & xas) | 
| 967 | If ret < 0 Then | 
| 971 | If ++scanned % XA_CHECK_SCHED Then Continue | 
| 975 | xas_unlock_irq( & xas) | 
| 976 | cond_resched() | 
| 977 | xas_lock_irq( & xas) | 
| 979 | xas_unlock_irq( & xas) | 
| 982 | Return ret | 
| 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  |