Commit Graph

72 Commits

Author SHA1 Message Date
wiz 35f6de0047 Bump date for previous. 2016-08-20 12:41:31 +00:00
hannken 7139aab724 Remove now obsolete operation vcache_remove().
Welcome to 7.99.36
2016-08-20 12:37:06 +00:00
wiz 307e20f618 Trailing whitespace, begone! 2015-07-17 06:45:55 +00:00
hannken 50c0a5b05d Operations getnewvnode() and ungetnewvnode() have been replaced with vcache.
- Remove now obsolete functions getnewvnode() and ungetnewvnode().
- Document vcache operations.

Welcome to 7.99.20
2015-07-12 08:11:27 +00:00
riastradh 944fbd0d8b Cull unused vnode v_iflags: VI_LAYER, VI_LOCKSHARE. 2015-04-20 19:36:55 +00:00
riastradh 4c17c141c3 Use Er, not Dv, for errno E* names. 2015-04-20 15:39:38 +00:00
riastradh e3d7ca5cf5 First part of reworking vnode(9) man page. Much more to come. 2015-04-20 15:30:41 +00:00
riastradh 830199bd4a Use Dv, not Li, for EBUSY/ENOENT. 2015-04-20 14:09:14 +00:00
riastradh 4515b0035e Fix punctuation. 2015-04-20 14:08:52 +00:00
riastradh 3a57946f59 Rewrite vput(9) description. 2015-04-20 14:07:24 +00:00
riastradh 1e28edefae Document current state of vget. 2015-04-20 14:03:10 +00:00
hannken f3cf481632 - Make VI_XLOCK, VI_CLEAN and VI_LOCKSHARE private to kern/vfs_*.c.
- Make vwait() static.
- Add  vdead_check() to check a vnode for being or becoming dead.

Discussed on tech-kern.

Welcome to 6.99.38
2014-03-24 13:42:40 +00:00
hannken 72439b7dc8 Current support for iterating over mnt_vnodelist is rudimentary. Every
caller has to care about list and vnode mutexes, reference count being zero,
intermediate vnode states like VI_CLEAN, VI_XLOCK, VI_MARKER and so on.

Add an interface to iterate over a vnode list:

void vfs_vnode_iterator_init(struct mount *mp, struct vnode_iterator **marker)
void vfs_vnode_iterator_destroy(struct vnode_iterator *marker)
bool vfs_vnode_iterator_next(struct vnode_iterator *marker, struct vnode **vpp)

vfs_vnode_iterator_next() returns either "false / *vpp == NULL" when done
or "true / *vpp != NULL" to return the next referenced vnode from the list.

To make vrecycle() work in this environment change it to

bool vrecycle(struct vnode *vp)

where "vp" is a referenced vnode to be destroyed if this is the last reference.

Discussed on tech-kern.

Welcome to 6.99.34
2014-03-05 09:37:29 +00:00
wiz e917ca9ede Use more markup. Add "flag" in a sentence. 2014-02-22 11:28:18 +00:00
hannken 6935b8d9a0 Update arguments of vrecycle(), description of getnewvnode() and
the vnode flags.
2014-02-22 10:08:12 +00:00
hannken 65b1f85ab6 Vnode API cleanup pass 1.
- Make these defines and functions private to vfs_vnode.c:

  VC_MASK, VC_LOCK, DOCLOSE, VI_IANCTREDO and VI_INACTNOW
  vclean() and vrelel()

- Remove the long time unused lwp argument from vrecycle().

- Remove vtryget(), it is responsible for ugly hacks and doesn't
  look that effective.

Presented on tech-kern.

Welcome to 6.99.25
2013-10-29 09:53:51 +00:00
wiz 8292e96d35 Bump date for previous, per mbalmer. 2012-02-08 09:32:47 +00:00
wiz 9f4d0385b5 xref rwlock instead of deprecated lockmgr.
From Julian Fagir in PR 45944.
2012-02-08 08:25:05 +00:00
wiz 8e12ffad8d Mark up NULL. 2011-06-14 07:49:09 +00:00
rmind 3f1c6aa712 Update getnewvnode(9) description. 2011-06-14 00:56:02 +00:00
hannken 87522af425 Change vflushbuf() to return an error if a synchronous write fails.
Welcome to 5.99.51.
2011-04-26 11:32:38 +00:00
wiz 05859157e6 Remove boilerplate in CODE REFERENCES on file paths.
Describe in intro(9) how to read paths in the CODE REFERENCES section.
2010-12-02 12:54:13 +00:00
hannken 1664eae7f3 Using vfinddev() leads to vnode races as it returns an unreferenced
vnode that may disappear before the caller has a chance to reference it.

Reference the vnode while the specfs cache is locked.

Welcome to 5.99.37.

No objections on tech-kern.
2010-07-21 09:06:37 +00:00
hannken 62bfdd2b21 Change layered file systems to always pass the locking VOP's down to the
leaf file system.  Remove now unused member v_vnlock from struct vnode.
Welcome to 5.99.30

Discussed on tech-kern.
2010-06-06 08:01:30 +00:00
ahoka 0249dc4ed6 Sync struct vnode with reality. 2010-05-30 13:50:16 +00:00
wiz 95c5212343 Consistently call the file system "ext2". 2010-02-21 13:28:12 +00:00
wiz 6cad968a08 Bump date for vrele_async.
Reword slightly and put it outside the vget description.
2010-02-13 07:48:01 +00:00
haad aa8090778a Add vrele_async routine which asynchronously release vnodes in different contex
and in some time in the future.

Ok: ad@.
2010-02-11 23:16:35 +00:00
pooka 4b8d8af4b8 Undocument checkalias() -- it was removed two years ago. 2010-01-08 13:15:45 +00:00
pooka 648b32e7e0 vcount() was removed 2010-01-08 13:10:48 +00:00
pooka 1e2c1aedaf Remove documentation for removed macros. 2010-01-08 12:41:33 +00:00
pooka 70d4493c77 Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
2009-12-05 20:11:01 +00:00
elad 4c30194dc1 There is no vfs_subr2.c. 2009-04-22 20:53:44 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
tnn 1b0f7f4f5a Mention vfs_subr2.c. 2008-01-24 07:11:25 +00:00
pooka d1e849f0c3 vprint takes a const char *label 2007-06-15 11:42:11 +00:00
dillo ff885dda73 Fix typo, add comma. 2007-02-16 22:26:36 +00:00
wiz 361e86f38f Bump date for previous. 2006-10-13 00:20:00 +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
pooka 9852bfb57e ucred -> kauth sweep 2006-10-04 11:35:47 +00:00
rumble 3cc6712507 Bump date for previous commit, preempting wizd. 2006-03-03 13:38:29 +00:00
rumble 958a7fb3f0 Add missing vnode flags and tags from sys/vnode.h. Reorder a few things to
match the header file, and fix a few typos/grammar points.
2006-03-03 02:17:41 +00:00
rpaulo ff8e3c8c68 More ktrace-lwp that I got wrong in the first try.
Thanks to Gregory McGarry for pointing this out.
2006-01-29 03:09:19 +00:00
rpaulo 7d7fe4b786 Adapt man pages to ktrace-lwp. 2005-12-20 19:53:14 +00:00
jmmv 1dae1602d4 vgonel takes two parameters, not one. 2005-08-05 13:37:25 +00:00
jmmv dc8a3e3a58 Sync tag-types list with reality (missing VT_PTYFS) and fix some typos.
Bump date.
2005-08-05 13:28:50 +00:00
wiz a7b3d5153b Bump date for VDIRTY removal. 2005-01-01 04:06:48 +00:00
yamt 6b4c83b2d6 remove VDIRTY. 2004-12-31 14:55:27 +00:00
wiz 454816d146 Bump date for previous. 2004-12-28 19:23:12 +00:00
yamt 41fc72dca2 update to match with the recent reality. PR/28793. 2004-12-28 18:36:45 +00:00