writeback_inodes_sb_nr_if_idle9
Start writeback if none underway
Usage
int writeback_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
Overview
Invoke writeback_inodes_sb if no writeback is currently underway. Returns 1 if writeback was started, 0 if not.