writeback_inodes_sb_nr_if_idle(9) start writeback if none underway

SYNOPSIS

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

DESCRIPTION

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

COPYRIGHT