CVS log for src/lib/libpuffs/puffs.3
Up to [cvs.NetBSD.org] / src / lib / libpuffs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Jan 22 07:35:26 2022 UTC (2 years, 9 months ago) by pho
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
HEAD
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +5 -3
lines
Allow calling puffs_mount(3) before puffs_daemon(3)
puffs_daemon(3) creates a pipe before forking, and the parent process
waits for the child to either complete puffs_mount(3) or fail. If a
user calls puffs_daemon(3) after puffs_mount(3), the function
deadlocks. While this error-reporting functionality is really a nice
thing to have, deadlocking is not great. If the filesystem has already
been mounted, puffs_mount(3) should just daemonize the process and
return.
This became an issue because fuse_daemonize(3) in FUSE API had no such
requirement and some FUSE filesystems in the wild suffered deadlocks.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Dec 3 17:12:17 2021 UTC (2 years, 11 months ago) by pho
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2
lines
Use size_t in place of voff_t in puffs_setrootinfo(3)
Chuck Silvers pointed out that voff_t was also supposed to be
kernel-only. The correct type to use in userland would be off_t, but
since changing vsize_t to either voff_t or off_t is an ABI change on
32-bit platforms, we use size_t knowing that it is technically
incorrect.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Dec 3 14:00:59 2021 UTC (2 years, 11 months ago) by pho
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2
lines
Avoid using register_t or vsize_t in <puffs.h>
<puffs.h> is a user-space header, and should not use any of
kernel-only types. It's not reasonable to require user-land
filesystems to #define _KERNTYPES.
Revision 1.63.6.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:16 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +2 -2
lines
Merge changes from current as of 20200406
Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Dec 27 10:13:59 2019 UTC (4 years, 10 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -2
lines
s/conjuction/conjunction/
Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Jul 3 21:32:51 2017 UTC (7 years, 4 months ago) by wiz
Branches: MAIN
CVS tags: phil-wifi-base,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9
Branch point for: phil-wifi
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -2
lines
Remove workaround for ancient HTML generation code.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Apr 11 00:47:19 2016 UTC (8 years, 6 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3
lines
there is no pflags, just flags.
Revision 1.49.2.4: download - view: text, markup, annotated - select for diffs
Fri Feb 27 20:21:02 2015 UTC (9 years, 8 months ago) by martin
Branches: netbsd-6
Diff to: previous 1.49.2.3: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.2.3: +9 -4
lines
Pull up following revision(s) (requested by manu in ticket #1260):
lib/libpuffs/puffs.3: revision 1,55,1.60
sys/fs/puffs/puffs_msgif.h: revision 1.84
lib/libperfuse/ops.c: revision 1.83
sys/fs/puffs/puffs_sys.h: revision 1.89
sys/fs/puffs/puffs_vfsops.c: revision 1.116
lib/libperfuse/perfuse.c: revision 1.36
sys/fs/puffs/puffs_vnops.c: revision 1.200-1.202
Use more markup. New sentence, new line. Bump date for previous.
Add PUFFS_KFLAG_NOFLUSH_META to prevent sending metadata flush to FUSE
FUSE filesystems do not expect to get metadata updates for [amc]time
and size, they updates the value on their own after operations.
The PUFFS PUFFS_KFLAG_NOFLUSH_META option prevents regular metadata cache
flushes to the filesystem , and libperfuse uses it to match Linux FUSE
behavior.
While there, fix a bug in SETATTR: do not update kernel metadata cache
from SETATTR reply when the request is asynchronous, as we do not have
the reply yet.
Update file size after write without metadata flush
If we do not use metadata flush, we must make sure the size is updated
in the filesystem after a write, otherwise the next GETATTR will get us
a stale value and the file will be truncated.
Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Fri Feb 27 19:39:56 2015 UTC (9 years, 8 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +4 -1
lines
Pull up following revision(s) (requested by manu in ticket #555):
lib/libpuffs/puffs.3: revision 1.60
sys/fs/puffs/puffs_msgif.h: revision 1.84
lib/libperfuse/ops.c: revision 1.83
sys/fs/puffs/puffs_sys.h: revision 1.89
sys/fs/puffs/puffs_vfsops.c: revision 1.116
lib/libperfuse/perfuse.c: revision 1.36
sys/fs/puffs/puffs_vnops.c: revision 1.200-1.202
Add PUFFS_KFLAG_NOFLUSH_META to prevent sending metadata flush to FUSE
FUSE filesystems do not expect to get metadata updates for [amc]time
and size, they updates the value on their own after operations.
The PUFFS PUFFS_KFLAG_NOFLUSH_META option prevents regular metadata cache
flushes to the filesystem , and libperfuse uses it to match Linux FUSE
behavior.
While there, fix a bug in SETATTR: do not update kernel metadata cache
from SETATTR reply when the request is asynchronous, as we do not have
the reply yet.
Update file size after write without metadata flush
If we do not use metadata flush, we must make sure the size is updated
in the filesystem after a write, otherwise the next GETATTR will get us
a stale value and the file will be truncated.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Feb 16 10:48:34 2015 UTC (9 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -4
lines
Bump date for previous.
filesystem -> file system
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Feb 15 20:21:29 2015 UTC (9 years, 8 months ago) by manu
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -1
lines
Add PUFFS_KFLAG_NOFLUSH_META to prevent sending metadata flush to FUSE
FUSE filesystems do not expect to get metadata updates for [amc]time
and size, they updates the value on their own after operations.
The PUFFS PUFFS_KFLAG_NOFLUSH_META option prevents regular metadata cache
flushes to the filesystem , and libperfuse uses it to match Linux FUSE
behavior.
While there, fix a bug in SETATTR: do not update kernel metadata cache
from SETATTR reply when the request is asynchronous, as we do not have
the reply yet.
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:20 2014 UTC (10 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +2 -2
lines
Rebase to HEAD as of a few days ago.
Revision 1.47.6.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:36:59 2014 UTC (10 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.47.6.3: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.6.3: +2 -2
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Mar 18 18:20:38 2014 UTC (10 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -1
lines
Merge riastradh-drm2 to HEAD.
Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Tue Jul 23 21:07:30 2013 UTC (11 years, 3 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +2 -2
lines
sync with HEAD
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Jul 20 21:39:57 2013 UTC (11 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -2
lines
Use Mt for email addresses.
Revision 1.49.2.2.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 1 16:44:57 2012 UTC (12 years ago) by matt
Branches: matt-nb6-plus
Diff to: previous 1.49.2.2: preferred, colored; next MAIN 1.49.2.3: preferred, colored
Changes since revision 1.49.2.2: +7 -1
lines
sync with netbsd-6-0-RELEASE.
Revision 1.47.6.3: download - view: text, markup, annotated - select for diffs
Tue Oct 30 18:59:16 2012 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.47.6.2: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.6.2: +13 -2
lines
sync with head
Revision 1.49.2.3: download - view: text, markup, annotated - select for diffs
Thu Sep 13 20:20:16 2012 UTC (12 years, 1 month ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
matt-nb6-plus-nbase,
matt-nb6-plus-base
Diff to: previous 1.49.2.2: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.2: +6 -0
lines
Pull up following revision(s) (requested by manu in ticket #525):
lib/libpuffs/dispatcher.c: revision 1.44
lib/libp2k/p2k.c: revision 1.57
lib/libpuffs/puffs_ops.3: revision 1.35
lib/libpuffs/pnode.c: revision 1.13
lib/libpuffs/puffs.3: revision 1.56
lib/libpuffs/puffs.h: revision 1.124
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.57: download - view: text, markup, annotated - select for diffs
Thu Aug 16 11:28:48 2012 UTC (12 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
riastradh-drm2-base,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
riastradh-drm2
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -2
lines
Bump date for previous.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Aug 16 09:25:43 2012 UTC (12 years, 2 months ago) by manu
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +7 -1
lines
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.49.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 12 13:13:21 2012 UTC (12 years, 2 months ago) by martin
Branches: netbsd-6
CVS tags: netbsd-6-0-RC1
Branch point for: matt-nb6-plus
Diff to: previous 1.49.2.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.2.1: +9 -7
lines
Pull up following revision(s) (requested by manu in ticket #438):
lib/libperfuse/perfuse_priv.h: revision 1.31
sys/fs/puffs/puffs_msgif.h: revision 1.80
sys/fs/puffs/puffs_vnops.c: revision 1.171
lib/libpuffs/puffs_ops.3: revision 1.31
sys/fs/puffs/puffs_vnops.c: revision 1.172
sys/fs/puffs/puffs_vnops.c: revision 1.173
sys/fs/puffs/puffs_vnops.c: revision 1.174
usr.sbin/perfused/perfused.c: revision 1.24
sys/fs/puffs/puffs_sys.h: revision 1.80
sys/fs/puffs/puffs_sys.h: revision 1.81
sys/fs/puffs/puffs_sys.h: revision 1.82
lib/libperfuse/subr.c: revision 1.19
lib/libperfuse/perfuse.c: revision 1.30
sys/fs/puffs/puffs_msgif.c: revision 1.90
sys/fs/puffs/puffs_msgif.c: revision 1.91
sys/fs/puffs/puffs_msgif.c: revision 1.92
lib/libperfuse/ops.c: revision 1.59
lib/libpuffs/puffs.3: revision 1.53
lib/libperfuse/debug.c: revision 1.12
lib/libpuffs/puffs.3: revision 1.54
sys/fs/puffs/puffs_vnops.c: revision 1.167
sys/fs/puffs/puffs_msgif.h: revision 1.79
usr.sbin/perfused/msg.c: revision 1.21
sys/fs/puffs/puffs_vfsops.c: revision 1.102
sys/fs/puffs/puffs_vfsops.c: revision 1.103
sys/fs/puffs/puffs_vfsops.c: revision 1.105
lib/libpuffs/puffs.h: revision 1.123
lib/libperfuse/perfuse_if.h: revision 1.20
lib/libperfuse/perfuse.c: revision 1.29
lib/libpuffs/dispatcher.c: revision 1.42
lib/libpuffs/dispatcher.c: revision 1.43
- Fix same vnodes associated with multiple cookies
The scheme used to retreive known nodes on lookup was flawed, as it only
used parent and name. This produced a different cookie for the same file
if it was renamed, when looking up ../ or when dealing with multiple files
associated with the same name through link(2).
We therefore abandon the use of node name and introduce hashed lists of
inodes. This causes a huge rewrite of reclaim code, which do not attempt
to keep parents allocated until all their children are reclaimed
- Fix race conditions in reclaim
There are a few situations where we issue multiple FUSE operations for
a PUFFS operation. On reclaim, we therefore have to wait for all FUSE
operation to complete, not just the current exchanges. We do this by
introducing node reference count with node_ref() and node_rele().
- Detect data loss caused by FAF
VOP_PUTPAGES causes FAF writes where the kernel does not check the
operation result. At least issue a warning on error.
- Enjoy FAF shortcut on setattr
No need to wait for the result if the kernel does not want it. There is
however an exception for setattr that touch the size, we need to wait
for completion because we have other operations queued for after the
resize.
- Fix fchmod() on write-open file
fchmod() on a node open with write privilege will send setattr with both mode
and size set. This confuses some FUSE filesystem. Therefore we send two FUSE
operations, one for mode, and one for size.
- Remove node TTL handling for netbsd-5 for simplicity sake. The code
still builds on netbsd-5 but does not have the node TTL feature anymore.
It works fine with kernel support on netbsd-6.
- 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.
Fix hang unmount bug introduced by last commit.
We introduced a slow queue for delayed reclaims, while the existing
queue for unmount, flush and exist has been renamed fast queue. Both
queues had timestamp for when an operation should be done, but it was
useless for the fast queue, which is always used to run an operation
ASAP. And the timestamp test had an error that turned ASAP into "at next
tick", but nobody what there to wake the thread at next tick, hence
the hang. The fix is to remove the useless and buggy timestamp test for
fast queue.
Rename slow sopreq queue into node sopreq queue, to refet the fact that
is only intended for postponed node reclaims.
When purging the node sopreq queue, do not call puffs_msg_sendresp(), as
it makes no sense.
Fix race condition between (create|mknod|mkdir|symlino) and reclaim, just
like we did it between lookup and reclaim.
Missing bit in previous commit (prevent race between create|mknod|mkdir|symlink
and reclaim)
Bump date for previous.
New sentence, new line; remove trailing whitespace; fix typos;
punctuation nits.
Add PUFFS_KFLAG_CACHE_DOTDOT so that vnodes hold a reference on their
parent, keeping them active, and allowing to lookup .. without sending
a request to the filesystem.
Enable the featuure for perfused, as this is how FUSE works.
Missing bit in previous commit (PUFFS_KFLAG_CACHE_DOTDOT option to avoid
looking up ..)
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Aug 10 21:00:45 2012 UTC (12 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -4
lines
Use more markup. New sentence, new line. Bump date for previous.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Aug 10 16:49:36 2012 UTC (12 years, 2 months ago) by manu
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -1
lines
Add PUFFS_KFLAG_CACHE_DOTDOT so that vnodes hold a reference on their
parent, keeping them active, and allowing to lookup .. without sending
a request to the filesystem.
Enable the featuure for perfused, as this is how FUSE works.
Revision 1.47.6.2: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:33 2012 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.47.6.1: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.6.1: +17 -11
lines
sync with head.
Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 23 16:48:58 2012 UTC (12 years, 6 months ago) by riz
Branches: netbsd-6
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +20 -2
lines
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.53: download - view: text, markup, annotated - select for diffs
Wed Apr 18 14:24:26 2012 UTC (12 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: yamt-pagecache-base5
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +7 -8
lines
Bump date for previous.
New sentence, new line; remove trailing whitespace; fix typos;
punctuation nits.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Apr 18 00:57:22 2012 UTC (12 years, 6 months ago) by manu
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +17 -10
lines
- 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.47.6.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:31 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +15 -5
lines
sync with head
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Apr 8 16:09:55 2012 UTC (12 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: yamt-pagecache-base4
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +8 -9
lines
Split file system.
Comma fixes.
Remove dangling "and".
Bump date for previous.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Apr 8 15:07:45 2012 UTC (12 years, 7 months ago) by manu
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +13 -1
lines
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.49: download - view: text, markup, annotated - select for diffs
Mon Dec 26 17:59:07 2011 UTC (12 years, 10 months ago) by njoly
Branches: MAIN
CVS tags: netbsd-6-base
Branch point for: netbsd-6
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -2
lines
Remove obsolete puffs_suspend(3) xref.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Nov 24 01:59:25 2011 UTC (12 years, 11 months ago) by manu
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3
lines
Documentation fix
Evgeniy Ivanov <lolkaantimat@gmail.com>
Revision 1.42.4.1.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 05:28:11 2010 UTC (14 years, 6 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.42.4.1: preferred, colored; next MAIN 1.42.4.2: preferred, colored
Changes since revision 1.42.4.1: +6 -1
lines
sync to netbsd-5
Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Jan 12 18:42:38 2010 UTC (14 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +20 -2
lines
Add convenience routine puffs_unmountonsignal(), which does exactly that.
Revision 1.42.4.2: download - view: text, markup, annotated - select for diffs
Fri Oct 16 12:07:23 2009 UTC (15 years ago) by sborrill
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.42.4.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.4.1: +6 -1
lines
Pull up the following revisions(s) (requested by pooka in ticket #1094):
lib/libpuffs/puffs.3: revision 1.45
lib/libpuffs/puffs.c: revision 1.93
lib/libpuffs/puffs.h: revision 1.109
Add function puffs_setspecific(pu, private) which can be used to set the
specific data after the call to puffs_init().
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:18:35 2009 UTC (15 years, 5 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +3 -12
lines
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 24 03:45:56 2009 UTC (15 years, 8 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
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
Branch point for: matt-nb5-mips64
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -12
lines
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.46: download - view: text, markup, annotated - select for diffs
Fri Feb 20 14:26:56 2009 UTC (15 years, 8 months ago) by pooka
Branches: MAIN
CVS tags: matt-premerge-20091211,
jym-xensuspend-nbase,
jym-xensuspend-base
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -12
lines
Remove the paragraph saying interfaces will change without warning.
Note that a stable version of puffs first appeared in NetBSD 5.0.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Dec 12 18:59:53 2008 UTC (15 years, 10 months ago) by pooka
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +7 -2
lines
add:
puffs_setspecific(pu, private)
Can be used to set the specific data after the call to
puffs_init().
Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Nov 14 13:27:24 2008 UTC (15 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -2
lines
note that puffs_daemon() must be called *before* puffs_mount()
Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Nov 14 13:10:13 2008 UTC (15 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2
lines
fix typographical snafu
Revision 1.39.6.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:39:24 2008 UTC (16 years, 1 month ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.39.6.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.6.1: +10 -3
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Sep 6 12:39:49 2008 UTC (16 years, 2 months ago) by pooka
Branches: 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
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +9 -2
lines
Add AsiaBSDCon 2008 paper to SEE ALSO.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Aug 12 19:44:39 2008 UTC (16 years, 2 months ago) by pooka
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2
lines
Replace void * by puffs_cookie_t where appropriate. No functional change.
Revision 1.39.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:29:54 2008 UTC (16 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:04:34 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +2 -2
lines
sync with head
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun May 25 19:38:14 2008 UTC (16 years, 5 months ago) by wiz
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2
lines
Remove trailing whitespace.
Revision 1.27.4.4: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:40:29 2008 UTC (16 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.27.4.3: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.4.3: +48 -14
lines
sync with HEAD
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Jan 28 18:35:50 2008 UTC (16 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base2,
yamt-pf42-base,
matt-armv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base
Branch point for: yamt-pf42,
wrstuden-revivesa
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +40 -9
lines
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.38: download - view: text, markup, annotated - select for diffs
Mon Jan 14 13:57:26 2008 UTC (16 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +10 -7
lines
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.27.4.3: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:36:47 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.27.4.2: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.4.2: +33 -18
lines
sync with HEAD
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Dec 15 20:11:38 2007 UTC (16 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: matt-armv6-base
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +11 -2
lines
document puffs_dopufbuf
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Dec 4 21:24:11 2007 UTC (16 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: cube-autoconf-base,
cube-autoconf
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +7 -10
lines
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.35: download - view: text, markup, annotated - select for diffs
Sat Dec 1 19:18:49 2007 UTC (16 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2
lines
Fix a typo that has migrated across files.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Dec 1 18:53:28 2007 UTC (16 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +7 -7
lines
Typo fixes.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Nov 16 18:35:10 2007 UTC (16 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +11 -2
lines
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.27.4.2: download - view: text, markup, annotated - select for diffs
Thu Nov 8 11:01:01 2007 UTC (17 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.27.4.1: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.4.1: +6 -3
lines
sync with -HEAD
Revision 1.27.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:11:52 2007 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +17 -8
lines
sync with HEAD
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Nov 6 15:09:07 2007 UTC (17 years ago) by pooka
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -3
lines
Open the kernel descriptor as part of mount(), not init(). Then
it doesn't matter if someone fork()s or does other tricks between
init() and mount() (and besides, now it's where it logically should be).
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Nov 5 17:48:17 2007 UTC (17 years ago) by pooka
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -8
lines
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.30: download - view: text, markup, annotated - select for diffs
Fri Oct 5 00:04:59 2007 UTC (17 years, 1 month ago) by pooka
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +8 -1
lines
SEE ALSO paper
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Sep 24 00:22:25 2007 UTC (17 years, 1 month ago) by pooka
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +8 -1
lines
Add refuse paper to SEE ALSO
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Sep 3 12:34:21 2007 UTC (17 years, 2 months ago) by pooka
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -1
lines
xref refuse, don't bump date
Revision 1.27.6.2: download - view: text, markup, annotated - select for diffs
Wed Jul 18 22:23:38 2007 UTC (17 years, 3 months ago) by pooka
Branches: matt-mips64
Diff to: previous 1.27.6.1: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.6.1: +478 -0
lines
update
Revision 1.27.6.1
Wed Jul 18 22:23:37 2007 UTC (17 years, 3 months ago) by pooka
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.27: +0 -478
lines
file puffs.3 was added on branch matt-mips64 on 2007-07-18 22:23:38 +0000
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Jul 18 22:23:37 2007 UTC (17 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: matt-mips64-base,
hpcarm-cleanup
Branch point for: matt-mips64,
matt-armv6
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +50 -26
lines
update
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Jul 5 22:42:14 2007 UTC (17 years, 4 months ago) by pooka
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +12 -3
lines
document PUFFS_KFLAG_LOOKUP_FULLPNBUF
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jun 24 22:32:00 2007 UTC (17 years, 4 months ago) by pooka
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +16 -10
lines
document KFLAG_NOCACHE{_PAGE,_NAME,}
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu May 17 15:21:14 2007 UTC (17 years, 5 months ago) by pooka
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +23 -30
lines
reflect today's mount changes
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue May 15 13:44:47 2007 UTC (17 years, 5 months ago) by pooka
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +48 -14
lines
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.22: download - view: text, markup, annotated - select for diffs
Wed May 9 18:24:11 2007 UTC (17 years, 6 months ago) by pooka
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +9 -4
lines
List all current ways to write a file system. Also, add a reference
to puffs_req(3) for the manual operation case.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed May 9 13:54:08 2007 UTC (17 years, 6 months ago) by pooka
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +19 -2
lines
document PUFFS_KFLAG_WTCACHE and PUFFS_KFLAG_IAONDEMAND
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue May 1 15:58:00 2007 UTC (17 years, 6 months ago) by pooka
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +11 -2
lines
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.19: download - view: text, markup, annotated - select for diffs
Mon Apr 16 19:16:02 2007 UTC (17 years, 6 months ago) by pooka
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -349
lines
Move file system and node callbacks into their own manual page.
Improve markup and descriptions a bit (not completely finished yet).
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Apr 16 16:37:02 2007 UTC (17 years, 6 months ago) by pooka
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +125 -34
lines
document new interfaces
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Apr 12 21:45:29 2007 UTC (17 years, 6 months ago) by pooka
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +39 -14
lines
document accessor routines added when making struct puffs_usermount
implementation private
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Mar 22 17:38:09 2007 UTC (17 years, 7 months ago) by pooka
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -1
lines
document credentials & access control methods
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Mar 20 18:25:56 2007 UTC (17 years, 7 months ago) by pooka
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3
lines
match puffs_node_access prototype with reality
Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Mar 13 17:06:10 2007 UTC (17 years, 7 months ago) by pooka
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +8 -1
lines
add puffs paper presented at AsiaBSDCon 2007 to "SEE ALSO"
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Feb 8 05:24:36 2007 UTC (17 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
Nm the manual puffs instead of libpuffs
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jan 26 23:55:27 2007 UTC (17 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1
lines
document puffs_fs_suspend()
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jan 20 15:10:38 2007 UTC (17 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1
lines
xref puffs_req
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jan 20 13:34:35 2007 UTC (17 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +23 -2
lines
document puffs_getstate() and puffs_setstacksize()
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jan 20 13:23:59 2007 UTC (17 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3
lines
Sort SEE ALSO.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jan 19 21:10:55 2007 UTC (17 years, 9 months ago) by pooka
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +157 -126
lines
Bring the documentation slightly more into sync with the current
reality. It's still really a far cry from proper documentation,
though.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Dec 1 15:31:25 2006 UTC (17 years, 11 months ago) by pooka
Branches: 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
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
sauce catchup
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Nov 30 05:53:34 2006 UTC (17 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +21 -15
lines
update with reality
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Nov 23 17:45:11 2006 UTC (17 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +85 -60
lines
* document open, close and access
* nomenclature improvements
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Nov 19 00:11:21 2006 UTC (17 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +12 -13
lines
Some mdoc and grammar nits.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Nov 13 21:09:16 2006 UTC (17 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -1
lines
add note to BUGS about the questionable nature of puffs_node
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Nov 13 21:06:16 2006 UTC (17 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +13 -9
lines
sync with change to lookup
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Nov 9 01:30:15 2006 UTC (18 years ago) by pooka
Branches: MAIN
initial documentation for the puffs library interface
CVSweb <webmaster@jp.NetBSD.org>