JFFS2 mount time
Ferenc Havasi
havasi at inf.u-szeged.hu
Tue Jan 11 03:26:53 EST 2005
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
More information about the linux-mtd
mailing list