Function report |
Source Code:fs\buffer.c |
Create Date:2022-07-28 20:14:12 |
| Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bh_writepage() - based on block_full_write_page() except* that it tries to operate without attaching bufferheads to* the page.
Proto:int nobh_writepage(struct page *page, get_block_t *get_block, struct writeback_control *wbc)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| get_block_t * | get_block | |
| struct writeback_control * | wbc |
| 2765 | If Our offset within mapping. < end_index Then Go to out |
| 2770 | If Our offset within mapping. >= end_index + 1 || Not offset Then |
| 2792 | zero_user_segment(page, offset, PAGE_SIZE) |
| 2793 | out : |
| 2794 | ret = mpage_writepage(page, get_block, wbc) |
| 2795 | If ret == -EAGAIN Then ret = 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 |
| 2798 | 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 |