Re: JFFS2 mount time
Ferenc Havasi <[email protected]> Thu, 21 Oct 2004 08:54:15 +0200
| Newsgroups | gmane.linux.drivers.mtd,gmane.linux.file-systems.jffs |
|---|---|
| Message-ID | <[email protected]> |
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 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/