[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1355398149.3400.47.camel@sauron.fi.intel.com>
Date: Thu, 13 Dec 2012 13:29:09 +0200
From: Artem Bityutskiy <dedekind1@...il.com>
To: NeilBrown <neilb@...e.de>
Cc: Joern Engel <joern@...ybastard.org>,
David Woodhouse <dwmw2@...radead.org>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block2mtd: throttle writes by calling
balance_dirty_pages_ratelimited.
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
> balance_dirty_pages.
>
> 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@...e.de>
Pushed to l2-mtd.git, thanks!
--
Best Regards,
Artem Bityutskiy
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists