Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\filemap.c Create Date:2022-07-28 14:01:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:d_page_writeback - end writeback against a page*@page: the page

Proto:void end_page_writeback(struct page *page)

Type:void

Parameter:

TypeParameterName
struct page *page
1334  If PG_readahead is only used for reads; PG_reclaim is only for writes Then
1335  PG_readahead is only used for reads; PG_reclaim is only for writes
1336  rotate_reclaimable_page(page)
1339  If Not test_clear_page_writeback(page) Then BUG()
1342  smp_mb__after_atomic()
1343  wake_up_page(page, PG_writeback)
Caller
NameDescribe
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