[RFC] BUG Power loss recovery issues in JFFS2

David Woodhouse dwmw2 at infradead.org
Wed Nov 14 15:17:36 EST 2007


On Wed, 2007-11-14 at 18:33 +0000, Alexey Korolev wrote:
> If we try to read the content of this file we won.t get any data but receive read error:
> Data CRC 949a52c7 != calculated CRC 0c434291 for node at 00380084
> 
> The issue is related to existing implementation of
> jffs2_scan_eraseblock() function which skips the content scanning of
> nodes to reach acceptable mount performance. 

That shouldn't happen. When one node obsoletes an earlier node covering
the same range, we _should_ be checking the data CRC. I reimplemented
this part of the code only recently.

Please could you show me a file system image which exhibits this
problem? I'm unconvinced by your diagnosis.

-- 
dwmw2




More information about the linux-mtd mailing list