mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
writeback: writeback_inodes_sb() should use bdi_start_writeback()
Pointless to iterate other devices looking for a super, when we have a bdi mapping. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
parent
b3af9468ae
commit
56a131dcf7
1 changed files with 1 additions and 1 deletions
|
@ -1206,7 +1206,7 @@ void writeback_inodes_sb(struct super_block *sb)
|
|||
nr_to_write = nr_dirty + nr_unstable +
|
||||
(inodes_stat.nr_inodes - inodes_stat.nr_unused);
|
||||
|
||||
bdi_writeback_all(sb, nr_to_write);
|
||||
bdi_start_writeback(sb->s_bdi, nr_to_write);
|
||||
}
|
||||
EXPORT_SYMBOL(writeback_inodes_sb);
|
||||
|
||||
|
|
Loading…
Reference in a new issue