pooka
25a346d4fb
Nuke PUFFSLOOKUP_FOO and move to NAMEI_FOO
2007-08-15 14:19:19 +00:00
pooka
ea9b8a0046
run realpath() on the mountpath
2007-08-11 18:04:50 +00:00
pooka
a213499d32
dump further info for read/write
2007-08-07 13:44:27 +00:00
pooka
78302eef99
Per rumble's lead in vnodeops, clarify the bit about readdir cookies.
2007-07-31 21:48:18 +00:00
pooka
8631cf4e2b
mmap fflags -> prot
2007-07-27 08:28:16 +00:00
pooka
b2a631b1fe
* add missing credential handle to fsync args
...
* and now with more cosmetic attack
2007-07-25 09:10:26 +00:00
pooka
9825955cc2
pure cosmetics: minor facelift
2007-07-25 08:31:19 +00:00
pooka
b0e54182a4
document puffs_framev_enqueue_waitevent
2007-07-21 09:36:49 +00:00
pooka
e30ed21300
Return -1 and errno from puffs_framev_enqueue_waitevent instead of
...
a direct error value.
2007-07-21 09:29:07 +00:00
pooka
e2dc8334cf
simplify send loop
2007-07-20 14:55:42 +00:00
pooka
343e8df31e
Add puffs_framev_enqueue_waitevent, which waits for read/write/error
...
events from an i/o descriptor. It yields until an event happens
and continues execution when the event loop notices the event has
happened.
2007-07-20 13:14:55 +00:00
pooka
99db048c69
note caveat with puffs_node_poll
2007-07-20 10:01:24 +00:00
wiz
77bf5a1ac4
Use HTML escapes. Drop trailing whitespace. Punctuation nits.
2007-07-19 19:25:09 +00:00
pooka
f2825a0ae8
Don't float puffs_kargs needlessly around after mount, saves
...
a couple k of memory (and there was much rejoycing!)
2007-07-19 12:52:28 +00:00
pooka
044229479a
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.
2007-07-19 08:32:06 +00:00
pooka
2f6b69c368
Use ioctl(PUFFSREQSIZEOP) instead of mount(MNT_GETARGS) to fetch
...
the maximum request size after mount. Calling mount(MNT_GETARGS)
from the file server is currently not kosher, as it vrele()s the
root vnode, potentially causing an inactive, which the file server
cannot handle while it itself is inactive in the kernel (deadlock).
2007-07-19 07:54:46 +00:00
pooka
638ce78980
stuff
2007-07-19 07:48:10 +00:00
pooka
d8a510556e
get rid of DBG=
2007-07-18 22:38:58 +00:00
pooka
9651f40228
update
2007-07-18 22:23:37 +00:00
pooka
81ec5d68ec
uncomment puffs_node_seek - it's supported and in use
2007-07-18 21:41:06 +00:00
pooka
46bd6a6148
puffs_cid* is always const
2007-07-18 21:24:40 +00:00
pooka
08db7d7534
* add mntfromname parameter to puffs_init()
...
* set it in file servers
2007-07-17 11:34:51 +00:00
dsl
0666faeea3
Add new 'data_len' parameter to mount system call.
...
Add an additional call with MNT_GETARGS to retrieve the modified
information instead of relying on the kernel code abusing the mount
interface during mount.
2007-07-14 16:02:14 +00:00
pooka
fb503062d5
add IO_NDELAY
2007-07-09 09:28:48 +00:00
pooka
181c165c35
bring up-to-date
2007-07-08 17:25:26 +00:00
pooka
3541e44ce7
g/c leftover
2007-07-08 17:24:41 +00:00
pooka
1119cb908e
make notifyfunction optional and do not call removeonclose() if
...
none is given.
2007-07-08 11:24:58 +00:00
pooka
8c9c68dbc2
Make puffs_framebuf better suited from environments with multiple sources:
...
* in addition add/remove, allow enable/disable, which can be used
to control events for descriptors without having to remove all the
data associated with them
* add directsend/receive, which can be used to pass the same buffer
from the caller to read/writeframe and back again
* add flags to enqueue functions and allow urgent buffers to be
processed as the next PDU
2007-07-07 21:13:41 +00:00
pooka
c3dac7fe6f
make few function types match reality
2007-07-06 10:11:02 +00:00
pooka
1451f0dabb
document PUFFS_KFLAG_LOOKUP_FULLPNBUF
2007-07-05 22:42:14 +00:00
pooka
b710306f2c
apply ketchup to recent source changes in libpuffs
2007-07-05 22:37:52 +00:00
pooka
0e40108103
* reorder calls to get results processed even if our I/O descriptors
...
go back to zero
* don't give up on the read-side of an fd if there is still unreceived data
2007-07-05 12:27:39 +00:00
pooka
df6f052d2f
Get rid of the "int *refs" parameter to inactive: the same can be
...
accomplished now with puffs_setbacks.
2007-07-02 10:24:17 +00:00
pooka
79d81a9639
pid is gone
2007-07-01 23:04:13 +00:00
pooka
8023454664
Instead of requesting various pieces of information from node-creating
...
methods using "please fill me"-pointers, pass "struct puffs_newinfo *"
and provide methods to fill in new node info.
2007-07-01 18:39:39 +00:00
pooka
209b3e08de
cast to void * instead of actual (albeit incomplete) type to silence
...
gcc about type punning with -fstrict-alias
2007-07-01 17:42:19 +00:00
pooka
ffe0a01441
Instead of supplying a plain pid, supply an abstract struct puffs_cid *,
...
which can currently be used to query the pid and lwpid.
2007-07-01 17:22:13 +00:00
pooka
438f52d212
make puffs_cred an opaque type
2007-07-01 15:30:15 +00:00
pooka
5092d42715
print time elapsed between calls
2007-06-30 12:42:25 +00:00
pooka
0f53ecfb54
fold in common code for node creation. no functional change.
2007-06-25 07:52:01 +00:00
pooka
c3942902c4
Since we locate in-memory nodes based on the inode number, stat a
...
file always after creation to cache the inode number given by the
backend file system. Otherwise we would not find a newly created
node from incore and create another one. In practise this was
pretty well hidden by the kernel name cache.
2007-06-24 23:02:55 +00:00
pooka
8bfc66776f
document KFLAG_NOCACHE{_PAGE,_NAME,}
2007-06-24 22:32:00 +00:00
pooka
53a4105885
Actually, keep PUFFS_KFLAG_NOCACHE and -o cache around as shorthand
...
to neither page- nor namecache.
2007-06-24 22:25:49 +00:00
pooka
5662e7f720
PUFFS_KFLAG_NOCACHE became two, so introduce the command line options
...
-o nonamecache and -o nopagecache and adapt file systems where necessary.
2007-06-24 22:18:38 +00:00
pooka
159e84cbd3
Introduce puffs_null_setops(), which initializes the ops vector with
...
puffs nullfs ops.
2007-06-24 18:42:25 +00:00
pooka
b1da438567
* document puffs_pn_remove
...
* all-around improve the manual page
2007-06-24 18:16:36 +00:00
pooka
564336f084
Introduce puffs_pn_remove() to signal that a node has been deleted
...
and destroyed, but not yet reclaimed. This prevents puffs_pn_nodewalk()
from returning stale entries. Make nullfs use this (some file
systems are a bit too happy with recycling inode numbers).
2007-06-24 17:55:07 +00:00
pooka
86e63e7e27
don't return errno from a function which returns an fd - there's
...
a "little" room for confusion. instead, return -1 and let the
caller grab errno.
2007-06-24 17:41:09 +00:00
pooka
18e8d526ea
print a specific warning if /dev/puffs cannot be opened in init
2007-06-11 06:13:34 +00:00
pooka
f8326bf98e
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...
2007-06-06 01:54:59 +00:00