[PATCH]erase block header(revision 4)

Jörn Engel joern at wohnheim.fh-wedel.de
Sun Oct 9 06:35:55 EDT 2005


On Sun, 9 October 2005 11:06:17 +0400, Artem B. Bityutskiy wrote:
> zhao forrest wrote:
> > It's true that "c->cleanmarker_size was 0" for NAND flash.
> > But besides  NAND flash, "c->cleanmarker_size was 0" is also true
> > for dataflash. That means that cleanmarker was not needed for
> > dataflash for some reason that I don't know :)
> 
> DataFlash is has a minimum IO unit (DataFlash block, 528/1056 AFAIR),
> and has no OOB. So the cleanmarker would consume the whole DataFlash
> block which considered wasteful I suppose.

Is it possible for dataflash to erase a block, power cycle before
erase has completed, and later write to this block before erasing it
again?

Cleanmarkers are the means to prevent above events from happening.  If
dataflash has some other means, we can dump cleanmarkers.  If not,
dumping them would be a reliability problem.

Jörn

-- 
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein




More information about the linux-mtd mailing list