aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2017-09-28 17:28:02 +0000
committerJens Axboe <[email protected]>2017-10-03 14:38:17 +0000
commit0ab29fd0accf6e5b6ef5dbe2e0335da6687ce60c (patch)
treef76ff2360a128f87ff4bc4e76efe65a2d88738b8 /fs/fs-writeback.c
parentwriteback: provide a wakeup_flusher_threads_bdi() (diff)
downloadkernel-0ab29fd0accf6e5b6ef5dbe2e0335da6687ce60c.tar.gz
kernel-0ab29fd0accf6e5b6ef5dbe2e0335da6687ce60c.zip
writeback: pass in '0' for nr_pages writeback in laptop mode
Laptop mode really wants to writeback the number of dirty pages and inodes. Instead of calculating this in the caller, just pass in 0 and let wakeup_flusher_threads() handle it. Use the new wakeup_flusher_threads_bdi() instead of rolling our own. Acked-by: Johannes Weiner <[email protected]> Tested-by: Chris Mason <[email protected]> Signed-off-by: Jens Axboe <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions