ubifs robustness with early power cut warning
Richard Weinberger
richard at sigma-star.at
Mon Oct 2 09:45:27 PDT 2017
Am Montag, 2. Oktober 2017, 18:14:28 CEST schrieb Doug Crawford:
> I think my use case might be a little different. This 500 millisecond
> early power down warning is intended to be recoverable if the power is
> restored in that period. The effect I am looking for is that any new
> fsync or sync commands made during this 500 ms window will pause or
> block, but if the power is restored then the sync will be successful.
Hmm, if I understand your correctly, all you need is freeze/thaw support in
UBIFS.
Upon power-loss you freeze the filesystem and if power recovers you can thaw
it.
Does this information help? :-)
Thanks,
//richard
--
sigma star gmbh - Eduard-Bodem-Gasse 6 - 6020 Innsbruck - Austria
ATU66964118 - FN 374287y
More information about the linux-mtd
mailing list