UBIFS partition on NOR flash not mountable after power cut test

Artem Bityutskiy dedekind1 at gmail.com
Wed Dec 1 22:51:39 EST 2010


On Tue, 2010-11-30 at 11:41 +0100, Norbert van Bolhuis wrote:
> Did you read the mail discussions
> "UBIFS Corrupt during power failure"
> dated april 2009 from Eric Holmberg.
> 
> He did some great work in making UBIFS on NOR flash
> more reliable for power-cuts.
> 
> One of the problems was UBI/UBIFS assumes a (CFI) write
> buffer size of 8 bytes. Maybe this is still the case.
> I think for your NOR flash it is 64 bytes though.

Would be nice if someone exposed this write buffer size in struct
mtd_info, then UBI/UBIFS could just use it.

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




More information about the linux-mtd mailing list