try_to_writeback_inodes_sb_nr (9) Linux Manual Page
try_to_writeback_inodes_sb_nr – try to start writeback if none underway
Synopsis
- bool try_to_writeback_inodes_sb_nr(struct super_block
* sb, unsigned longnr, enum wb_reason reason);
Arguments
sb
-
- the superblock
nr
- the number of pages to write
reason
- the reason of writeback
Description
Invoke writeback_inodes_sb_nr if no writeback is currently underway. Returns 1 if writeback was started, 0 if not.
