mtd/fs/jffs3 JFFS3design.tex,1.18,1.19
Artem Bityuckiy
dedekind at infradead.org
Thu Feb 3 11:47:59 EST 2005
Update of /home/cvs/mtd/fs/jffs3
In directory phoenix.infradead.org:/tmp/cvs-serv6873
Modified Files:
JFFS3design.tex
Log Message:
Add several TODOs. You (reader) may do them!
Index: JFFS3design.tex
===================================================================
RCS file: /home/cvs/mtd/fs/jffs3/JFFS3design.tex,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- JFFS3design.tex 3 Feb 2005 15:57:49 -0000 1.18
+++ JFFS3design.tex 3 Feb 2005 16:47:56 -0000 1.19
@@ -117,11 +117,26 @@
of one or more flash blocks.
\\[4pt]
+\raggedright \emph{Wear-leveling}
+&
+TODO
+\\[4pt]
+
\raggedright \emph{Garbage Collector, GC}
&
-TODO.
-See [\ref{ref_JFFSdwmw2}] for more details about GC in JFFS2. It is almost the
-same in JFFS3.
+The Garbage Collector is very important part of JFFS3 subsystem which performs
+several tasks. The main task of the GC is reclaiming the dirty space - it moves
+all the valid nodes from dirty eblocks, thus reclaiming the space occupire by
+the dirt. Another tasks done by the GC are wear-levelling and producing pristing
+nodes.
+
+See [\ref{ref_JFFSdwmw2}] for more details about GC in JFFS2 which is pretty close
+to the GC in JFFS3.
+\\[4pt]
+
+\raggedright \emph{GC thread}
+&
+TODO
\\[4pt]
\raggedright \emph{Build inode}
@@ -168,12 +183,17 @@
\texttt{struct~jffs3\_raw\_inode} objects.
\\[4pt]
-\raggedright \emph{Direntry node, direntry}
+\raggedright \emph{Direntry node, direntry, dirent}
&
Each JFFS3 directory entry is represented by the direntry node.
Direntry nodes are \texttt{struct~jffs3\_raw\_dirent} objects.
\\[4pt]
+\raggedright \emph{Deletion direntry node, deletion dirent}
+&
+TODO
+\\[4pt]
+
\raggedright \emph{Summary node, summary}
&
Summary node is special node type which describes the layout of
@@ -198,6 +218,36 @@
ICP nodes are used to quickly aquire the information about the inode's nodes.
\\[4pt]
+\raggedright \emph{Dirty space, dirt}
+&
+TODO
+\\[4pt]
+
+\raggedright \emph{Obsolete node}
+&
+TODO
+\\[4pt]
+
+\raggedright \emph{Valid node}
+&
+TODO
+\\[4pt]
+
+\raggedright \emph{Obsolete inode node}
+&
+TODO
+\\[4pt]
+
+\raggedright \emph{Obsolete direntry node}
+&
+TODO
+\\[4pt]
+
+\raggedright \emph{Obsolete ICP node}
+&
+TODO
+\\[4pt]
+
\raggedright \emph{Summary end magic bitmask}
&
Summary nodes has special
More information about the linux-mtd-cvs
mailing list