diff options
| author | Jens Axboe <[email protected]> | 2017-09-28 17:28:02 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2017-10-03 14:38:17 +0000 |
| commit | 0ab29fd0accf6e5b6ef5dbe2e0335da6687ce60c (patch) | |
| tree | f76ff2360a128f87ff4bc4e76efe65a2d88738b8 /fs/fs-writeback.c | |
| parent | writeback: provide a wakeup_flusher_threads_bdi() (diff) | |
| download | kernel-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
