diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-09-26 00:07:46 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-09-26 00:10:40 +0200 |
commit | a72bfd4dea053bb8e2233902c3f1893ef5485802 (patch) | |
tree | 1246fc000adfee6d2874b9324eaf7383ad4413bb /mm/page-writeback.c | |
parent | Merge branch 'writeback' of git://git.kernel.dk/linux-2.6-block (diff) | |
download | linux-a72bfd4dea053bb8e2233902c3f1893ef5485802.tar.xz linux-a72bfd4dea053bb8e2233902c3f1893ef5485802.zip |
writeback: pass in super_block to bdi_start_writeback()
Sometimes we only want to write pages from a specific super_block,
so allow that to be passed in.
This fixes a problem with commit 56a131dcf7ed36c3c6e36bea448b674ea85ed5bb
causing writeback on all super_blocks on a bdi, where we only really
want to sync a specific sb from writeback_inodes_sb().
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to '')
-rw-r--r-- | mm/page-writeback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 69b5fbabc8bd..a3b14090b1fb 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -596,7 +596,7 @@ static void balance_dirty_pages(struct address_space *mapping, (!laptop_mode && ((global_page_state(NR_FILE_DIRTY) + global_page_state(NR_UNSTABLE_NFS)) > background_thresh))) - bdi_start_writeback(bdi, 0); + bdi_start_writeback(bdi, NULL, 0); } void set_page_dirty_balance(struct page *page, int page_mkwrite) |