Up to [cvs.netbsd.org] / src / lib / libpuffs
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:22 2011 UTC (14 months, 3 weeks ago) by bouyer
Branch: bouyer-quota2
Changes since 1.25: +18 -3
lines
Diff to previous 1.25 (colored) next main 1.26 (colored)
Sync with HEAD
Revision 1.27 / (download) - annotate - [select for diffs], Thu Feb 17 17:55:36 2011 UTC (15 months, 1 week ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
netbsd-6-base,
netbsd-6,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
HEAD
Changes since 1.26: +17 -2
lines
Diff to previous 1.26 (colored)
Support rest of file types in vtype -> s_ifmt
Revision 1.26 / (download) - annotate - [select for diffs], Thu Feb 17 15:41:34 2011 UTC (15 months, 1 week ago) by pooka
Branch: MAIN
Changes since 1.25: +3 -3
lines
Diff to previous 1.25 (colored)
st_blocks is in units of DEV_BSIZE, not st_blksize. from Derrik Pates
Revision 1.25 / (download) - annotate - [select for diffs], Thu Jul 15 21:53:10 2010 UTC (22 months, 1 week ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.24: +5 -3
lines
Diff to previous 1.24 (colored)
Default f_namemax to MAXNAMLEN, mostly for initial statvfs struct passed to kernel in mount. XXX: there's currently no way for a file server to override the one passed in mount.
Revision 1.24 / (download) - annotate - [select for diffs], Sun Dec 28 22:45:05 2008 UTC (3 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend
Changes since 1.23: +4 -4
lines
Diff to previous 1.23 (colored)
fix for dev_t 64 bits.
Revision 1.22.6.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:24 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.22: +4 -4
lines
Diff to previous 1.22 (colored) next main 1.23 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.23 / (download) - annotate - [select for diffs], Tue Aug 12 19:44:39 2008 UTC (3 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
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,
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
Changes since 1.22: +4 -4
lines
Diff to previous 1.22 (colored)
Replace void * by puffs_cookie_t where appropriate. No functional change.
Revision 1.18.4.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:36:53 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.18.4.1: +19 -12
lines
Diff to previous 1.18.4.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)
sync with HEAD
Revision 1.22 / (download) - annotate - [select for diffs], Wed Dec 19 14:01:16 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-1,
wrstuden-revivesa-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base
Branch point for: wrstuden-revivesa
Changes since 1.21: +13 -2
lines
Diff to previous 1.21 (colored)
Add generic getattr routine.
Revision 1.21 / (download) - annotate - [select for diffs], Fri Nov 30 19:02:29 2007 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: cube-autoconf-base,
cube-autoconf
Changes since 1.20: +6 -7
lines
Diff to previous 1.20 (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.20 / (download) - annotate - [select for diffs], Tue Nov 27 11:31:20 2007 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.19: +7 -10
lines
Diff to previous 1.19 (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.18.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:11:55 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored)
sync with HEAD
Revision 1.19 / (download) - annotate - [select for diffs], Sun Oct 21 14:26:15 2007 UTC (4 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored)
typo in comment
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 1 17:22:19 2007 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.17: +8 -6
lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Wed Jun 6 01:55:01 2007 UTC (4 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.16: +2 -5
lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Tue Mar 20 18:28:08 2007 UTC (5 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.15: +3 -2
lines
Diff to previous 1.15 (colored)
implement counterpart of vaccess()
Revision 1.15 / (download) - annotate - [select for diffs], Fri Mar 16 08:14:49 2007 UTC (5 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.14: +20 -2
lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Thu Feb 15 12:51:24 2007 UTC (5 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.13: +18 -2
lines
Diff to previous 1.13 (colored)
generic node reclaim, which just puts a puffs_node
Revision 1.13 / (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.12: +27 -2
lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Sat Jan 6 18:22:09 2007 UTC (5 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.11: +13 -2
lines
Diff to previous 1.11 (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.11 / (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.10: +43 -45
lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Thu Dec 7 10:53:21 2006 UTC (5 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.9: +5 -5
lines
Diff to previous 1.9 (colored)
rototill the operation callbacks: unify the ops under struct puffs_ops and namespace them
Revision 1.9 / (download) - annotate - [select for diffs], Tue Nov 21 23:11:09 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.8: +26 -2
lines
Diff to previous 1.8 (colored)
mode_t to enum vtype conversion
Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 14 11:45:03 2006 UTC (5 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.7: +5 -5
lines
Diff to previous 1.7 (colored)
namespace previous change under puffs_vfsnop to avoid confusions
Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 14 11:23:44 2006 UTC (5 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.6: +33 -2
lines
Diff to previous 1.6 (colored)
implement unmount, sync and statvfs as dummies for file system which couldn't care less about implementing them
Revision 1.6 / (download) - annotate - [select for diffs], Mon Oct 23 03:18:30 2006 UTC (5 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.5: +4 -4
lines
Diff to previous 1.5 (colored)
use casts to properly truncate some assignments. (sparc64 gcc complained.)
Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 23 03:13:13 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.4: +3 -3
lines
Diff to previous 1.4 (colored)
put back the comparison in a lint friendly way to appease pooka.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 23 03:11:53 2006 UTC (5 years, 7 months ago) by dogcow
Branch: MAIN
Changes since 1.3: +3 -3
lines
Diff to previous 1.3 (colored)
comment out comparison of unsigned expression to >= 0
Revision 1.3 / (download) - annotate - [select for diffs], Mon Oct 23 01:36:13 2006 UTC (5 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.2: +5 -5
lines
Diff to previous 1.2 (colored)
still check for array bounds, fix off-by-one
Revision 1.2 / (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.1: +24 -24
lines
Diff to previous 1.1 (colored)
pass lint; fix install.
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.