函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\filemap.c Create Date:2022-07-27 15:24:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:d_page_writeback - end writeback against a page*@page: the page

函数原型:void end_page_writeback(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
1334  如果PG_readahead is only used for reads; PG_reclaim is only for writes
1335  PG_readahead is only used for reads; PG_reclaim is only for writes
1336  rotate_reclaimable_page(page)
1339  如果非test_clear_page_writeback(page)则BUG()
1342  smp_mb__after_atomic()
1343  wake_up_page(page, PG_writeback)
调用者
名称描述
page_endioAfter completing I/O on a page, call this routine to update the page* flags appropriately
end_swap_bio_write
swap_writepageWe may have stale swap cache pages in memory: notice* them here and get rid of the unnecessary final write.
__swap_writepage
migrate_page_statesCopy the page to its new location
__block_write_full_pageWhile 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
bdev_write_pagedev_write_page() - Start writing a page to a block device*@bdev: The device to write the page to*@sector: The offset on the device to write the page to (need not be aligned)*@page: The page to write*@wbc: The writeback_control for the write
iomap_finish_page_writeback
iomap_writepage_mapWe 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
end_buffer_async_writeCompletion handler for block_write_full_page() - pages which are unlocked* during I/O, and which have PageWriteback cleared upon I/O completion.