18c2ecf20Sopenharmony_ci
28c2ecf20Sopenharmony_ci - support asynchronous operation -- add a per-fs 'reserved_space' count,
38c2ecf20Sopenharmony_ci   let each outstanding write reserve the _maximum_ amount of physical
48c2ecf20Sopenharmony_ci   space it could take. Let GC flush the outstanding writes because the
58c2ecf20Sopenharmony_ci   reservations will necessarily be pessimistic. With this we could even
68c2ecf20Sopenharmony_ci   do shared writable mmap, if we can have a fs hook for do_wp_page() to
78c2ecf20Sopenharmony_ci   make the reservation.
88c2ecf20Sopenharmony_ci - disable compression in commit_write()?
98c2ecf20Sopenharmony_ci - fine-tune the allocation / GC thresholds
108c2ecf20Sopenharmony_ci - chattr support - turning on/off and tuning compression per-inode
118c2ecf20Sopenharmony_ci - checkpointing (do we need this? scan is quite fast)
128c2ecf20Sopenharmony_ci - make the scan code populate real inodes so read_inode just after 
138c2ecf20Sopenharmony_ci	mount doesn't have to read the flash twice for large files.
148c2ecf20Sopenharmony_ci	Make this a per-inode option, changeable with chattr, so you can
158c2ecf20Sopenharmony_ci	decide which inodes should be in-core immediately after mount.
168c2ecf20Sopenharmony_ci - test, test, test
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci - NAND flash support:
198c2ecf20Sopenharmony_ci	- almost done :)
208c2ecf20Sopenharmony_ci	- use bad block check instead of the hardwired byte check
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci - Optimisations:
238c2ecf20Sopenharmony_ci   - Split writes so they go to two separate blocks rather than just c->nextblock.
248c2ecf20Sopenharmony_ci	By writing _new_ nodes to one block, and garbage-collected REF_PRISTINE
258c2ecf20Sopenharmony_ci	nodes to a different one, we can separate clean nodes from those which
268c2ecf20Sopenharmony_ci	are likely to become dirty, and end up with blocks which are each far
278c2ecf20Sopenharmony_ci	closer to 100% or 0% clean, hence speeding up later GC progress dramatically.
288c2ecf20Sopenharmony_ci   - Stop keeping name in-core with struct jffs2_full_dirent. If we keep the hash in 
298c2ecf20Sopenharmony_ci     the full dirent, we only need to go to the flash in lookup() when we think we've
308c2ecf20Sopenharmony_ci     got a match, and in readdir(). 
318c2ecf20Sopenharmony_ci   - Doubly-linked next_in_ino list to allow us to free obsoleted raw_node_refs immediately?
328c2ecf20Sopenharmony_ci   - Remove size from jffs2_raw_node_frag. 
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_cidedekind:
358c2ecf20Sopenharmony_ci1. __jffs2_flush_wbuf() has a strange 'pad' parameter. Eliminate.
368c2ecf20Sopenharmony_ci2. get_sb()->build_fs()->scan() path... Why get_sb() removes scan()'s crap in
378c2ecf20Sopenharmony_ci   case of failure? scan() does not clean everything. Fix.
38