try_to_writeback_inodes_sb_nr(9)
try_to_writeback_inodes_sb_nr – try to start writeback if none underway
Synopsis
bool try_to_writeback_inodes_sb_nr(struct super_blocksb* , unsigned longnr, enum wb_reasonreason);
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.