TODO revision 1.1
11.1Spooka	$NetBSD: TODO,v 1.1 2007/05/19 12:03:30 pooka Exp $
21.1Spooka
31.1SpookaDocument some possible user-visible changes that may take place.
41.1SpookaFor a complete list, please dump my brain and excavate.
51.1Spooka
61.1Spooka  * figure out what do to with struct vattr, maybe introduce some
71.1Spooka    vattr-like puffs-specific structure (translation costs?) instead
81.1Spooka    of direct exposure
91.1Spooka
101.1Spooka  * get rid of pid argument on most ops - virtually nobody (not the nfs guy)
111.1Spooka    uses it and we should provide the lwp also.  introduce puffs_caller(pcc)?
121.1Spooka
131.1Spooka  * make puffs_node opaque outside the library
141.1Spooka
151.1Spooka  * make it possible to cache symlink names and getattr results in
161.1Spooka    the kernel ... although I'm not as critically concerned with the
171.1Spooka    kernel caching as I am with userlevel caching
181.1Spooka
191.1Spooka  * try to implement a kernel policy for VOP_ACCESS, it's called
201.1Spooka    very very often - but this requires some kernel caching
211.1Spooka
221.1Spooka    + also try to figure out how to implement it in cases where it's
231.1Spooka      more difficult to do, e.g. how can we know readdir on sshfs will
241.1Spooka      fail without actually trying to read the directory?  If we fail
251.1Spooka      readdir itself, it's treated as success
261.1Spooka
271.1Spooka  * implement file system layering .. this will most likely bring
281.1Spooka    massive changes to how the ops vector is handled, for instance.
291.1Spooka    pcc/pu division should stay quite like the way it is now, but
301.1Spooka    maybe there will be layer specific ops.
311.1Spooka
321.1Spooka  * make puffs more like kernel vfs - or make kernel vfs more like puffs
331.1Spooka
341.1Spooka  * decide what to do about setback operations.  they kind of violate
351.1Spooka    the transparency of FAF for op handling.  also decide if the refs
361.1Spooka    parameter in inactive is still needed
371.1Spooka
381.1Spooka  * fix incoming requests to not require memcpy with continuations
391.1Spooka    (not user-visible?)
401.1Spooka
411.1Spooka  * make continuations play with libpthread, lib/36011 (not user-visible?)
421.1Spooka
431.1Spooka  * clean up the request dispatching / continuation code (not user-visible?)
44