Re: JFFS2 mount time

Ferenc Havasi
2004-10-21T06:50:53Z

Hi Artem,

> As I understand, you only prepare JFFS2 image with summaries. This is
> great until we do not change anything. For read-only file-systems this
> is OK.
>
> But what if files/direntries are changed/deleted ? Do you write summary
> information dynamically? How are you going to place nodes/direntries to
> different blocks dynamically?

You are right, there is a small change which is really important (and
will be ready very soon) to extend jffs2_mark_node_obsolete() to mark
not only the node but also its entry in the summary.

Any other improvement can be done later, because after it the filesystem
will be always coherent, because we write summary only at the of the
erasy blocks, when it is fully "finished" - so if there is a summary
somewhere we will not need to extend it, only to mark the obscolated nodes.

We also plan in the near future to implement the ability of generating
summary dinamically when the filesystem finishes an erase block - which
keep this "fast mount time" permament.

Bye,
Ferenc