Re: [PATCH 4/7] page-writeback: pass in '0' for nr_pages writeback in laptop mode

From: Jan Kara
Date: Fri Sep 22 2017 - 09:14:49 EST


On Wed 20-09-17 09:32:59, Jens Axboe wrote:
> 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. This changes the writeback to not be range cyclic,
> but that should not matter for laptop mode flush-all
> semantics.
>
> Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>
> Tested-by: Chris Mason <clm@xxxxxx>
> Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
> Reviewed-by: Jan Kara <jack@xxxxxxx>
> Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>

The subject of the patch looks stale.

Honza

--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR