Re: [PATCH] [RFC] UBI: Implement Fastmap support

From: Richard Weinberger
Date: Fri Jun 01 2012 - 04:10:57 EST


Am 01.06.2012 10:10, schrieb Artem Bityutskiy:
> On Fri, 2012-06-01 at 10:00 +0200, Richard Weinberger wrote:
>> True. But why is this a problem?
>> If we can recovers using a full scan after a power cut we are fine.
>
> Does fastmap have zero power-cut tolerance by design?

Yes.
E.g. If the fastmap was not written corretly the CRC will not match and we fall back
to scanning. That's why fastmap tries hard to fallback to scanning if anything goes wrong.
Why should we make fastmap even more complicated than it already is?

Thanks,
//richard



Attachment: signature.asc
Description: OpenPGP digital signature