summaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-09-27 13:28:18 -0600
committerJens Axboe <axboe@kernel.dk>2017-10-03 08:38:17 -0600
commitd31cd9d326f216fca9a602dddac254f668f5dcd6 (patch)
tree41b05d1025d2a4b6027ff467215f59de524e7833 /fs/fs-writeback.c
parent9ba4b2dfafaa711b41cc2102b0e9a529f3981218 (diff)
downloadlinux-d31cd9d326f216fca9a602dddac254f668f5dcd6.tar.gz
linux-d31cd9d326f216fca9a602dddac254f668f5dcd6.tar.bz2
linux-d31cd9d326f216fca9a602dddac254f668f5dcd6.zip
writeback: switch wakeup_flusher_threads() to cyclic writeback
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>
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r--fs/fs-writeback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index bb6148dc6d24..65e6992d8719 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -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();
}