[PATCH] block2mtd: throttle writes by calling balance_dirty_pages_ratelimited.
dedekind1 at gmail.com
Thu Dec 13 06:29:09 EST 2012
On Wed, 2012-12-12 at 19:32 +1100, NeilBrown wrote:
> If you create a block2mtd device that is larger than main memory,
> and write to all of it, then lots of pages will be dirtied but
> they will never be flushed out as nothing calls any variant of
> It would be nice to call set_page_dirty_balance(), but that isn't exported,
> so just call balance_dirty_pages_ratelimited() directly.
> Signed-off-by: NeilBrown <neilb at suse.de>
Pushed to l2-mtd.git, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: This is a digitally signed message part
More information about the linux-mtd