Re: [PATCH v4 7/7] zram: writeback throttle

From: Sergey Senozhatsky
Date: Mon Dec 03 2018 - 01:11:56 EST


On (12/03/18 15:02), Sergey Senozhatsky wrote:
> Seems like I misread writeback_limit_store() a bit.
>
> So, if I want to, say, let only 10M of writteback pages, I need to
> do
>
> echo 0 > writeback_limit
> echo 10M > writeback_limit_store // memparse format is for
> // simplicity only; I know
> // it should be in 4K units.
>
> every day. How about dropping the "echo 0" and ->stop_writeback?

Ah, this breaks the unlimited writeback.
So, nevermind my comment.

-ss