try_to_writeback_inodes_sb_nr
Prev | Other Functions | Next

## Name

try_to_writeback_inodes_sb_nr — try to start writeback if none underway

## Synopsis

`int try_to_writeback_inodes_sb_nr (` | struct super_block * sb,
| unsigned long nr,
| 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.

Prev | Up | Next
writeback_inodes_sb | Home | try_to_writeback_inodes_sb