Function report |
Source Code:fs\fs-writeback.c |
Create Date:2022-07-28 20:10:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:wb_check_old_data_flush
Proto:static long wb_check_old_data_flush(struct bdi_writeback *wb)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct bdi_writeback * | wb |
1976 | If Not centiseconds Then Return 0 |
1981 | If time_before(jiffies, expired) Then Return 0 |
1984 | last old data flush = jiffies |
1985 | nr_pages = Add in the number of potentially dirty inodes, because each inode* write can dirty pagecache in the underlying blockdev. |
1987 | If nr_pages Then |
1988 | struct wb_writeback_work work = {nr_pages = nr_pages, sync_mode = Don't wait on anything , for_kupdate = 1, range_cyclic = 1, why was writeback initiated? = WB_REASON_PERIODIC, } |
1999 | Return 0 |
Name | Describe |
---|---|
wb_do_writeback | Retrieve work items and do the writeback they describe |
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 |