writeback: switch wakeup_flusher_threads() to cyclic writeback
authorJens Axboe <axboe@kernel.dk>
Wed, 27 Sep 2017 19:28:18 +0000 (13:28 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 3 Oct 2017 14:38:17 +0000 (08:38 -0600)
We're writing back the full range of dirty pages on the devices,
there's no point in making this special and not do normal range
cyclic writeback.

Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/fs-writeback.c

index bb6148dc6d2456f20ff14f899ae27af2e8a066ea..65e6992d8719aeae3a527d5ac133bd32e86f25ca 100644 (file)
@@ -1971,7 +1971,7 @@ void wakeup_flusher_threads(enum wb_reason reason)
 
                list_for_each_entry_rcu(wb, &bdi->wb_list, bdi_node)
                        wb_start_writeback(wb, wb_split_bdi_pages(wb, nr_pages),
-                                          false, reason);
+                                               true, reason);
        }
        rcu_read_unlock();
 }