[PATCH][RFC] NAND subpage read feature. Take 2.

Jörn Engel joern at logfs.org
Tue May 6 06:47:29 EDT 2008


On Tue, 6 May 2008 19:42:49 +1000, Hamish Moffatt wrote:
> 
> It makes sense to keep data that you had to read anyway, but with the
> subpage read patch that's less than a whole page.

Then make the granularity a subpage.

> I agree. So are we talking about caching of data which we've read
> anyway, or speculative reads? Because reading more than the user
> requested is speculation afaict. If LogFS (for example) reads a whole 
> page even when it doesn't need it, that will degrade performance in some
> cases.

Sure, that's true for any caching.  Unless you have some locality of
access, it won't help.  Ubi scan is the perfect counter-example with
zero locality, both temporal and spacial.

Jörn

-- 
Do not stop an army on its way home.
-- Sun Tzu



More information about the linux-mtd mailing list