blob: d0e23b26fa505a0c47a8a2e09cfef039016fc8fc [file] [log] [blame]
Artem B. Bityutskiy733802d2005-09-22 12:25:00 +01001$Id: TODO,v 1.18 2005/09/22 11:24:56 dedekind Exp $
Linus Torvalds1da177e2005-04-16 15:20:36 -07002
Artem B. Bityutskiy733802d2005-09-22 12:25:00 +01003 - support asynchronous operation -- add a per-fs 'reserved_space' count,
4 let each outstanding write reserve the _maximum_ amount of physical
5 space it could take. Let GC flush the outstanding writes because the
6 reservations will necessarily be pessimistic. With this we could even
7 do shared writable mmap, if we can have a fs hook for do_wp_page() to
8 make the reservation.
Linus Torvalds1da177e2005-04-16 15:20:36 -07009 - disable compression in commit_write()?
10 - fine-tune the allocation / GC thresholds
11 - chattr support - turning on/off and tuning compression per-inode
12 - checkpointing (do we need this? scan is quite fast)
13 - make the scan code populate real inodes so read_inode just after
14 mount doesn't have to read the flash twice for large files.
15 Make this a per-inode option, changable with chattr, so you can
16 decide which inodes should be in-core immediately after mount.
17 - test, test, test
18
19 - NAND flash support:
Artem B. Bityutskiy733802d2005-09-22 12:25:00 +010020 - almost done :)
21 - use bad block check instead of the hardwired byte check
Linus Torvalds1da177e2005-04-16 15:20:36 -070022
23 - Optimisations:
Artem B. Bityutskiy733802d2005-09-22 12:25:00 +010024 - Split writes so they go to two separate blocks rather than just c->nextblock.
25 By writing _new_ nodes to one block, and garbage-collected REF_PRISTINE
26 nodes to a different one, we can separate clean nodes from those which
27 are likely to become dirty, and end up with blocks which are each far
28 closer to 100% or 0% clean, hence speeding up later GC progress dramatically.
Linus Torvalds1da177e2005-04-16 15:20:36 -070029 - Stop keeping name in-core with struct jffs2_full_dirent. If we keep the hash in
30 the full dirent, we only need to go to the flash in lookup() when we think we've
31 got a match, and in readdir().
32 - Doubly-linked next_in_ino list to allow us to free obsoleted raw_node_refs immediately?
33 - Remove totlen from jffs2_raw_node_ref? Need to have totlen passed into
34 jffs2_mark_node_obsolete(). Can all callers work it out?
35 - Remove size from jffs2_raw_node_frag.
Artem B. Bityutskiy733802d2005-09-22 12:25:00 +010036
37dedekind:
381. __jffs2_flush_wbuf() has a strange 'pad' parameter. Eliminate.
392. get_sb()->build_fs()->scan() path... Why get_sb() removes scan()'s crap in
40 case of failure? scan() does not clean everything. Fix.