UBIFS Corrupt during power failure

Artem Bityutskiy dedekind at infradead.org
Fri Jul 17 03:07:20 EDT 2009


On Thu, 2009-07-16 at 17:49 +0100, Jamie Lokier wrote:
> Even if they all look like 1 bits after power failure, it's possible
> that some bits are "half-erased" if the erase didn't finish, and
> aren't reliable.  Does UBI notice this, and force the block to be
> erased again even though it looks like all 1 bits?

It checks the headers. If the headers are OK, it goes forward. Otherwise
it erases the PEB.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list