Re: JFFS2 mount time

Ferenc Havasi
2005-01-11T08:26:02Z

Hi Steven,

> As I wrote in another thread the summary patch reduced the mount time
> from 6 seconds to less than 1 second on my embedded ARM9 system with 8MB
> NAND flash.
> But now GC still slows down the start up of user applications as it
> checks all CRCs right after booting.

>> If we change
>> the patch a bit (asking not to check any CRC in the block has summary)
>> we may
>> have better mount speed (and iget()). And possibly in case of nor we
>> even doesn't
>> need to store any data in summary - only header. Header will show us
>> that the block
>> was successfully written (no unclean reboots) and we my trust it and
>> do not check CRC.

If I am right CRCs are not only against the effect of unclean reboots
but also to handle flash errors. On NAND flashes the ECC handles this
problem but NOR doesn't have any error detection system.

> Ferenc, what do you think about that?
> No need to check CRC if we have a summary, right?

Give us some days to invetigate it more deeply. I think we will be able
to imrove the summary patch in some way.

Bye,
Ferenc