ubifs became broken on contigous power-fails

Artem Bityutskiy dedekind1 at gmail.com
Mon May 24 05:56:31 EDT 2010


On Mon, 2010-05-24 at 15:50 +0600, Alexander Pazdnikov wrote:
> > Could you enable debugging messages when mounging it after power cuts?
> > The messages generate a lot of noise, so you need to disable them before
> > starting the real test. The idea is to get UBIFS debugging messages when
> > errors occur.
> Sorry, I've hurried up, and after applying your pathes reflash all of the 
> devices with new firmware.
> But I'll setup some devices with all firmware to catch this issue again.
> 
> > I never had time to really dig this and fix. Would be nice if you could
> > do this because I will unlikely have time in the nearest future, but I
> > can help you.
> Thank you, I'll continue testings and can supply with debug information.
> 
> > One think you can do is to make sure you do not fill UBIFS completely,
> > then you will avoid hitting these budgeting bugs, also known as ENOSPC
> > issues (I think btrfs uses this terminology).
> In the issue above there is 11% used space and 89% free space.
> I've got this issue only when mounting fs in RO and then remounting it in RW.

OK. Try my patch. Also, it is worth running your tests with UBIFS extra
self checks enabled.

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




More information about the linux-mtd mailing list