diff options
Diffstat (limited to 'mm/page-writeback.c')
-rw-r--r-- | mm/page-writeback.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 75d7f48b79bb..8ccf6f1b1473 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c | |||
@@ -204,6 +204,7 @@ static void balance_dirty_pages(struct address_space *mapping) | |||
204 | .sync_mode = WB_SYNC_NONE, | 204 | .sync_mode = WB_SYNC_NONE, |
205 | .older_than_this = NULL, | 205 | .older_than_this = NULL, |
206 | .nr_to_write = write_chunk, | 206 | .nr_to_write = write_chunk, |
207 | .range_cyclic = 1, | ||
207 | }; | 208 | }; |
208 | 209 | ||
209 | get_dirty_limits(&wbs, &background_thresh, | 210 | get_dirty_limits(&wbs, &background_thresh, |
@@ -331,6 +332,7 @@ static void background_writeout(unsigned long _min_pages) | |||
331 | .older_than_this = NULL, | 332 | .older_than_this = NULL, |
332 | .nr_to_write = 0, | 333 | .nr_to_write = 0, |
333 | .nonblocking = 1, | 334 | .nonblocking = 1, |
335 | .range_cyclic = 1, | ||
334 | }; | 336 | }; |
335 | 337 | ||
336 | for ( ; ; ) { | 338 | for ( ; ; ) { |
@@ -407,6 +409,7 @@ static void wb_kupdate(unsigned long arg) | |||
407 | .nr_to_write = 0, | 409 | .nr_to_write = 0, |
408 | .nonblocking = 1, | 410 | .nonblocking = 1, |
409 | .for_kupdate = 1, | 411 | .for_kupdate = 1, |
412 | .range_cyclic = 1, | ||
410 | }; | 413 | }; |
411 | 414 | ||
412 | sync_supers(); | 415 | sync_supers(); |