[PATCH,RFC] [MTD] replace MTD_NORFLASH with MTD_GENERIC_TYPE

Jörn Engel joern at wohnheim.fh-wedel.de
Tue May 30 15:09:12 EDT 2006


On Tue, 30 May 2006 19:52:15 +0100, David Woodhouse wrote:
> On Tue, 2006-05-30 at 20:50 +0200, Jörn Engel wrote:
> > Step 3b:
> > Remove the OOB erasemarkers and move them in-band, just as for the
> > other types.
> 
> And waste a whole page for the cleanmarkers instead of putting them in
> the OOB area? No.

Did you notice 3a?  Double-page-write allows you to write to pages
more than once.

Plus, there is the long-term solution as well.  Jffs2 can write the
information anywhere, not just into the same physical eraseblock.  For
logfs, I will store that information in a special file.  JFFS2 doesn't
even need a special file but can introduce a new node type.  Basically
an erase marker for a _different_ erase block, with some versioning to
make sure it doesn't get deleted (through GC) before the erased block
is used.

Jörn

-- 
The story so far:
In the beginning the Universe was created.  This has made a lot
of people very angry and been widely regarded as a bad move.
-- Douglas Adams




More information about the linux-mtd mailing list