Fix blocks per chunk in resize
[yaffs/.git] / Documentation / yaffs_report20020304.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4         <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1">
5         <TITLE></TITLE>
6         <META NAME="GENERATOR" CONTENT="StarOffice/5.2 (Linux)">
7         <META NAME="AUTHOR" CONTENT=" ">
8         <META NAME="CREATED" CONTENT="20020211;20201700">
9         <META NAME="CHANGEDBY" CONTENT=" ">
10         <META NAME="CHANGED" CONTENT="20020304;21123700">
11 </HEAD>
12 <BODY>
13 <H3>YAFFS Progress 4 March 2002</H3>
14 <H3><BR><BR>
15 </H3>
16 <H3>Design</H3>
17 <P>A few of the design areas needed to be tweaked slightly without
18 significant impact.</P>
19 <P>The only real significance is that what is termed a yaffs_Inode
20 really becomes an object Id. Where an 'object' is a file, directory,
21 symlink or hard link. This differs from the *nix concept of an inode
22 in that a hard link is not an inode. yaffs_Inode should really be
23 renamed to yaffs_Object to reflect this.</P>
24 <P>Rge reason for introducing the object is to provide identifiers
25 for the objects stored on NAND. For example, each hardlink (which
26 does not have a distinct inode) needs an object Id for storage on 
27 </P>
28 <H3>Code</H3>
29 <P>Pretty much all the guts of the code is there except for:</P>
30 <UL>
31         <LI><P>symlink handling (a doddle)</P>
32         <LI><P>hard link handling.</P>
33         <LI><P>some of start-up scanning</P>
34         <LI><P>ECC on tags</P>
35         <LI><P>superblock handling (ie hook-up to mtd and the Linux VFS).
36         Some of this code to be pinched from JFFS2.</P>
37 </UL>
38 <P>Some of the code has already been tested.</P>
39 <P>I will now be testing out the guts on a NAND emulation layer in an
40 application. This provides better debugging. I hope to have this
41 running by 11/03/2002. 
42 </P>
43 <P>Once the guts looks solid on the NAND emulation, I will graft it
44 on to the VFS and mtd -  at which point it becomes a real file
45 system.</P>
46 <H3>Time</H3>
47 <P>So far I've logged 90 hours on yaffs. I will not be charging for
48 approx 15 hours I have spent swotting up on the Linux VFS. I still
49 believe this is on budget.</P>
50 <P><BR><BR>
51 </P>
52 <P><BR><BR>
53 </P>
54 <P><BR><BR>
55 </P>
56 </BODY>
57 </HTML>