Commit Graph

61 Commits

Author SHA1 Message Date
pooka 4d4d2d4517 fix definition of runp in VOP_BMAP 2007-03-29 12:06:58 +00:00
wiz 103c72a1ca Bump date for previous. 2006-12-23 09:36:56 +00:00
chs c398ae9734 a smorgasbord of improvements to vnode locking and path lookup:
- LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP().
   these now always return the parent vnode locked.  namei() works as before.
   lookup() and various other paths no longer acquire vnode locks in the
   wrong order via vrele().  fixes PR 32535.
   as a nice side effect, path lookup is also up to 25% faster.
 - the above allows us to get rid of PDIRUNLOCK.
 - also get rid of WANTPARENT (just use LOCKPARENT and unlock it).
 - remove an assumption in layer_node_find() that all file systems implement
   a recursive VOP_LOCK() (unionfs doesn't).
 - require that all file systems supply vfs_vptofh and vfs_fhtovp routines.
   fill in eopnotsupp() for file systems that don't support being exported
   and remove the checks for NULL.  (layerfs calls these without checking.)
 - in union_lookup1(), don't change refcounts in the ISDOTDOT case, just
   adjust which vnode is locked.  fixes PR 33374.
 - apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().
2006-12-09 16:11:50 +00:00
pooka 0dd37417ef match description of VOP_PUTPAGES with reality 2006-11-28 19:26:30 +00:00
pooka c870120337 VOP_RENAME synopsis:
* tdvp points to a vnode, not a componentname.
* name of the source vnode is fvp, not vp
2006-10-19 13:44:00 +00:00
pooka e2f3993f69 VOP_REMOVE is supposed to vput the arguments before returning instead
of keeping them locked
2006-10-08 08:13:56 +00:00
chs 33c1fd1917 add support for O_DIRECT (I/O directly to application memory,
bypassing any kernel caching for file data).
2006-10-05 14:48:32 +00:00
reinoud 64f9244532 Fix confusing statement on locking and contradiction in the VOP_RECLAIM()
explanation.

It told the node vp would be locked on entry and later told that the vnode
is unlocked on entry and should remain unlocked on exit.
2006-10-04 12:32:53 +00:00
pooka 9852bfb57e ucred -> kauth sweep 2006-10-04 11:35:47 +00:00
jld af0234e90d Remove erroneous boilerplate about VOP_POLL's return value (which was
already described correctly earlier in the paragraph).
2006-09-30 21:18:38 +00:00
wiz db06aa87ca Use macro for HTML output. 2006-09-16 08:54:22 +00:00
yamt c76c4d01d3 VOP_ADVLOCK: document the current unnatural handling of SEEK_CUR.
pointed by efnbl06 at bn2.maus.net.
2006-09-16 08:47:18 +00:00
yamt 658b31f04b VOP_ADVLOCK: fix a description of vp. pointed by efnbl06 at bn2.maus.net. 2006-09-16 08:23:30 +00:00
wiz e4113c2f20 Bump date for previous. 2006-08-23 20:39:01 +00:00
jld 1a62815660 vnode_if.src says that VOP_POLL's vnode is unlocked, and has said so
since 1998; adjust the man page to reflect that.
2006-08-17 04:38:27 +00:00
rtr 1b5ececaf1 fix typo 2006-04-05 11:11:07 +00:00
rpaulo dbf1ff6457 Fix more proc/lwp conversions. From Gregory McGarry in private email. 2006-03-30 11:16:00 +00:00
wiz 3402be3b88 Bump date for previous. 2006-03-11 09:15:58 +00:00
rumble 727090f650 Mention VOP_KQFILTER briefly. Its description could be more thorough, but
I am unfamiliar with the kqueue framework. Also fix a typo while we're
here.
2006-03-04 20:36:15 +00:00
rpaulo 7d7fe4b786 Adapt man pages to ktrace-lwp. 2005-12-20 19:53:14 +00:00
yamt 73a46700dc sync with kernel. (yamt-vop) 2005-11-02 14:22:36 +00:00
wiz 3a6af42b59 Bump date for previous. 2005-10-31 11:34:55 +00:00
erh 4535d519d7 Mention that VOP_CREATE always unlocks the directory vnode. 2005-10-30 20:49:05 +00:00
wiz b6b6657a5a Uppercase I/O. 2005-09-09 20:29:12 +00:00
jmmv c35190a672 Sync the description of the getattr, link and rmdir operations with reality
as regards vnode locking.  Thanks to wrstuden@ for clarifying this.
2005-08-30 21:03:13 +00:00
jmmv 8f66d74dea Specify the types for the cookies and ncookies parameters to the readdir
operation.
2005-08-19 10:56:29 +00:00
pooka 9157daca51 apply cosmetics to VOP_MK/RMDIR prototypes 2005-08-11 10:49:47 +00:00
pooka f219942c2b match section on read/write ioflags with current reality
(bump date!)
2005-08-11 10:06:38 +00:00
chs 717114639a typoes. 2005-01-11 01:51:12 +00:00
wiz 2ce71f9bbf Mark up NULL, and replace null by nul where appropriate. 2005-01-02 18:38:04 +00:00
thorpej c8a6aeb225 Document file system extended attribute functions. 2005-01-02 17:34:43 +00:00
wiz 0fc8b3b26d Fix Dd argument. 2004-06-25 15:33:13 +00:00
simonb 9bc855a931 s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).
2004-04-23 02:58:27 +00:00
hannken 3db4e2acd8 Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.
VOP_STRATEGY(bp) is replaced by one of two new functions:

- VOP_STRATEGY(vp, bp)  Call the strategy routine of vp for bp.
- DEV_STRATEGY(bp)      Call the d_strategy routine of bp->b_dev for bp.

DEV_STRATEGY(bp) is used only for block-to-block device situations.
2004-01-25 18:06:48 +00:00
wiz 77b9f1fc13 Punctuation fix and grammar fix. 2003-07-04 12:35:54 +00:00
wiz 3565e264ca Remove superfluous .Fc. 2003-07-01 10:29:45 +00:00
wiz b93a29cdaa Fixes to make these man page look nice with groff-1.19. 2003-06-30 19:12:31 +00:00
yamt 4a8cf36294 note when VOP_GETPAGES updates number of pages pointed by 'count'. 2003-06-19 14:36:14 +00:00
yamt e23e94ceb3 correct arguments of VOP_GETPAGES. 2003-06-09 13:30:44 +00:00
wiz 577a7320c0 setup -> set up. 2003-05-14 12:00:33 +00:00
yamt 245e20c483 mdoc improvement.
(use the longest tag for width specifier)
2003-05-01 15:58:49 +00:00
yamt 07993bf5b9 redo a half of the previous correctly.
('op' arg of VOP_ADVLOCK)
2003-05-01 15:42:51 +00:00
yamt 307d26d6a8 VOP_ADVLOCK:
F_{RD,WR,UN}LCK is not for 'flags'.
2003-05-01 15:30:35 +00:00
wiz 39f7be757e Use .Aq instead of \*[Lt]...\*[Gt]. 2003-04-24 12:13:03 +00:00
gmcgarry 2eaa7e53cc Update to reflect caddr_t -> void * change. 2003-04-20 04:42:15 +00:00
wiz 472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
jschauma 0a4453cc1e Fix typos noted by Igor Sobrado in PR misc/19641 (some already fixed
by others):

MCHTYPE(9)      - implemntation (implementation)
VFS_CHECKEXP(9) - specied (specified), acces (access)
VOP_ABORTOP(9)  - singla (single), implments (implements),
		callling (calling), credientials (credentials)
2003-01-03 04:18:57 +00:00
wiz 770eef2122 New sentence, new line. 2002-10-14 13:43:14 +00:00
gmcgarry 01d72a34e9 Slight markup. 2002-10-14 05:05:02 +00:00
soren a440a4971b Misc fixes.
Cross-reference v*ops.9.
2002-08-14 18:50:48 +00:00