diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-09-25 11:15:03 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-09-25 12:08:26 -0400 |
commit | 56a131dcf7ed36c3c6e36bea448b674ea85ed5bb (patch) | |
tree | d62d83e8ef4108753f557f25e8d7e89a42adf227 /fs | |
parent | b3af9468aebf5fcb573d0a116b31d2be1d43c0e9 (diff) |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fs-writeback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 52aa54540079..fb61178c86e3 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c | |||
@@ -1206,7 +1206,7 @@ void writeback_inodes_sb(struct super_block *sb) | |||
1206 | nr_to_write = nr_dirty + nr_unstable + | 1206 | nr_to_write = nr_dirty + nr_unstable + |
1207 | (inodes_stat.nr_inodes - inodes_stat.nr_unused); | 1207 | (inodes_stat.nr_inodes - inodes_stat.nr_unused); |
1208 | 1208 | ||
1209 | bdi_writeback_all(sb, nr_to_write); | 1209 | bdi_start_writeback(sb->s_bdi, nr_to_write); |
1210 | } | 1210 | } |
1211 | EXPORT_SYMBOL(writeback_inodes_sb); | 1211 | EXPORT_SYMBOL(writeback_inodes_sb); |
1212 | 1212 | ||