Re: JFFS2 mount time

Ferenc Havasi
2004-10-21T19:46:34Z

Hi Artem,

> Unfortunately, you can not mark entries as obsoleted in your summary
> node in case of NAND.
>
> If you write your summary only for *full* blocks, you will not need to
> mark entries obsoleted, even if you have NOR flash (but you can on NOR).
> The partially filled blocks must not have the summary node (you can
> introduce special marker and write it to OOB of the last page of
> NAND/last word of sector on NOR which tells if there is the summary node
> present).

Really, you are right.

So we only have to solve this problem on NOR. I think the easiest
solution is to set jffs2_can_mark_obsolete() to false if the summary
support is enabled.

Bye,
Ferenc