The future of ubi_assert()

Artem Bityutskiy dedekind1 at gmail.com
Thu Nov 6 00:13:54 PST 2014


On Thu, 2014-11-06 at 09:07 +0100, Richard Weinberger wrote:
> I think we can do better.
> Think of wl.c, if an ubi_assert() in wl.c does not hold, we can put the UBI device
> into read-only mode and continue execution.
> BUG_ON() would be too much and WARN_ON() would lead to data corruption as the execution
> would go on...
> Something like ext4's errors=remount-ro. :)

If you are willing to do the work, and if it is needed, and actually
tested, sure.




More information about the linux-mtd mailing list