Name

writeback_inodes_sb_nr_if_idle — start writeback if none underway

Synopsis

int fsfuncwriteback_inodes_sb_nr_if_idle (struct super_block * sb,
 unsigned long nr,
 enum wb_reason reason);
 

Arguments

sb

the superblock

nr

the number of pages to write

reason

reason why some writeback work was initiated

Description

Invoke writeback_inodes_sb if no writeback is currently underway. Returns 1 if writeback was started, 0 if not.