RE: [EXT] [PATCH v2 3/3] mtd: rawnand: micron: Address the shallow erase issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Richard
Thanks. 

How about this special  situation: 

Page 0(EC) is good;
Page 1(VID) is bad;
Page 2 (data) is good;
Page 3( data) is bad, or contain filling pattern.
Page 4 (data) is good, or empty;
Page 5( data) is bad, or contain filling pattern.
Page 6 (data) is good, or empty;
.....


Bean

> 
> ----- Ursprüngliche Mail -----
> >> UBI scans only headers during attach. If you don't touch these, no way.
> >
> > Sorry, I misunderstood what you meant by payload. UBI should schedule
> > the PEB for erase if the EC/VID header is corrupted.
> 
> UBI even tries to recover from such a situation. If only the EC header is bad, it
> will create a new one. Only of the VID header is bad/missing and the payload is
> corrupted (ECC errors or bit-flips) it will erase it.
> 
> A missing VID header plus good payload will cause UBI to stop attaching since it
> violates the IO model.
> 
> Thanks,
> //richard
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux