UBIFS Corrupt during power failure
dedekind at infradead.org
Tue Jul 14 01:34:30 EDT 2009
On Mon, 2009-07-13 at 12:22 -0600, Eric Holmberg wrote:
> I verified with Spansion that the embedded erase algorithm first clears
> all 1's to 0's before erasing the bits to charge them back up to 1.
Yes, I found this information in the data sheet as well.
> The patch to write to the header is a great solution and I think it's
> the only possible solution. Performance should be fine, since the
> 4-byte write should only take about 0.5ms which is insignificant
> compared to a typical PEB erase time of 700ms.
Yeah, nor erase is dead slow comparing to NAND.
> I will run 4 boards through torture tests starting tonight and let you
> know later this week! Based upon the errors that I've seen and looking
> at the patch, I think that should solve the problem.
Nice. Note, with this patch I cannot reproduce UBIFS mount errors.
I am trying to see mount errors related to the buffered writes,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd