Up to [cvs.netbsd.org] / src / lib / libpuffs
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.24.6.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:31 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.24: +3 -3
lines
Diff to previous 1.24 (colored) next main 1.25 (colored)
sync with head
Revision 1.25 / (download) - annotate - [select for diffs], Wed Mar 21 05:37:43 2012 UTC (2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
HEAD
Changes since 1.24: +3 -3
lines
Diff to previous 1.24 (colored)
These directories default to WARNS?=5
Revision 1.24 / (download) - annotate - [select for diffs], Mon Dec 6 14:50:34 2010 UTC (17 months, 2 weeks ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.23: +1 -6
lines
Diff to previous 1.23 (colored)
Remove PUFFS_WITH_THREADS ifdef garbage, just use libc weak symbols.
Revision 1.23 / (download) - annotate - [select for diffs], Sat Dec 5 12:13:08 2009 UTC (2 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.22: +2 -3
lines
Diff to previous 1.22 (colored)
Remove suspension support from here too.
Revision 1.20.4.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:36:43 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.20.4.1: +2 -2
lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)
sync with HEAD
Revision 1.22 / (download) - annotate - [select for diffs], Tue Dec 4 21:24:10 2007 UTC (4 years, 5 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-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
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,
netbsd-5,
mjf-devfs2-base,
mjf-devfs2,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-base,
keiichi-mipv6,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf
Changes since 1.21: +2 -2
lines
Diff to previous 1.21 (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.20.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:11:50 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.20: +7 -1
lines
Diff to previous 1.20 (colored)
sync with HEAD
Revision 1.21 / (download) - annotate - [select for diffs], Fri Oct 26 17:35:01 2007 UTC (4 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.20: +7 -1
lines
Diff to previous 1.20 (colored)
Add some very initial support for a threading worker model as an alternative to the (vastly superior ;) continuation model. This is very preliminary stuff and not compiled by default (which it even won't do without some other patches I cannot commit yet). The raison d'commit of the patch is a snippet which ensures proper in-order dispatching of all operations, including those which don't require a response. Previously many of them would be dispatched simultaneosly, e.g. fsync and reclaim on the same node, which obviously isn't all that nice for correct operation.
Revision 1.20.6.2 / (download) - annotate - [select for diffs], Wed Jul 18 22:38:59 2007 UTC (4 years, 10 months ago) by pooka
Branch: matt-mips64
Changes since 1.20.6.1: +21 -0
lines
Diff to previous 1.20.6.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)
get rid of DBG=
Revision 1.20.6.1, Wed Jul 18 22:38:58 2007 UTC (4 years, 10 months ago) by pooka
Branch: matt-mips64
Changes since 1.20: +0 -21
lines
FILE REMOVED
file Makefile was added on branch matt-mips64 on 2007-07-18 22:38:59 +0000
Revision 1.20 / (download) - annotate - [select for diffs], Wed Jul 18 22:38:58 2007 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-base,
hpcarm-cleanup
Branch point for: matt-mips64,
matt-armv6
Changes since 1.19: +1 -2
lines
Diff to previous 1.19 (colored)
get rid of DBG=
Revision 1.19 / (download) - annotate - [select for diffs], Mon May 28 12:06:20 2007 UTC (4 years, 11 months ago) by tls
Branch: MAIN
Changes since 1.18: +3 -1
lines
Diff to previous 1.18 (colored)
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to various string and memory copy and set functions (as well as a few system calls and other miscellany) where known at function entry. RedHat has evidently built all "core system packages" with this option for some time. This option should be used at the top of Makefiles (or Makefile.inc where this is used for subdirectories) but after any setting of LIB. This is only useful for userland code, and cannot be used in libc or in any code which includes the libc internals, because it overrides certain libc functions with macros. Some effort has been made to make USE_FORT=yes work correctly for a full-system build by having the bsd.sys.mk logic disable the feature where it should not be used (libc, libssp iteself, the kernel) but no attempt has been made to build the entire system with USE_FORT and doing so will doubtless expose numerous bugs and misfeatures. Adjust the system build so that all programs and libraries that are setuid, directly handle network data (including serial comm data), perform authentication, or appear likely to have (or have a history of having) data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default, with the exception of libc, which cannot use USE_FORT and thus uses only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no per-directory or in a system build will disable if desired.
Revision 1.18 / (download) - annotate - [select for diffs], Fri May 11 21:42:42 2007 UTC (5 years ago) by pooka
Branch: MAIN
Changes since 1.17: +4 -3
lines
Diff to previous 1.17 (colored)
move puffs request dispatching code into it's own module. no functional change
Revision 1.17 / (download) - annotate - [select for diffs], Sat May 5 16:09:16 2007 UTC (5 years ago) by pooka
Branch: MAIN
Changes since 1.16: +3 -3
lines
Diff to previous 1.16 (colored)
add stubby version of puffs_framebuf manual page. proper one forthcoming to an internet near you Real Soon Now(tm)
Revision 1.16 / (download) - annotate - [select for diffs], Sat May 5 15:48:18 2007 UTC (5 years ago) by pooka
Branch: MAIN
Changes since 1.15: +3 -3
lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Mon Apr 16 19:16:02 2007 UTC (5 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.14: +3 -2
lines
Diff to previous 1.14 (colored)
Move file system and node callbacks into their own manual page. Improve markup and descriptions a bit (not completely finished yet).
Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 22 17:38:09 2007 UTC (5 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.13: +3 -3
lines
Diff to previous 1.13 (colored)
document credentials & access control methods
Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 26 23:55:27 2007 UTC (5 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.12: +2 -2
lines
Diff to previous 1.12 (colored)
document puffs_fs_suspend()
Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 26 23:00:33 2007 UTC (5 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.11: +2 -2
lines
Diff to previous 1.11 (colored)
add interfaces for suspending the file system
Revision 1.11 / (download) - annotate - [select for diffs], Sat Jan 20 15:09:34 2007 UTC (5 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.10: +3 -2
lines
Diff to previous 1.10 (colored)
document request handling routines
Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 19 21:10:55 2007 UTC (5 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored)
Bring the documentation slightly more into sync with the current reality. It's still really a far cry from proper documentation, though.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Jan 15 00:39:02 2007 UTC (5 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Thu Jan 11 01:01:55 2007 UTC (5 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.7: +3 -3
lines
Diff to previous 1.7 (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.7 / (download) - annotate - [select for diffs], Tue Jan 9 18:15:08 2007 UTC (5 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.6: +3 -2
lines
Diff to previous 1.6 (colored)
lib interface for invalidation routines
Revision 1.6 / (download) - annotate - [select for diffs], Fri Dec 29 15:28:11 2006 UTC (5 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.5: +3 -2
lines
Diff to previous 1.5 (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.5 / (download) - annotate - [select for diffs], Thu Dec 7 23:15:20 2006 UTC (5 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.4: +2 -2
lines
Diff to previous 1.4 (colored)
outline & export code for interfacing with kernel GET/PUT requests
Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 9 01:30:15 2006 UTC (5 years, 6 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.3: +2 -1
lines
Diff to previous 1.3 (colored)
initial documentation for the puffs library interface
Revision 1.3 / (download) - annotate - [select for diffs], Mon Oct 23 00:22:24 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.2: +3 -1
lines
Diff to previous 1.2 (colored)
pass lint; fix install.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 22 23:51:37 2006 UTC (5 years, 7 months ago) by dogcow
Branch: MAIN
Changes since 1.1: +3 -3
lines
Diff to previous 1.1 (colored)
add the .include <bsd.own.mk>, so .d and .o files don't end up in the CWD. remove INCDIR=/usr/include, as my leenooks system doesn't have puffs .h files.
Revision 1.1 / (download) - annotate - [select for diffs], Sun Oct 22 22:52:21 2006 UTC (5 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.