summaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-09-28 19:25:03 +0200
committerJens Axboe <axboe@kernel.dk>2017-10-03 16:38:17 +0200
commit47410d88f665486bf91f02242ab5d5692b8887ac (patch)
tree84153b60c0c2cf1b363c41a4dc4934509ec7c975 /fs/fs-writeback.c
parentwriteback: switch wakeup_flusher_threads() to cyclic writeback (diff)
downloadlinux-47410d88f665486bf91f02242ab5d5692b8887ac.tar.xz
linux-47410d88f665486bf91f02242ab5d5692b8887ac.zip
writeback: remove 'range_cyclic' argument for wb_start_writeback()
All the callers pass in 'true' for range_cyclic, so kill the argument. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r--fs/fs-writeback.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 65e6992d8719..fe555bce886c 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -934,7 +934,7 @@ static void bdi_split_work_to_wbs(struct backing_dev_info *bdi,
#endif /* CONFIG_CGROUP_WRITEBACK */
void wb_start_writeback(struct bdi_writeback *wb, long nr_pages,
- bool range_cyclic, enum wb_reason reason)
+ enum wb_reason reason)
{
struct wb_writeback_work *work;
@@ -955,7 +955,7 @@ void wb_start_writeback(struct bdi_writeback *wb, long nr_pages,
work->sync_mode = WB_SYNC_NONE;
work->nr_pages = nr_pages;
- work->range_cyclic = range_cyclic;
+ work->range_cyclic = 1;
work->reason = reason;
work->auto_free = 1;
@@ -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),
- true, reason);
+ reason);
}
rcu_read_unlock();
}