The NetBSD Project

CVS log for src/lib/libpuffs/puffs_ops.3

[BACK] Up to [cvs.netbsd.org] / src / lib / libpuffs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.29.2.1 / (download) - annotate - [select for diffs], Wed May 23 10:07:33 2012 UTC (2 days, 20 hours ago) by yamt
Branch: yamt-pagecache
Changes since 1.29: +87 -7 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with head.

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Mon Apr 23 16:48:57 2012 UTC (4 weeks, 4 days ago) by riz
Branch: netbsd-6
Changes since 1.29: +79 -1 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Pull up following revision(s) (requested by manu in ticket #195):
	lib/libskey/skeysubr.c: revision 1.27
	lib/libkvm/kvm_getloadavg.c: revision 1.11
	lib/libwrap/update.c: revision 1.9
	lib/liby/yyerror.c: revision 1.9
	lib/libpuffs/puffs_ops.3: revision 1.30
	lib/libwrap/misc.c: revision 1.10
	lib/libwrap/hosts_access.c: revision 1.20
	lib/libpuffs/pnode.c: revision 1.11
	lib/libperfuse/subr.c: revision 1.17
	lib/libpuffs/pnode.c: revision 1.12
	lib/libperfuse/subr.c: revision 1.18
	lib/libwrap/options.c: revision 1.15
	lib/libwrap/fix_options.c: revision 1.11
	lib/libperfuse/ops.c: revision 1.52
	lib/libperfuse/ops.c: revision 1.53
	lib/libperfuse/ops.c: revision 1.54
	lib/libwrap/hosts_ctl.c: revision 1.5
	lib/libintl/gettext.c: revision 1.27
	lib/libwrap/shell_cmd.c: revision 1.6
	lib/libpuffs/dispatcher.c: revision 1.39
	lib/libperfuse/perfuse_priv.h: revision 1.27
	lib/libwrap/socket.c: revision 1.19
	lib/libpuffs/puffs.3: revision 1.50
	lib/libperfuse/perfuse_priv.h: revision 1.28
	lib/libpuffs/puffs_priv.h: revision 1.45
	lib/libpuffs/puffs.3: revision 1.51
	lib/libperfuse/perfuse_priv.h: revision 1.29
	lib/libwrap/percent_x.c: revision 1.5
	lib/libpuffs/puffs.3: revision 1.52
	lib/libperfuse/debug.c: revision 1.11
	sys/fs/puffs/puffs_vnops.c: revision 1.165
	lib/libwrap/tcpd.h: revision 1.13
	sys/fs/puffs/puffs_vnops.c: revision 1.166
	lib/libwrap/eval.c: revision 1.7
	sys/fs/puffs/puffs_msgif.h: revision 1.78
	sys/fs/puffs/puffs_vfsops.c: revision 1.101
	lib/libwrap/rfc931.c: revision 1.9
	lib/libwrap/clean_exit.c: revision 1.5
	lib/libpuffs/puffs.h: revision 1.120
	lib/libc/stdlib/jemalloc.c: revision 1.27
	lib/librmt/rmtlib.c: revision 1.26
	lib/libpuffs/puffs.h: revision 1.121
	sys/fs/puffs/puffs_sys.h: revision 1.79
	lib/librumpclient/rumpclient.c: revision 1.48
	lib/libwrap/refuse.c: revision 1.5
	lib/libperfuse/perfuse.c: revision 1.26
	lib/libperfuse/perfuse.c: revision 1.27
	tests/fs/puffs/t_fuzz.c: revision 1.5
	lib/libperfuse/perfuse.c: revision 1.28
	lib/libpuffs/dispatcher.c: revision 1.40
	sys/fs/puffs/puffs_node.c: revision 1.24
	lib/libwrap/diag.c: revision 1.9
	lib/libintl/textdomain.c: revision 1.13
Use C89 function definition
Add name and atttribute cache with filesytem 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.
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)
Use new PUFFS_KFLAG_CACHE_FS_TTL option to puffs_init(3) so that
FUSE TTL on name and attributes are used. This save many PUFFS
operations and improves performances.
PUFFS_KFLAG_CACHE_FS_TTL is #ifdef'ed in many places for now so that
libperfuse can still be used on netbsd-5.
Split file system.
Comma fixes.
Remove dangling "and".
Bump date for previous.
- Makesure update_va does not change vnode size when it should not. For
instance when doing a fault-issued VOP_GETPAGES within VOP_WRITE, changing
size leads to panic: genfs_getpages: past eof.
-Handle ticks wrap around for vnode name andattribute timeout
- 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()
Do not set PUFFS_KFLAG_CACHE_FS_TTL for PUFFS tests

Revision 1.31 / (download) - annotate - [select for diffs], Wed Apr 18 14:24:26 2012 UTC (5 weeks, 2 days ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base5, HEAD
Changes since 1.30: +19 -17 lines
Diff to previous 1.30 (colored)

Bump date for previous.
New sentence, new line; remove trailing whitespace; fix typos;
punctuation nits.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Apr 18 00:57:22 2012 UTC (5 weeks, 3 days ago) by manu
Branch: MAIN
Changes since 1.29: +79 -1 lines
Diff to previous 1.29 (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.29 / (download) - annotate - [select for diffs], Mon Jul 4 08:07:30 2011 UTC (10 months, 3 weeks ago) by manu
Branch: MAIN
CVS Tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (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.28 / (download) - annotate - [select for diffs], Tue Apr 19 10:35:24 2011 UTC (13 months, 1 week ago) by manu
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.27: +9 -9 lines
Diff to previous 1.27 (colored)

In node_lookup() ops, pcn->pcn_nameiop contains a NAMEI_* constant, not
PUFFSLOOKUP_*

Revision 1.27 / (download) - annotate - [select for diffs], Mon Dec 13 09:06:51 2010 UTC (17 months, 1 week ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.26: +12 -2 lines
Diff to previous 1.26 (colored)

document abortop.  part of PR kern/44208

Revision 1.26 / (download) - annotate - [select for diffs], Fri May 21 11:20:50 2010 UTC (2 years ago) by pooka
Branch: MAIN
Changes since 1.25: +30 -8 lines
Diff to previous 1.25 (colored)

mention extended attribute ops

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:35 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.22: +4 -13 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Sun Apr 12 02:24:16 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: 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-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, 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
Changes since 1.21.4.1: +2 -2 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Pull up following revision(s) (requested by joerg in ticket #691):
	lib/libpuffs/puffs_ops.3: revision 1.24
Fix markup.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Apr 11 16:48:53 2009 UTC (3 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

New sentence, new line.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Apr 11 15:37:12 2009 UTC (3 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Fix markup.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Tue Feb 24 03:45:56 2009 UTC (3 years, 3 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC3
Changes since 1.21: +1 -10 lines
Diff to previous 1.21 (colored)

Pull up following revision(s) (requested by pooka in ticket #484):
	lib/libpuffs/puffs.3: revision 1.46
	lib/libpuffs/puffs_cc.3: revision 1.13
	lib/libpuffs/puffs_cred.3: revision 1.4
	lib/libpuffs/puffs_flush.3: revision 1.8
	lib/libpuffs/puffs_framebuf.3: revision 1.26
	lib/libpuffs/puffs_node.3: revision 1.4
	lib/libpuffs/puffs_ops.3: revision 1.23
	lib/libpuffs/puffs_path.3: revision 1.4
	lib/libpuffs/puffs_suspend.3: revision 1.3
Remove the paragraph saying interfaces will change without warning.
Note that a stable version of puffs first appeared in NetBSD 5.0.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Feb 20 14:26:56 2009 UTC (3 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.22: +1 -10 lines
Diff to previous 1.22 (colored)

Remove the paragraph saying interfaces will change without warning.
Note that a stable version of puffs first appeared in NetBSD 5.0.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Nov 25 11:49:08 2008 UTC (3 years, 6 months ago) by pooka
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

i'm almost certain that puffs_cooie_t is supposed to be puffs_cookie_t

Revision 1.20.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.20: +42 -37 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.21 / (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-0-RC2, netbsd-5-0-RC1, matt-mips64-base2
Branch point for: netbsd-5
Changes since 1.20: +42 -37 lines
Diff to previous 1.20 (colored)

Replace void * by puffs_cookie_t where appropriate.  No functional change.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:36:51 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.15: +78 -85 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Sun Dec 16 19:10:58 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.19: +6 -5 lines
Diff to previous 1.19 (colored)

Clarify that link_target in node_symlink is null-terminated.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Dec 2 19:43:10 2007 UTC (4 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: cube-autoconf-base, cube-autoconf
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Add comma in enumeration.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Dec 1 19:18:50 2007 UTC (4 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Fix a typo that has migrated across files.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Nov 30 19:02:29 2007 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.16: +65 -65 lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Tue Nov 27 11:31:19 2007 UTC (4 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.15: +26 -34 lines
Diff to previous 1.15 (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.15.4.2 / (download) - annotate - [select for diffs], Tue Jul 31 21:48:19 2007 UTC (4 years, 9 months ago) by pooka
Branch: matt-mips64
Changes since 1.15.4.1: +774 -0 lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Per rumble's lead in vnodeops, clarify the bit about readdir cookies.

Revision 1.15.4.1, Tue Jul 31 21:48:18 2007 UTC (4 years, 9 months ago) by pooka
Branch: matt-mips64
Changes since 1.15: +0 -774 lines
FILE REMOVED

file puffs_ops.3 was added on branch matt-mips64 on 2007-07-31 21:48:19 +0000

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jul 31 21:48:18 2007 UTC (4 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-base, matt-armv6-prevmlocking
Branch point for: matt-mips64, matt-armv6
Changes since 1.14: +7 -3 lines
Diff to previous 1.14 (colored)

Per rumble's lead in vnodeops, clarify the bit about readdir cookies.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jul 25 09:10:26 2007 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: hpcarm-cleanup
Changes since 1.13: +11 -11 lines
Diff to previous 1.13 (colored)

* add missing credential handle to fsync args
* and now with more cosmetic attack

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jul 25 08:31:19 2007 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.12: +20 -20 lines
Diff to previous 1.12 (colored)

pure cosmetics: minor facelift

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 20 10:01:24 2007 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.11: +11 -2 lines
Diff to previous 1.11 (colored)

note caveat with puffs_node_poll

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 19 19:25:09 2007 UTC (4 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.10: +12 -12 lines
Diff to previous 1.10 (colored)

Use HTML escapes. Drop trailing whitespace. Punctuation nits.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 19 08:32:06 2007 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.9: +14 -2 lines
Diff to previous 1.9 (colored)

wizd reminded me that if I provide the synopsis for puffs_node_seek(),
I would do well to also describe what it does.  so make it so.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 18 21:41:06 2007 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored)

uncomment puffs_node_seek - it's supported and in use

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 18 21:24:40 2007 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.7: +19 -16 lines
Diff to previous 1.7 (colored)

puffs_cid* is always const

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jul 5 22:37:52 2007 UTC (4 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.6: +111 -55 lines
Diff to previous 1.6 (colored)

apply ketchup to recent source changes in libpuffs

Revision 1.6 / (download) - annotate - [select for diffs], Fri May 18 14:38:15 2007 UTC (5 years ago) by pooka
Branch: MAIN
Changes since 1.5: +26 -6 lines
Diff to previous 1.5 (colored)

document puffs_node_poll

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 9 13:46:16 2007 UTC (5 years ago) by pooka
Branch: MAIN
Changes since 1.4: +21 -2 lines
Diff to previous 1.4 (colored)

document puffs_setback()

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 18 20:37:05 2007 UTC (5 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

fix readdir prototype

Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 17 13:11:05 2007 UTC (5 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.2: +98 -7 lines
Diff to previous 1.2 (colored)

* describe fhtonode, nodetofh and suspend
* update description of readdir to match reality

Revision 1.2 / (download) - annotate - [select for diffs], Tue Apr 17 10:14:27 2007 UTC (5 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.1: +228 -123 lines
Diff to previous 1.1 (colored)

improve markup and descriptions

Revision 1.1 / (download) - annotate - [select for diffs], Mon Apr 16 19:16:02 2007 UTC (5 years, 1 month ago) by pooka
Branch: MAIN

Move file system and node callbacks into their own manual page.
Improve markup and descriptions a bit (not completely finished yet).

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>