函数逻辑报告 |
Source Code:include\linux\pagemap.h |
Create Date:2022-07-27 06:45:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mapping_set_error - record a writeback error in the address_space*@mapping - the mapping in which an error should be set*@error - the error to set in the mapping* When writeback fails in some way, we must record that error so that
函数原型:static inline void mapping_set_error(struct address_space *mapping, int error)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct address_space * | mapping | |
int | error |
50 | 如果此条件成立可能性大(为编译器优化)(!error)则返回 |
名称 | 描述 |
---|---|
page_endio | After completing I/O on a page, call this routine to update the page* flags appropriately |
__writepage | Function used by generic_writepages to call the real writepage* function and set the mapping flags on error |
handle_write_error | We detected a synchronous write error writing a page out. Probably* -ENOSPC. We need to propagate that into the address_space for a subsequent* fsync(), msync() or close().* The tricky part is that after writepage we cannot touch the mapping: nothing |
me_pagecache_dirty | Dirty pagecache page* Issues: when the error hit a hole page the error is not properly* propagated. |
mark_buffer_write_io_error | |
__block_write_full_page | While block_write_full_page is writing back the dirty buffers under* the page lock, whoever dirtied the buffers may decide to clean them* again at any time |
__mpage_writepage | |
dax_writeback_mapping_range | 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. |
iomap_finish_page_writeback | |
iomap_writepage_map | We implement an immediate ioend submission policy here to avoid needing to* chain multiple ioends and hence nest mempool allocations which can violate* forward progress guarantees we need to provide |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |