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]

 



----- 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