*** empty log message ***
[yaffs/.git] / Documentation / yaffs-todo.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="20020501;19062800">
9         <META NAME="CHANGEDBY" CONTENT=" ">
10         <META NAME="CHANGED" CONTENT="20020709;16002500">
11 </HEAD>
12 <BODY>
13 <H1>YAFFS Todo as at <SDFIELD TYPE=DATETIME SDNUM="5129;2057;DD/MM/YYYY">09/07/2002</SDFIELD></H1>
14 <H3>Stuff not yet done</H3>
15 <OL>
16         <LI><P>Directory locking during directory walk.</P>
17         <LI><P>Other locking.... investigate what is needed.</P>
18         <LI><P>Test disk full condition.... investigate might not be being
19         handled correctly.</P>
20         <LI><P>Add write memory mapping. We probably need this to support
21         loop mounting.</P>
22         <LI><P>At scan time, check that the file size in the ObjectHeader
23         matches the filesize of the scanned blocks.</P>
24 </OL>
25 <H3>Tools to be done</H3>
26 <OL>
27         <LI><P></P>
28 </OL>
29 <H3>Recently done with no known problems (ie. probably needs
30 significant testing)</H3>
31 <OL>
32         <LI><P>ECC and write failure handling.</P>
33         <LI><P>Added symlinks and hard links to VFS interface.</P>
34         <LI><P>Fixed problem with persistence. Object header was not being
35         updated at end of write and the file size was getting corrupted.</P>
36         <LI><P>Fixed problem where obsoleted object headers were not being
37         deleted on NAND. This caused multiple file entries. Looks like it is
38         working properly now.</P>
39         <LI><P>Read memory mapping. Can now execute a file from yaffs.</P>
40         <LI><P>We now mark a chunk as deleted by marking the OOB data
41         validity flag. Before this we just stomped on the tags, which was
42         mot such a good thing to do with newer NANDs which do not like this
43         sort of thing.</P>
44 </OL>
45 <OL>
46         <LI><P>File pruning is done in reverse order so that if power is
47         lost part-way through, the file does not have any holes.</P>
48 </OL>
49 <OL>
50         <LI><P>mkyaffsimage. Tool to make a yaffs image from a directory (in
51         the spirit of mkcramfs).</P>
52         <LI><P>Added support for special inodes (pipes, character &amp;
53         block devices, sockets).</P>
54 </OL>
55 <H3>Done, but currently known to be broken</H3>
56 <OL>
57         <P>nothing.</P>
58 </OL>
59 <H3>Longer term stuff to do</H3>
60 <OL>
61         <LI><P>Discuss improved NAND page interface with mtd group. This has
62         actually started.</P>
63         <LI><P>Pull out all YAFFS_OK and YAFFS_FAIL style errors and return
64         with -ENOMEM style error messages.</P>
65 </OL>
66 <P><BR><BR>
67 </P>
68 </BODY>
69 </HTML>