Up to [cvs.NetBSD.org] / src / lib / libpuffs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.124 / (download) - annotate - [select for diffs], Thu Aug 16 09:25:44 2012 UTC (9 months ago) by manu
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.123: +9 -4
lines
Diff to previous 1.123 (colored)
Fix regression that has been introduced when the lookup/reclaim race condition was addressed in libpuffs by counting lookups. The fix assumes that cookies map to struct puffs_cookie, which has not been documented as a requirement for filesystems using libpuffs. As an example, we got burnt by this assumption in libp2k (kern/46734), and we fixed bit by actually mapping libp2k cookies to struct puffs_node. It is unlikely, but there may be third party filesystems that use cookies unmapped to struct puffs_node, and they were left broken for now. - we introduce a puffs_init() flag PUFFS_FLAG_PNCOOKIE that let filesystems inform libpuffs that they map cookies to struct puffs_node. Is that flag is used, the lookup/reclaim race condition fix is enabled. We enable the flag for libp2k. - filesystems that use puffs_pn_new() obviouslty use struct puffs_node and gain PUFFS_FLAG_PNCOOKIE automatically even if they did not specify it in puffs_init(). This include all our PUFFS filesystem in-tree except libp2k. - for filesystems not willing to use struct puffs_node, we introduce a reclaim2 vnop, which is reclaim with an additionnal lookup count argument. This vnop let the filesystem implement the lookup/reclaim race fix on its own.
Revision 1.123 / (download) - annotate - [select for diffs], Sat Jul 21 05:17:10 2012 UTC (10 months ago) by manu
Branch: MAIN
Changes since 1.122: +2 -1
lines
Diff to previous 1.122 (colored)
- Improve PUFFS_KFLAG_CACHE_FS_TTL by reclaiming older inactive nodes. The normal kernel behavior is to retain inactive nodes in the freelist until it runs out of vnodes. This has some merit for local filesystems, where the cost of an allocation is about the same as the cost of a lookup. But that situation is not true for distributed filesystems. On the other hand, keeping inactive nodes for a long time hold memory in the file server process, and when the kernel runs out of vnodes, it produce reclaim avalanches that increase lattency for other operations. We do not reclaim inactive vnodes immediatly either, as they may be looked up again shortly. Instead we introduce a grace time and we reclaim nodes that have been inactive beyond the grace time. - Fix lookup/reclaim race condition. The above improvement undercovered a race condition between lookup and reclaim. If we reclaimed a vnode associated with a userland cookie while a lookup returning that same cookiewas inprogress, then the kernel ends up with a vnode associated with a cookie that has been reclaimed in userland. Next operation on the cookie will crash (or at least confuse) the filesystem. We fix this by introducing a lookup count in kernel and userland. On reclaim, the kernel sends the count, which enable userland to detect situation where it initiated a lookup that is not completed in kernel. In such a situation, the reclaim must be ignored, as the node is about to be looked up again.
Revision 1.122 / (download) - annotate - [select for diffs], Wed Jun 27 13:25:23 2012 UTC (10 months, 3 weeks ago) by manu
Branch: MAIN
Changes since 1.121: +15 -4
lines
Diff to previous 1.121 (colored)
Pass the FAF flag to handlers: - setattr_ttl is updated to add a flag argument. Since it was not present in a previous release, we can change its API - write2 is introduced, this is write with an extra flag for FAF. - fsync already has the FAF information in a flag and needs no change - for other operations, FAF is unconditional
Revision 1.121 / (download) - annotate - [select for diffs], Wed Apr 18 00:57:22 2012 UTC (13 months ago) by manu
Branch: MAIN
CVS Tags: yamt-pagecache-base5
Changes since 1.120: +19 -6
lines
Diff to previous 1.120 (colored)
- When using PUFFS_KFLAG_CACHE_FS_TTL, do not use puffs_node to carry attribute and TTL fora newly created node. Instead extend puffs_newinfo and add puffs_newinfo_setva() and puffs_newinfo_setttl() - Remove node_mk_common_final in libperfuse. It used to set uid/gid for a newly created vnode but has been made redundant along time ago since uid and gid are properly set in FUSE header. - In libperfuse, check for corner case where opc = 0 on INACTIVE and RECLAIM (how is it possible? Check for it to avoid a crash anyway) - In libperfuse, make sure we unlimit RLIMIT_AS and RLIMIT_DATA so that we do notrun out of memory because the kernel is lazy at reclaiming vnodes. - In libperfuse, cleanup style of perfuse_destroy_pn()
Revision 1.120 / (download) - annotate - [select for diffs], Sun Apr 8 15:07:45 2012 UTC (13 months, 1 week ago) by manu
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Changes since 1.119: +5 -2
lines
Diff to previous 1.119 (colored)
Add PUFFS_KFLAG_CACHE_FS_TTL flag to puffs_init(3) to use name and attribute cache with filesystem provided TTL. lookup, create, mknod, mkdir, symlink, getattr and setattr messages have been extended so that attributes and their TTL can be provided by the filesytem. lookup, create, mknod, mkdir, and symlink messages are also extended so that the filesystem can provide name TTL. The filesystem updates attributes and TTL using puffs_pn_getvap(3), puffs_pn_getvattl(3), and puffs_pn_getcnttl(3)
Revision 1.119 / (download) - annotate - [select for diffs], Mon Aug 29 20:48:36 2011 UTC (20 months, 3 weeks ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base
Branch point for: yamt-pagecache,
netbsd-6
Changes since 1.118: +2 -2
lines
Diff to previous 1.118 (colored)
Use __dead
Revision 1.118 / (download) - annotate - [select for diffs], Mon Jul 4 08:07:30 2011 UTC (22 months, 2 weeks ago) by manu
Branch: MAIN
Changes since 1.117: +4 -3
lines
Diff to previous 1.117 (colored)
Add a flag to VOP_LISTEXTATTR(9) so that the vnode interface can tell the filesystem in which format extended attribute shall be listed. There are currently two formats: - NUL-terminated strings, used for listxattr(2), this is the default. - one byte length-pprefixed, non NUL-terminated strings, used for extattr_list_file(2), which is obtanined by setting the EXTATTR_LIST_PREFIXLEN flag to VOP_LISTEXTATTR(9) This approach avoid the need for converting the list back and forth, except in libperfuse, since FUSE uses NUL-terminated strings, and the kernel may have requested EXTATTR_LIST_PREFIXLEN.
Revision 1.117 / (download) - annotate - [select for diffs], Mon Jun 7 11:21:31 2010 UTC (2 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.116: +3 -3
lines
Diff to previous 1.116 (colored)
Make retval argument for pathconf a register_t to match VOP_PATHCONF. This makes the size the same on 64bit archs. Don't bother bumping any version, since you'd have explicitly had to jump through some hoops to use pathconf before.
Revision 1.116 / (download) - annotate - [select for diffs], Fri May 21 11:29:42 2010 UTC (3 years ago) by pooka
Branch: MAIN
Changes since 1.115: +3 -1
lines
Diff to previous 1.115 (colored)
add option string for no attribute cache (foreseeing the odd event I might actually implement one some day)
Revision 1.115 / (download) - annotate - [select for diffs], Fri May 21 10:50:52 2010 UTC (3 years ago) by pooka
Branch: MAIN
Changes since 1.114: +30 -13
lines
Diff to previous 1.114 (colored)
* support extended attributes * bump major due to structure growth * add some spare space * remove ABI sillyness
Revision 1.114 / (download) - annotate - [select for diffs], Tue Jan 12 18:42:39 2010 UTC (3 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.113: +3 -1
lines
Diff to previous 1.113 (colored)
Add convenience routine puffs_unmountonsignal(), which does exactly that.
Revision 1.113 / (download) - annotate - [select for diffs], Sat Dec 5 20:54:10 2009 UTC (3 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.112: +5 -1
lines
Diff to previous 1.112 (colored)
Add an error handler which syslogs but does not abort() and make it the default. Most servers just shovel bits from their backend to the kernel without checking the contents and dumping core in case the backend gives garbage is a bit harsh.
Revision 1.112 / (download) - annotate - [select for diffs], Sun Oct 18 19:09:20 2009 UTC (3 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.111: +4 -1
lines
Diff to previous 1.111 (colored)
Make it possible to supply parameters to puffs_init() later (but before puffs_mount()).
Revision 1.111 / (download) - annotate - [select for diffs], Sat Oct 17 23:19:52 2009 UTC (3 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.110: +9 -6
lines
Diff to previous 1.110 (colored)
Dispatch puffs_node_abortop(). Note: We use the storage of puffs_cache_write from puffs_ops for this purpose. It's not issued by the kernel and hence currently unused, and this saves us from the trouble of bumping the lib major version.
Revision 1.110 / (download) - annotate - [select for diffs], Fri Dec 12 19:45:16 2008 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend
Changes since 1.109: +2 -1
lines
Diff to previous 1.109 (colored)
Add puffs_cancel(), which allows to back down after puffs_init() and before puffs_mount(). (this should actually be integrated with puffs_exit(), but that routine is currently so non-sensible that I didn't bother now)
Revision 1.109 / (download) - annotate - [select for diffs], Fri Dec 12 18:59:53 2008 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.108: +2 -1
lines
Diff to previous 1.108 (colored)
add:
puffs_setspecific(pu, private)
Can be used to set the specific data after the call to
puffs_init().
Revision 1.108 / (download) - annotate - [select for diffs], Tue Aug 12 19:44:39 2008 UTC (4 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2
Branch point for: netbsd-5,
matt-nb5-mips64
Changes since 1.107: +90 -81
lines
Diff to previous 1.107 (colored)
Replace void * by puffs_cookie_t where appropriate. No functional change.
Revision 1.107 / (download) - annotate - [select for diffs], Tue Jan 29 10:07:29 2008 UTC (5 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
matt-armv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base
Branch point for: wrstuden-revivesa
Changes since 1.106: +2 -2
lines
Diff to previous 1.106 (colored)
Fix a weirdosity in the framebuf gotfb interface: hand buffer ownership to the called routine instead of keeping it. This means that callees must now destroy the buffer once they are done with it.
Revision 1.106 / (download) - annotate - [select for diffs], Mon Jan 28 18:42:09 2008 UTC (5 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.105: +2 -2
lines
Diff to previous 1.105 (colored)
Bump version for lazy contexts (probably not necessary, but it's been a long time since I bumbed the version ;)
Revision 1.105 / (download) - annotate - [select for diffs], Mon Jan 28 18:35:50 2008 UTC (5 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.104: +6 -4
lines
Diff to previous 1.104 (colored)
Implement lazy contexts for file systems using puffs_mainloop(). Previously each request was executed on its own callcontext and switched to every time the request was being processed. Now requests borrow the mainloop context and switch only if/when they yield. This takes two context switches away from a file system request bringing down the typical amounts 2->0 (e.g. dtfs) and 4->2 (e.g. psshfs). The interfaces for manually executing requests changed a bit: puffs_dispatch_create() and puffs_dispatch_exec() must now be used. They are not tested, as nothing in-tree wants them and I doubt anyone else is really interested in them either. Also do some misc code cleanup related to execution contexts. The "work-in-progress checkpoint" committed over a year ago was starting to look slightly weed-infested.
Revision 1.104 / (download) - annotate - [select for diffs], Mon Jan 14 13:57:27 2008 UTC (5 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.103: +4 -1
lines
Diff to previous 1.103 (colored)
Introduce PUFFS_STACKSIZE_MIN to avoid overloading 0 and getting a warning from the library when really wanting to say "just the minimum, please".
Revision 1.103 / (download) - annotate - [select for diffs], Tue Dec 25 20:38:01 2007 UTC (5 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.102: +4 -1
lines
Diff to previous 1.102 (colored)
Add a public interface for setting a cookie mapper.
Revision 1.102 / (download) - annotate - [select for diffs], Wed Dec 19 14:01:16 2007 UTC (5 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.101: +4 -1
lines
Diff to previous 1.101 (colored)
Add generic getattr routine.
Revision 1.101 / (download) - annotate - [select for diffs], Sun Dec 16 20:02:58 2007 UTC (5 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.100: +5 -3
lines
Diff to previous 1.100 (colored)
* nuke puffs_cc_get{specific,usermount} for good
* move prototypes for puffs_docc and puffs_dopufbuf into the
public header, as they are should be exposed
Revision 1.100 / (download) - annotate - [select for diffs], Tue Dec 11 20:17:26 2007 UTC (5 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.99: +1 -2
lines
Diff to previous 1.99 (colored)
nuke #define whose purpose has ceased to be
Revision 1.99 / (download) - annotate - [select for diffs], Sat Dec 8 19:57:03 2007 UTC (5 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: cube-autoconf-base,
cube-autoconf
Changes since 1.98: +2 -10
lines
Diff to previous 1.98 (colored)
Now that "l" is gone both as an argument to operations and from componentname, remove all vestiges of puffs_cid.
Revision 1.98 / (download) - annotate - [select for diffs], Tue Dec 4 21:24:11 2007 UTC (5 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.97: +4 -35
lines
Diff to previous 1.97 (colored)
Part 3/n of extensive changes to message handling: Get rid of the original puffs_req(3) framework and use puffs_framebuf(3) instead for file system requests. It has the advantage of being suitable for transporting a distributed message passing protocol and therefore us being able to run the file system server on any host. Ok, puffs is not quite here yet: libpuffs needs to grow request routing support and the message contents need to be munged into a host independent format. Saying which format would be telling, but it might begin with an X, end in an L and have the 13th character in the middle. Keep an eye out for the sequels: Parts 3+m/n.
Revision 1.97 / (download) - annotate - [select for diffs], Fri Nov 30 19:02:29 2007 UTC (5 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.96: +75 -75
lines
Diff to previous 1.96 (colored)
Rototill. Ok, ok, a few more words about it: stop holding puffs_cc as a holy value and passing it around to almost every possible place (popquiz: which kernel variable does this remind you of?). Instead, pass the natural choice, puffs_usermount, and fetch puffs_cc via puffs_cc_getcc() only in routines which actually need it. This not only simplifies code, but (thanks to the introduction of puffs_cc_getcc()) enables constructs which weren't previously sanely possible, say layering as a curious example. There's still a little to do on this front, but this was the major fs interface blast.
Revision 1.96 / (download) - annotate - [select for diffs], Thu Nov 29 17:47:55 2007 UTC (5 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.95: +2 -1
lines
Diff to previous 1.95 (colored)
* allocate pcc as a slice from the stack instead of allocating it separately * provide puffs_cc_getcc() This is in preparation for the removal of you-should-guess-what as an argument to routines here and there and everywhere.
Revision 1.95 / (download) - annotate - [select for diffs], Tue Nov 27 11:31:19 2007 UTC (5 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.94: +32 -55
lines
Diff to previous 1.94 (colored)
Remove "puffs_cid" from the puffs interface following l-removal from the kernel vfs interfaces. puffs_cc_getcaller(pcc) can be used now should the same information be desired.
Revision 1.94 / (download) - annotate - [select for diffs], Fri Nov 16 18:35:10 2007 UTC (5 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.93: +2 -1
lines
Diff to previous 1.93 (colored)
Introduce puffs_daemon(), which works like daemon(3) except that it also synchronizes with puffs_mount() and does not return (exit) in the parent process until the file system has been mounted. This makes it possible to reliably run e.g. mount_foo jippi /kai ; cd /kai/ee
Revision 1.93 / (download) - annotate - [select for diffs], Mon Nov 5 17:55:23 2007 UTC (5 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.92: +2 -2
lines
Diff to previous 1.92 (colored)
remember to bump version for puffs_mainloop() change
Revision 1.92 / (download) - annotate - [select for diffs], Mon Nov 5 17:48:17 2007 UTC (5 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.91: +2 -5
lines
Diff to previous 1.91 (colored)
Pull the daemonizing code out of the library mainloop into the file servers. Calling daemon() (i.e. fork()ing) inside a library can cause nice surprises for e.g. threaded programs. As discussed with Greg Oster & others.
Revision 1.91 / (download) - annotate - [select for diffs], Sun Oct 28 18:40:30 2007 UTC (5 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.90: +5 -1
lines
Diff to previous 1.90 (colored)
Add possibility to set pre- and post callbacks which will be called for all operations before or after executing the specific callback (the api is not be final yet, though).
Revision 1.90 / (download) - annotate - [select for diffs], Fri Oct 26 13:51:14 2007 UTC (5 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.89: +2 -2
lines
Diff to previous 1.89 (colored)
mmap stacks, makes it possible to align them
Revision 1.89 / (download) - annotate - [select for diffs], Sun Oct 21 19:25:58 2007 UTC (5 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.88: +2 -1
lines
Diff to previous 1.88 (colored)
Add puffs_cc_schedule() which marks a pcc runnable and will pass execution to it when in the main loop the next time.
Revision 1.88 / (download) - annotate - [select for diffs], Sun Oct 21 14:28:05 2007 UTC (5 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.87: +2 -1
lines
Diff to previous 1.87 (colored)
Always provide caller information from the kernel based on curlwp. (but don't deprecate the old puffs_cid interface just yet)
Revision 1.87 / (download) - annotate - [select for diffs], Thu Oct 18 13:48:04 2007 UTC (5 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.86: +9 -7
lines
Diff to previous 1.86 (colored)
* Change type of boolean functions to, well, boolean instead of int. * add puffs_cid_isequal() which can be used to test if the two caller id's refer to the same process/lwp.
Revision 1.86 / (download) - annotate - [select for diffs], Thu Oct 11 19:41:15 2007 UTC (5 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.85: +2 -14
lines
Diff to previous 1.85 (colored)
Part 1/n of some pretty extensive changes to how the kernel module
interacts with the userspace file server:
* since the kernel-user communication is not purely request-response
anymore (hasn't been since 2006), try to rename some "request" to
"message". more similar mangling will take place in the future.
* completely rework how messages are allocated. previously most of
them were borrowed from the stack (originally *all* of them),
but now always allocate dynamically. this makes the structure
of the code much cleaner. also makes it possible to fix a
locking order violation. it enables plenty of future enhancements.
* start generalizing the transport interface to be independent of puffs
* move transport interface to read/write instead of ioctl. the
old one had legacy design problems, and besides, ioctl's suck.
implement a very generic version for now; this will be
worked on later hopefully some day reaching "highly optimized".
* implement libpuffs support behind existing library request
interfaces. this will change eventually (I hate those interfaces)
Revision 1.85 / (download) - annotate - [select for diffs], Mon Oct 1 21:10:51 2007 UTC (5 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.84: +3 -3
lines
Diff to previous 1.84 (colored)
Pass reason string to pu_errnotify. Print it in the default version before aborting.
Revision 1.84 / (download) - annotate - [select for diffs], Thu Sep 27 21:14:49 2007 UTC (5 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.83: +9 -3
lines
Diff to previous 1.83 (colored)
Add error notifications, which are used to deliver errors from the kernel to the file server for silly things the file server did, e.g. attempting to create a file with size VSIZENOTSET. The file server can handle these as it chooses, but the default action is for it to throw its hands in the air and sing "goodbye, cruel world, it's over, walk on by".
Revision 1.83 / (download) - annotate - [select for diffs], Thu Sep 6 16:08:56 2007 UTC (5 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.82: +3 -2
lines
Diff to previous 1.82 (colored)
Give cmpframe() the ability to shortcircuit the comparison loop by signalling back that the buffer under examination is not a response at all.
Revision 1.82 / (download) - annotate - [select for diffs], Sat Sep 1 16:42:42 2007 UTC (5 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.81: +4 -1
lines
Diff to previous 1.81 (colored)
Add gotframe callback, which is called if an incoming frame matches no outstanding request.
Revision 1.81 / (download) - annotate - [select for diffs], Wed Aug 22 17:54:30 2007 UTC (5 years, 9 months ago) by pooka
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.80: +2 -2
lines
Diff to previous 1.80 (colored)
Mimic namei structure changes for puffs. bump both kernel & lib version.
Revision 1.80 / (download) - annotate - [select for diffs], Sat Aug 18 10:26:05 2007 UTC (5 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.79: +1 -3
lines
Diff to previous 1.79 (colored)
puffs_cc_create/destroy aren't supposed to be exported to the user
Revision 1.79 / (download) - annotate - [select for diffs], Fri Aug 17 17:25:31 2007 UTC (5 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.78: +6 -1
lines
Diff to previous 1.78 (colored)
Add accessors for struct puffs_node to prepare for removal from exported headers.
Revision 1.78 / (download) - annotate - [select for diffs], Wed Aug 15 14:19:19 2007 UTC (5 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.77: +2 -1
lines
Diff to previous 1.77 (colored)
Nuke PUFFSLOOKUP_FOO and move to NAMEI_FOO
Revision 1.77 / (download) - annotate - [select for diffs], Fri Jul 27 08:28:16 2007 UTC (5 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-base,
hpcarm-cleanup
Branch point for: matt-mips64
Changes since 1.76: +5 -4
lines
Diff to previous 1.76 (colored)
mmap fflags -> prot
Revision 1.76 / (download) - annotate - [select for diffs], Fri Jul 20 13:14:55 2007 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.75: +3 -1
lines
Diff to previous 1.75 (colored)
Add puffs_framev_enqueue_waitevent, which waits for read/write/error events from an i/o descriptor. It yields until an event happens and continues execution when the event loop notices the event has happened.
Revision 1.75 / (download) - annotate - [select for diffs], Tue Jul 17 11:34:52 2007 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.74: +5 -5
lines
Diff to previous 1.74 (colored)
* add mntfromname parameter to puffs_init() * set it in file servers
Revision 1.74 / (download) - annotate - [select for diffs], Mon Jul 9 09:28:48 2007 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.73: +5 -2
lines
Diff to previous 1.73 (colored)
add IO_NDELAY
Revision 1.73 / (download) - annotate - [select for diffs], Sun Jul 8 17:24:41 2007 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.72: +1 -2
lines
Diff to previous 1.72 (colored)
g/c leftover
Revision 1.72 / (download) - annotate - [select for diffs], Sun Jul 8 11:24:58 2007 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.71: +3 -2
lines
Diff to previous 1.71 (colored)
make notifyfunction optional and do not call removeonclose() if none is given.
Revision 1.71 / (download) - annotate - [select for diffs], Sat Jul 7 21:13:42 2007 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.70: +19 -11
lines
Diff to previous 1.70 (colored)
Make puffs_framebuf better suited from environments with multiple sources: * in addition add/remove, allow enable/disable, which can be used to control events for descriptors without having to remove all the data associated with them * add directsend/receive, which can be used to pass the same buffer from the caller to read/writeframe and back again * add flags to enqueue functions and allow urgent buffers to be processed as the next PDU
Revision 1.70 / (download) - annotate - [select for diffs], Mon Jul 2 10:24:18 2007 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.69: +5 -4
lines
Diff to previous 1.69 (colored)
Get rid of the "int *refs" parameter to inactive: the same can be accomplished now with puffs_setbacks.
Revision 1.69 / (download) - annotate - [select for diffs], Sun Jul 1 18:39:39 2007 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.68: +23 -17
lines
Diff to previous 1.68 (colored)
Instead of requesting various pieces of information from node-creating methods using "please fill me"-pointers, pass "struct puffs_newinfo *" and provide methods to fill in new node info.
Revision 1.68 / (download) - annotate - [select for diffs], Sun Jul 1 17:22:18 2007 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.67: +54 -34
lines
Diff to previous 1.67 (colored)
Instead of supplying a plain pid, supply an abstract struct puffs_cid *, which can currently be used to query the pid and lwpid.
Revision 1.67 / (download) - annotate - [select for diffs], Sun Jul 1 15:30:15 2007 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.66: +6 -3
lines
Diff to previous 1.66 (colored)
make puffs_cred an opaque type
Revision 1.66 / (download) - annotate - [select for diffs], Sun Jun 24 22:25:49 2007 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.65: +3 -1
lines
Diff to previous 1.65 (colored)
Actually, keep PUFFS_KFLAG_NOCACHE and -o cache around as shorthand to neither page- nor namecache.
Revision 1.65 / (download) - annotate - [select for diffs], Sun Jun 24 22:18:38 2007 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.64: +5 -3
lines
Diff to previous 1.64 (colored)
PUFFS_KFLAG_NOCACHE became two, so introduce the command line options -o nonamecache and -o nopagecache and adapt file systems where necessary.
Revision 1.64 / (download) - annotate - [select for diffs], Sun Jun 24 18:42:25 2007 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.63: +5 -1
lines
Diff to previous 1.63 (colored)
Introduce puffs_null_setops(), which initializes the ops vector with puffs nullfs ops.
Revision 1.63 / (download) - annotate - [select for diffs], Sun Jun 24 17:55:07 2007 UTC (5 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.62: +4 -2
lines
Diff to previous 1.62 (colored)
Introduce puffs_pn_remove() to signal that a node has been deleted and destroyed, but not yet reclaimed. This prevents puffs_pn_nodewalk() from returning stale entries. Make nullfs use this (some file systems are a bit too happy with recycling inode numbers).
Revision 1.62 / (download) - annotate - [select for diffs], Wed Jun 6 01:55:01 2007 UTC (5 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.61: +1 -4
lines
Diff to previous 1.61 (colored)
Move puffs to a two clause license where it already isn't so. And as agc pointed out, even files with the third clause were already effectively two clause because of a slight bug in the language...
Revision 1.61 / (download) - annotate - [select for diffs], Sun May 20 19:56:56 2007 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.60: +3 -1
lines
Diff to previous 1.60 (colored)
Introduce puffs_framev_framebuf_ccpromote, which can be used to turn a reference to puffs_framebuf in the file system from a cb/justsend operation to a cc wait, should the file system find itself desiring the result.
Revision 1.60 / (download) - annotate - [select for diffs], Sun May 20 16:24:37 2007 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.59: +4 -4
lines
Diff to previous 1.59 (colored)
Change the signature of puffs_respcmp to return -1,0,1 for smaller, equal, larger, respectively instead of 0/1 for non/equal. This will allow sorting the buffers for faster matching in libpuffs. While here, change the name from respcmp to framecmp, as that better reflects the purpose. NOTE! there is no obvious way to make compilation fail for file systems which may already be using this feature (although I don't think there are any outside our tree, as the feature is two weeks old). Nevertheless, non-updated file systems will fail very quickly.
Revision 1.59 / (download) - annotate - [select for diffs], Fri May 18 13:53:54 2007 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.58: +3 -5
lines
Diff to previous 1.58 (colored)
dispatch PUFFS_VN_POLL
Revision 1.58 / (download) - annotate - [select for diffs], Thu May 17 14:03:13 2007 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.57: +7 -10
lines
Diff to previous 1.57 (colored)
Reflect kernel changes for supplying root node information in mount instead of puffs_start(). Get completely rid of puffs_start(), as everything it used to do is now handled by the mount routine. Introduce an optional pre-mount call puffs_setrootinfo() for setting non-default root node information. As the old puffs_mount() is now virtually useless, say byebye to it and rename the old puffs_domount() to puffs_mount(), but add a root cookie parameter to compensate for the late puffs_start().
Revision 1.57 / (download) - annotate - [select for diffs], Wed May 16 10:04:08 2007 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.56: +3 -3
lines
Diff to previous 1.56 (colored)
Add error parameter to puffs_framev_cb to signal if there is a result of if the function should just do resource cleanup.
Revision 1.56 / (download) - annotate - [select for diffs], Tue May 15 13:44:47 2007 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.55: +36 -26
lines
Diff to previous 1.55 (colored)
Step 3 and currently final step of a more general purpose event loop: support removal and addition of i/o file descriptors on the fly. * detect closed file descriptors * automatically free waiters of a dead file descriptor * give the file server the possibility to specify a callback which notifies of a dead file descriptor * move loop function to be a property of the mainloop instead of framebuf (doesn't change effective behaviour) * add the possibility to configure a timespec parameter which attempts to call the loop function periodically * move the event loop functions from the puffs_framebuf namespace to puffs_framev to differential between pure memory management functions
Revision 1.55 / (download) - annotate - [select for diffs], Fri May 11 21:27:13 2007 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.54: +8 -8
lines
Diff to previous 1.54 (colored)
Step 2 of general-purpose eventloop: get rid of puffs_framebuf_eventloop(). puffs_mainloop() now handles that functionality as well.
Revision 1.54 / (download) - annotate - [select for diffs], Fri May 11 16:22:38 2007 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.53: +10 -6
lines
Diff to previous 1.53 (colored)
Step 1 in moving towards a general-purpose eventloop: allow the framebuf event loop to take n i/o fd's as parameters and also allow dynamic add/remove of fd's. (not tested except for one fd, but more changes coming soon)
Revision 1.53 / (download) - annotate - [select for diffs], Wed May 9 18:36:52 2007 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.52: +3 -4
lines
Diff to previous 1.52 (colored)
Remove the puffs_usermount argument from puffs_req_handle(). It can be found from the other arguments and this way puffs_req_handle() is more symmetric with the other puffs_req() routines.
Revision 1.52 / (download) - annotate - [select for diffs], Mon May 7 17:16:07 2007 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.51: +3 -1
lines
Diff to previous 1.51 (colored)
Add puffs_setback(), which can be used to set setbacks for nodes before the call returns to the kernel. Currently it can be called only from open(), mmap(), remove() and rmdir(). (But that might change)
Revision 1.51 / (download) - annotate - [select for diffs], Sun May 6 10:21:45 2007 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.50: +3 -3
lines
Diff to previous 1.50 (colored)
Remove the user-specified argument for the framebuf loop callback. It can be generated through other means if it is desired.
Revision 1.50 / (download) - annotate - [select for diffs], Sat May 5 15:48:18 2007 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.49: +56 -1
lines
Diff to previous 1.49 (colored)
Add puffs "frame buffers", which are an abstraction of the buffering and event handling mechanisms required in file servers with blocking I/O backends. puffs_framebuf is built on the concept of puffs_cc and uses those to multiplex execution where needed. File systems are required to implement three methods: * read frame * write frame * compare if frame is a response to the given one Memory management is provided by puffs_framebuf, but the file systems must still, of course, interpret the protocol and do e.g. byte order conversion. As always, puffs_framebuf is work in progress. Current users are mount_psshfs and mount_9p.
Revision 1.49 / (download) - annotate - [select for diffs], Tue May 1 15:58:01 2007 UTC (6 years ago) by pooka
Branch: MAIN
Changes since 1.48: +8 -5
lines
Diff to previous 1.48 (colored)
Introduce PUFFS_FLAG_HASHPATH, which for PUFFS_FLAG_BUILDPATH file servers creates a hash of the node's path into po->po_hash to avoid a full pathcmp every time.
Revision 1.48 / (download) - annotate - [select for diffs], Sun Apr 22 18:02:44 2007 UTC (6 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.47: +5 -4
lines
Diff to previous 1.47 (colored)
use more accurate flag masking
Revision 1.47 / (download) - annotate - [select for diffs], Thu Apr 19 14:45:03 2007 UTC (6 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.46: +2 -1
lines
Diff to previous 1.46 (colored)
add puffs_cc_getspecific(pcc), which is shorthand for: puffs_getspecific(puffs_cc_getusermount(pcc))
Revision 1.46 / (download) - annotate - [select for diffs], Tue Apr 17 11:42:14 2007 UTC (6 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.45: +7 -1
lines
Diff to previous 1.45 (colored)
Introduce PUFFS_STORE_DCOOKIE, which stores a directory cookie for a given offset iff the directory read in question wants cookies.
Revision 1.45 / (download) - annotate - [select for diffs], Mon Apr 16 13:04:50 2007 UTC (6 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.44: +2 -2
lines
Diff to previous 1.44 (colored)
alloc to set flags when setting fhsize
Revision 1.44 / (download) - annotate - [select for diffs], Mon Apr 16 08:28:55 2007 UTC (6 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.43: +5 -1
lines
Diff to previous 1.43 (colored)
some routines for setting mount parameters
Revision 1.43 / (download) - annotate - [select for diffs], Fri Apr 13 13:35:46 2007 UTC (6 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.42: +13 -7
lines
Diff to previous 1.42 (colored)
Instead of keeping on adding parameters to puffs_mount(), make it only take the bare essentials, which currently means removing "maxreqlen" from the argument list (all current callers I'm aware of set it as 0 anyway). Introduce puffs_init(), which provides a context for setting various parameters and puffs_domount(), which can be used to mount the file system. Keep puffs_mount() as a shortcut for the above two for simple file systems. Bump development ABI version to 13. After all, it's Friday the 13th. Watch out! Bad things can happen on Friday the 13th. --No carrier--
Revision 1.42 / (download) - annotate - [select for diffs], Thu Apr 12 15:09:01 2007 UTC (6 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.41: +10 -27
lines
Diff to previous 1.41 (colored)
Hide struct puffs_usermount from the rest of the world and provide accessors for interesting data in it. Namely, you can now get pu->pu_privdata with puffs_getspecific(), pu->pu_pn_root with puffs_set/getroot() and pu->pu_maxreqlen with puffs_getmaxreqlen().
Revision 1.41 / (download) - annotate - [select for diffs], Wed Apr 11 21:04:52 2007 UTC (6 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.40: +14 -6
lines
Diff to previous 1.40 (colored)
* support nodetofh and fhtonode callbacks * use new signature of node_readdir
Revision 1.40 / (download) - annotate - [select for diffs], Fri Apr 6 17:49:11 2007 UTC (6 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.39: +4 -1
lines
Diff to previous 1.39 (colored)
support page cache flushing
Revision 1.39 / (download) - annotate - [select for diffs], Fri Apr 6 16:38:03 2007 UTC (6 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.38: +3 -1
lines
Diff to previous 1.38 (colored)
implement puffs_inval_pagecache_node_range()
Revision 1.38 / (download) - annotate - [select for diffs], Thu Mar 22 16:57:27 2007 UTC (6 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.37: +7 -7
lines
Diff to previous 1.37 (colored)
unify the location of *pcr in puffs_access_*
Revision 1.37 / (download) - annotate - [select for diffs], Thu Mar 22 15:32:22 2007 UTC (6 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.36: +2 -4
lines
Diff to previous 1.36 (colored)
* return -1 and set errno instead of returning errno directly * introduce puffs_cred_isregular() which checks if the cred structure has regular uid/gid (i.e. "person" credentials and not kernel creds)
Revision 1.36 / (download) - annotate - [select for diffs], Thu Mar 22 14:22:08 2007 UTC (6 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.35: +6 -6
lines
Diff to previous 1.35 (colored)
remove variable names from header
Revision 1.35 / (download) - annotate - [select for diffs], Wed Mar 21 19:55:55 2007 UTC (6 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.34: +32 -23
lines
Diff to previous 1.34 (colored)
add routiens which check against ufs semantics for permission to chown, chmod and change a/mtime
Revision 1.34 / (download) - annotate - [select for diffs], Tue Mar 20 18:28:08 2007 UTC (6 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.33: +7 -2
lines
Diff to previous 1.33 (colored)
implement counterpart of vaccess()
Revision 1.33 / (download) - annotate - [select for diffs], Tue Mar 20 10:22:23 2007 UTC (6 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.32: +21 -3
lines
Diff to previous 1.32 (colored)
initial support for cacheops
Revision 1.32 / (download) - annotate - [select for diffs], Fri Mar 16 08:14:49 2007 UTC (6 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.31: +2 -1
lines
Diff to previous 1.31 (colored)
va->va_mode doesn't contain the full argument to the mknod() system call, so introduce puffs_addvtype2mode() and use that in null.c to generate the proper syscall argument
Revision 1.31 / (download) - annotate - [select for diffs], Thu Feb 15 17:04:46 2007 UTC (6 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.30: +9 -12
lines
Diff to previous 1.30 (colored)
Introduce puffs_path_walkcmp(), which is to be called from nodewalk and compares the path of the node against the given pathobject. Also make comparison method take a flag to indicate if it should check if the second path is a true prefix of the first. plus some namespace cleanup
Revision 1.30 / (download) - annotate - [select for diffs], Thu Feb 15 12:51:45 2007 UTC (6 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.29: +22 -14
lines
Diff to previous 1.29 (colored)
* get rid of the holy kernel-given ISDOTDOT, and instead define a macro which does strcmp against ".." and (the untranslated) componentname * make PUFFS_FLAG_BUILDPATH build paths also if dotdot is the case, and adapt the regular path objects to this * make nullfs lookup readable because we can now get rid of dotdot processing there
Revision 1.29 / (download) - annotate - [select for diffs], Fri Jan 26 23:00:33 2007 UTC (6 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.28: +10 -2
lines
Diff to previous 1.28 (colored)
add interfaces for suspending the file system
Revision 1.28 / (download) - annotate - [select for diffs], Sat Jan 20 14:37:06 2007 UTC (6 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.27: +4 -4
lines
Diff to previous 1.27 (colored)
Be consistent with the rest of the framework about the argument order of puffs_docc and puffs_dopreq
Revision 1.27 / (download) - annotate - [select for diffs], Sat Jan 20 13:52:14 2007 UTC (6 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.26: +20 -19
lines
Diff to previous 1.26 (colored)
be consistent in naming request handlers
Revision 1.26 / (download) - annotate - [select for diffs], Tue Jan 16 22:37:17 2007 UTC (6 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.25: +2 -4
lines
Diff to previous 1.25 (colored)
revoke revoke
Revision 1.25 / (download) - annotate - [select for diffs], Mon Jan 15 00:39:02 2007 UTC (6 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.24: +85 -22
lines
Diff to previous 1.24 (colored)
Checkpoint some more work in progress: for the benefit those file system backends which operate purely based on paths, push out more path management into the library and make path management more abstract: enable a file system to define a bunch of path management callbacks, which are used by the framework. Management of normal /this/is/a/path type paths is provided by the library.
Revision 1.24 / (download) - annotate - [select for diffs], Thu Jan 11 17:48:21 2007 UTC (6 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.23: +4 -1
lines
Diff to previous 1.23 (colored)
implement fsync
Revision 1.23 / (download) - annotate - [select for diffs], Thu Jan 11 01:01:55 2007 UTC (6 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.22: +18 -8
lines
Diff to previous 1.22 (colored)
Add preliminary code for a nullfs layer, which can be used to mount a directory hierarchy to another point, just like with the kernel nullfs. This is not really a layering scheme yet, but it should evolve into one. Currently it can just be used to do 1:1 mapping.
Revision 1.22 / (download) - annotate - [select for diffs], Wed Jan 10 20:11:04 2007 UTC (6 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.21: +2 -2
lines
Diff to previous 1.21 (colored)
Be less shy about the default stack size, it's a only virtual memory space. TODO: put a guard page at the end
Revision 1.21 / (download) - annotate - [select for diffs], Tue Jan 9 18:19:01 2007 UTC (6 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.20: +3 -3
lines
Diff to previous 1.20 (colored)
rename name cache invalidation interface to be in sync with the kernel operation names, i.e. contain "namecache" instead of just "name"
Revision 1.20 / (download) - annotate - [select for diffs], Tue Jan 9 18:15:08 2007 UTC (6 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.19: +9 -2
lines
Diff to previous 1.19 (colored)
lib interface for invalidation routines
Revision 1.19 / (download) - annotate - [select for diffs], Sat Jan 6 18:22:09 2007 UTC (6 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.18: +31 -20
lines
Diff to previous 1.18 (colored)
* get rid of the mount callback; it's no great surprise to the server that it needs to mount the file system backend if it wants to call mount * provide some options for getmntopts(), assume that callers will parse command line (or fstab) args * reorganize the puffs_cc interface just a bit, preparing for a bigger revamp later
Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 2 15:53:05 2007 UTC (6 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.17: +5 -2
lines
Diff to previous 1.17 (colored)
* inform kernel of our version * homegrown lib ABI check (to avoid bumping major a ludicrillion times before reaching stability)
Revision 1.17 / (download) - annotate - [select for diffs], Fri Dec 29 15:28:11 2006 UTC (6 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.16: +199 -129
lines
Diff to previous 1.16 (colored)
checkpoint some experimental work-in-progress, namely: Add support for having multiple outstanding operations. This is done by exposing enough interfaces so that it is convenient to have the main event loop in the implementation itself and by providing a continuation framework for convinient blocking and rescheduling. works fine, but will undergo further cleanup & development
Revision 1.16 / (download) - annotate - [select for diffs], Thu Dec 7 23:15:20 2006 UTC (6 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.15: +20 -1
lines
Diff to previous 1.15 (colored)
outline & export code for interfacing with kernel GET/PUT requests
Revision 1.15 / (download) - annotate - [select for diffs], Thu Dec 7 16:59:14 2006 UTC (6 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.14: +3 -3
lines
Diff to previous 1.14 (colored)
support mmap
Revision 1.14 / (download) - annotate - [select for diffs], Thu Dec 7 10:53:21 2006 UTC (6 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.13: +96 -94
lines
Diff to previous 1.13 (colored)
rototill the operation callbacks: unify the ops under struct puffs_ops and namespace them
Revision 1.13 / (download) - annotate - [select for diffs], Fri Dec 1 12:50:06 2006 UTC (6 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4
Changes since 1.12: +4 -4
lines
Diff to previous 1.12 (colored)
PUFFSFLAG -> PUFFS_FLAG to be consistent with the kernel
Revision 1.12 / (download) - annotate - [select for diffs], Thu Nov 30 05:37:48 2006 UTC (6 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.11: +10 -4
lines
Diff to previous 1.11 (colored)
summon daemon(3) in mainloop unless the nodaemon flag is given
Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 23 16:44:28 2006 UTC (6 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
const coherence
Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 21 23:11:09 2006 UTC (6 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.9: +2 -1
lines
Diff to previous 1.9 (colored)
mode_t to enum vtype conversion
Revision 1.9 / (download) - annotate - [select for diffs], Sat Nov 18 12:40:35 2006 UTC (6 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.8: +1 -3
lines
Diff to previous 1.8 (colored)
* call statvfs() at mount() time, pass that info along * start is gone
Revision 1.8 / (download) - annotate - [select for diffs], Fri Nov 17 17:48:32 2006 UTC (6 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.7: +3 -2
lines
Diff to previous 1.7 (colored)
shuffle flags a bit
Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 14 11:45:03 2006 UTC (6 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.6: +5 -6
lines
Diff to previous 1.6 (colored)
namespace previous change under puffs_vfsnop to avoid confusions
Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 14 11:23:44 2006 UTC (6 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.5: +7 -1
lines
Diff to previous 1.5 (colored)
implement unmount, sync and statvfs as dummies for file system which couldn't care less about implementing them
Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 9 13:11:01 2006 UTC (6 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.4: +9 -13
lines
Diff to previous 1.4 (colored)
* catch up with kernel changes * better error handling when mounting
Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 7 22:10:53 2006 UTC (6 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.3: +3 -3
lines
Diff to previous 1.3 (colored)
* support FAF (Fire-And-Forget) class operations * adapt to new lookup
Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 26 22:53:01 2006 UTC (6 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.2: +6 -4
lines
Diff to previous 1.2 (colored)
pass rdev for specfs support
Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 25 18:15:50 2006 UTC (6 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.1: +5 -1
lines
Diff to previous 1.1 (colored)
handle PUFFS_VN_INACTIVE
Revision 1.1 / (download) - annotate - [select for diffs], Sun Oct 22 22:52:21 2006 UTC (6 years, 7 months ago) by pooka
Branch: MAIN
add libpuffs - the userspace programming interface for puffs This work was initially started and completed for Google SoC 2005 and tweaked to work a bit better in the past few weeks. While being far from complete, it is functional enough to be able and stable to host a fairly general-purpose in-memory file system in userspace. Even so, puffs should be considered experimental and no binary compatibility for interfaces or crash-freedom or zero security implications should be relied upon just yet. The GSoC project was mentored by William Studenmund and the final review for the code was done by Christos.