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

Jörn Engel joern at logfs.org
Mon May 5 11:39:59 EDT 2008


On Mon, 5 May 2008 16:10:46 +0400, Alexander Belyakov wrote:
> On Mon, May 5, 2008 at 11:37 AM, Jörn Engel <joern at logfs.org> wrote:
> >
> > Actually, logfs caching would help jffs2 as well, as soon as you have
> > several parallel readers.  It should be made generic mtd caching.  And
> > when made generic, it would effectively defeat this patch, as all reads
> > would be (DRAM-) pagesized.
> >
> > We could theoretically use buggerheads and do the caching in smaller
> > granularities.
> 
> We'd like to look at this new mtd caching layer. Have you working
> prototype to play with?

Take a look into fs/logfs/dev_mtd.c in the logfs patch or git tree:
http://lazybastard.org/~joern/patches/logfs.patch.773
http://git.kernel.org/?p=linux/kernel/git/joern/logfs.git;a=summary

It is currently part of logfs, but moving it over to
drivers/mtd/mtdcore.c shouldn't be too hard.

Jörn

-- 
Optimizations always bust things, because all optimizations are, in
the long haul, a form of cheating, and cheaters eventually get caught.
-- Larry Wall



More information about the linux-mtd mailing list