Function report |
Source Code:fs\fs-writeback.c |
Create Date:2022-07-28 20:10:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__writeback_inodes_sb_nr
Proto:static void __writeback_inodes_sb_nr(struct super_block *sb, unsigned long nr, enum wb_reason reason, bool skip_if_busy)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct super_block * | sb | |
unsigned long | nr | |
enum wb_reason | reason | |
bool | skip_if_busy |
2454 | DEFINE_WB_COMPLETION(done, bdi) |
2455 | struct wb_writeback_work work = {sb = sb, sync_mode = Don't wait on anything , tagged_writepages = 1, set if the caller waits = & done, nr_pages = nr, why was writeback initiated? = reason, } |
2464 | If Not bdi_has_dirty_io(bdi) || bdi == noop_backing_dev_info Then Return |
2468 | bdi_split_work_to_wbs(s_bdi, & work, skip_if_busy) |
Name | Describe |
---|---|
writeback_inodes_sb_nr | writeback_inodes_sb_nr - writeback dirty inodes from given super_block*@sb: the superblock*@nr: the number of pages to write*@reason: reason why some writeback work initiated* Start writeback on some inodes on this super_block |
try_to_writeback_inodes_sb | ry_to_writeback_inodes_sb - try to start writeback if none underway*@sb: the superblock*@reason: reason why some writeback work was initiated* Invoke __writeback_inodes_sb_nr if no writeback is currently underway. |
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 |