[PATCH] [JFFS2] load_xattr_datum need to return a positive number in case of unrecoverable error

Artem Bityutskiy dedekind1 at gmail.com
Sun Apr 29 11:44:46 EDT 2012


On Thu, 2012-04-26 at 23:09 +0200, Jean-Christophe DUBOIS wrote:
> Is this convincing enough?

Sure, thanks.

> You might think that the attibute corruption I am showing here is very 
> artificial but I can assure you that it does happen in the wild when you 
> get a power cut on your equipment while the GC was moving an attribute 
> node for example.

This issue is for sure worth fixing. Just make sure xattr corruption is
handled the same way as data node corruption is handled. I do not
remember a lot of details anymore, but I wrote you the main idea in the
previous e-mail.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120429/99723748/attachment.sig>


More information about the linux-mtd mailing list