The NetBSD Project

CVS log for src/sys/kern/vnode_if.src

[BACK] Up to [cvs.NetBSD.org] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.84.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 16:50:21 2023 UTC (9 months, 1 week ago) by martin
Branch: netbsd-10
CVS Tags: 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
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored) next main 1.85 (colored) to selected 1.73 (colored)

Pull up following revision(s) (requested by hannken in ticket #197):

	sys/kern/vnode_if.src: revision 1.85
	share/man/man9/vnodeops.9: revision 1.101

VOP_IOCTL() is a wrapper around spec_ioctl() aka Xdev_ioctl() and
protected with spec_io_enter()/spec_io_exit() so there is no need
to force specific vnode locking.
Set locking requirement to '= = =' (unchanged, locked or unlocked).

Revision 1.85 / (download) - annotate - [select for diffs], Thu Jun 15 09:13:36 2023 UTC (9 months, 1 week ago) by hannken
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored) to selected 1.73 (colored)

VOP_IOCTL() is a wrapper around spec_ioctl() aka Xdev_ioctl() and
protected with spec_io_enter()/spec_io_exit() so there is no need
to force specific vnode locking.

Set locking requirement to '= = =' (unchanged, locked or unlocked).

PR kern/57450 (unplugging hung USB disk triggers panic via _vstate_assert)

Revision 1.84 / (download) - annotate - [select for diffs], Tue May 3 08:33:59 2022 UTC (22 months, 3 weeks ago) by hannken
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.83: +19 -19 lines
Diff to previous 1.83 (colored) to selected 1.73 (colored)

Make option VNODE_LOCKDEBUG more functional.

- Add "LOCKED=EXCL" option for vnode operations needing exclusive locked nodes.

- As it is impossible to check for shared locks held by current thread avoid
  false assertions by testing for exclusive lock only in the "LOCKED=NO" case.

- New option "RUMP_VNODE_LOCKDEBUG" enables VNODE_LOCKDEBUG for the rump kernel.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Oct 20 03:08:18 2021 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.82: +20 -2 lines
Diff to previous 1.82 (colored) to selected 1.73 (colored)

Overhaul of the EVFILT_VNODE kevent(2) filter:

- Centralize vnode kevent handling in the VOP_*() wrappers, rather than
  forcing each individual file system to deal with it (except VOP_RENAME(),
  because VOP_RENAME() is a mess and we currently have 2 different ways
  of handling it; at least it's reasonably well-centralized in the "new"
  way).
- Add support for NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE, and NOTE_READ,
  compatible with the same events in FreeBSD.
- Track which kevent notifications clients are interested in receiving
  to avoid doing work for events no one cares about (avoiding, e.g.
  taking locks and traversing the klist to send a NOTE_WRITE when
  someone is merely watching for a file to be deleted, for example).

In support of the above:

- Add support in vnode_if.sh for specifying PRE- and POST-op handlers,
  to be invoked before and after vop_pre() and vop_post(), respectively.
  Basic idea from FreeBSD, but implemented differently.
- Add support in vnode_if.sh for specifying CONTEXT fields in the
  vop_*_args structures.  These context fields are used to convey information
  between the file system VOP function and the VOP wrapper, but do not
  occupy an argument slot in the VOP_*() call itself.  These context fields
  are initialized and subsequently interpreted by PRE- and POST-op handlers.
- Version VOP_REMOVE(), uses the a context field for the file system to report
  back the resulting link count of the target vnode.  Return this in tmpfs,
  udf, nfs, chfs, ext2fs, lfs, and ufs.

NetBSD 9.99.92.

Revision 1.80.6.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:39 2021 UTC (2 years, 7 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.80: +11 -1 lines
Diff to previous 1.80 (colored) next main 1.81 (colored) to selected 1.73 (colored)

Sync with HEAD.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Jul 2 16:56:22 2021 UTC (2 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.81: +3 -2 lines
Diff to previous 1.81 (colored) to selected 1.73 (colored)

Turn off fstrans for VOP_PARSEPATH. Fixes t_umountstress deadlock.

Diagnosis by hannken@.

Revision 1.81 / (download) - annotate - [select for diffs], Tue Jun 29 22:34:08 2021 UTC (2 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.80: +10 -1 lines
Diff to previous 1.80 (colored) to selected 1.73 (colored)

- Add a new vnode op: VOP_PARSEPATH.
 - Move namei_getcomponent to genfs_vnops.c and call it genfs_parsepath.
 - Add a parsepath entry to every vnode ops table.

VOP_PARSEPATH takes a directory vnode to be searched and a complete
following path and chooses how much of that path to consume. To begin
with, all parsepath calls are genfs_parsepath, which locates the first
'/' as always.

Note that the call doesn't take the whole struct componentname, only
the string. The other bits of struct componentname should not be
needed and there's no reason to cause potential complications by
exposing them.

Revision 1.77.10.2 / (download) - annotate - [select for diffs], Tue May 19 16:24:38 2020 UTC (3 years, 10 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.77.10.1: +2 -2 lines
Diff to previous 1.77.10.1 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored) to selected 1.73 (colored)

Pull up following revision(s) (requested by hannken in ticket #917):

	sys/kern/vnode_if.src: revision 1.80
	sys/kern/vnode_if.c: revision 1.112

VOP_STRATEGY() may still deadlock with devices.

Change FSTRANS from LAZY to NO.

Regen.

Revision 1.80 / (download) - annotate - [select for diffs], Mon May 18 08:29:34 2020 UTC (3 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored) to selected 1.73 (colored)

VOP_STRATEGY() may still deadlock with devices.

Change FSTRANS from LAZY to NO.

Revision 1.79 / (download) - annotate - [select for diffs], Sat May 16 18:31:50 2020 UTC (3 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.78: +41 -2 lines
Diff to previous 1.78 (colored) to selected 1.73 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.77.6.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:04 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored) next main 1.78 (colored) to selected 1.73 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.77.10.1 / (download) - annotate - [select for diffs], Tue Oct 15 18:12:25 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored) to selected 1.73 (colored)

Pull up following revision(s) (requested by hannken in ticket #307):

	sys/kern/vnode_if.sh: revision 1.67
	sys/kern/vnode_if.src: revision 1.78

As VOP_STRATEGY() usually calls itself on the file system holding "/dev"
it may deadlock on suspension of this file system.

Add fstrans type LAZY and use it for VOP_STRATEGY().

Adress PR kern/53624 (dom0 freeze on domU exit) is still there

Revision 1.75.2.3 / (download) - annotate - [select for diffs], Mon Oct 14 17:43:58 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.75.2.2: +2 -1 lines
Diff to previous 1.75.2.2 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored) to selected 1.73 (colored)

Pull up following revision(s) (requested by hannken in ticket #1405):

	sys/kern/vnode_if.sh: revision 1.67
	sys/kern/vnode_if.src: revision 1.78

As VOP_STRATEGY() usually calls itself on the file system holding "/dev"
it may deadlock on suspension of this file system.

Add fstrans type LAZY and use it for VOP_STRATEGY().

Adress PR kern/53624 (dom0 freeze on domU exit) is still there

Revision 1.78 / (download) - annotate - [select for diffs], Fri Oct 11 08:04:52 2019 UTC (4 years, 5 months ago) by hannken
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored) to selected 1.73 (colored)

As VOP_STRATEGY() usually calls itself on the file system holding "/dev"
it may deadlock on suspension of this file system.

Add fstrans type LAZY and use it for VOP_STRATEGY().

Adress PR kern/53624 (dom0 freeze on domU exit) is still there

Revision 1.63.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:45 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.63.12.1: +27 -12 lines
Diff to previous 1.63.12.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored) to selected 1.73 (colored)

update from HEAD

Revision 1.67.4.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:08 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.67.4.1: +25 -11 lines
Diff to previous 1.67.4.1 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored) to selected 1.73 (colored)

Sync with HEAD

Revision 1.75.2.2 / (download) - annotate - [select for diffs], Tue Jul 25 01:29:23 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.75.2.1: +2 -1 lines
Diff to previous 1.75.2.1 (colored) to branchpoint 1.75 (colored) to selected 1.73 (colored)

Pull up following revision(s) (requested by hannken in ticket #130):
	sys/kern/vnode_if.src: revision 1.77
As VOP_ADVLOCK() may block indefinitely we cannot take fstrans here.
Fixes PR kern/52364: System hangs not much before showing the login prompt

Revision 1.77 / (download) - annotate - [select for diffs], Wed Jul 12 09:31:07 2017 UTC (6 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, 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, nick-nhusb-base-20170825, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi, netbsd-9
Changes since 1.76: +2 -1 lines
Diff to previous 1.76 (colored) to selected 1.73 (colored)

As VOP_ADVLOCK() may block indefinitely we cannot take fstrans here.

Fixes PR kern/52364: System hangs not much before showing the login prompt

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Sun Jun 4 20:35:01 2017 UTC (6 years, 9 months ago) by bouyer
Branch: netbsd-8
Changes since 1.75: +3 -3 lines
Diff to previous 1.75 (colored) to selected 1.73 (colored)

pullup the following revisions, requested by hannken in ticket #2:
	src/share/man/man9/fstrans.9			1.25
	src/sys/kern/vfs_mount.c			1.66
	src/sys/kern/vfs_subr.c				1.468
	src/sys/kern/vfs_trans.c			1.46
	src/sys/kern/vfs_vnode.c			1.94, 1.95, 1.96
	src/sys/kern/vnode_if.c				1.105, 1.106
	src/sys/kern/vnode_if.sh			1.65, 1.66
	src/sys/kern/vnode_if.src			1.76
	src/sys/miscfs/genfs/genfs_io.c			1.69
	src/sys/miscfs/genfs/genfs_vnops.c		1.196, 1.197
	src/sys/miscfs/genfs/layer_extern.h		1.40
	src/sys/miscfs/genfs/layer_vfsops.c		1.51
	src/sys/miscfs/genfs/layer_vnops.c		1.67
	src/sys/miscfs/nullfs/null_vnops.c		1.42
	src/sys/miscfs/overlay/overlay_vnops.c		1.24
	src/sys/miscfs/umapfs/umap_vnops.c		1.60
	src/sys/rump/include/rump/rumpvnode_if.h	1.29, 1.30
	src/sys/rump/librump/rumpkern/emul.c		1.182
	src/sys/rump/librump/rumpvfs/rumpvnode_if.c	1.29, 1.30
	src/sys/sys/fstrans.h				1.11
	src/sys/sys/vnode.h				1.278
	src/sys/sys/vnode_if.h				1.100, 1.101
	src/sys/sys/vnode_impl.h			1.14, 1.15
	src/sys/ufs/lfs/lfs_pages.c			1.12

Vnode state, lock and fstrans cleanup:
- Rename vnode state "VS_ACTIVE" to "VS_LOADED" and add synthetic
  state "VS_ACTIVE" to assert a loaded vnode with usecount > 0.

- Redo FSTRANS in vnode_if.c and use it for VOP_LOCK and VOP_UNLOCK.

- Cleanup the genfs lock operations.

- Make "struct vnode_impl" member "vi_lock" a krwlock_t again.

- Remove the lock type argument from fstrans_start and
  fstrans_start_nowait,
  remove now unused FSTRANS state "FSTRANS_SUSPENDING".

Revision 1.76 / (download) - annotate - [select for diffs], Sun Jun 4 07:59:17 2017 UTC (6 years, 9 months ago) by hannken
Branch: MAIN
Changes since 1.75: +3 -3 lines
Diff to previous 1.75 (colored) to selected 1.73 (colored)

Add "FSTRANS=LOCK" and "FSTRANS=UNLOCK" to vop_lock and vop_unlock.

Add two "static inline" functions to vnode_if.c to handle MPSAFE
and FSTRANS before and after the "VCALL()".

Take FSTRANS and handle error before "VCALL(...vop_lock...)" and
release it after "VCALL(...vop_unlock...)".

Revision 1.75 / (download) - annotate - [select for diffs], Fri May 26 14:21:00 2017 UTC (6 years, 10 months ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Changes since 1.74: +4 -3 lines
Diff to previous 1.74 (colored) to selected 1.73 (colored)

Make VOP_RECLAIM do the last unlock of the vnode.

VOP_RECLAIM naturally has exclusive access to the vnode, so having it
locked on entry is not strictly necessary -- but it means if there
are any final operations that must be done on the vnode, such as
ffs_update, requiring exclusive access to it, we can now kassert that
the vnode is locked in those operations.

We can't just have the caller release the last lock because some file
systems don't use genfs_lock, and require the vnode to remain valid
for VOP_UNLOCK to work, notably unionfs.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Apr 26 03:02:49 2017 UTC (6 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2
Changes since 1.73: +7 -5 lines
Diff to previous 1.73 (colored)

Change VOP_REMOVE and VOP_RMDIR to preserve lock/ref on dvp.

No change to vp -- the plan is to replace the node by the
componentname in the vop parameters, and let all directory vops do
lookups internally.

Proposed on tech-kern with no objections:
https://mail-index.netbsd.org/tech-kern/2017/04/17/msg021825.html

Revision 1.69.2.2 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:27 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.69.2.1: +4 -3 lines
Diff to previous 1.69.2.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored) to selected 1.73 (colored)

Sync with HEAD

Revision 1.69.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:03 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.69: +15 -5 lines
Diff to previous 1.69 (colored) next main 1.70 (colored) to selected 1.73 (colored)

Sync with HEAD

Revision 1.73 / (download) - annotate - [selected], Sun Apr 16 16:48:08 2017 UTC (6 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-20170426, bouyer-socketcan-base1
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

Back out previous.

Breaks file systems for which VOP_UNLOCK doesn't work on a reclaimed
vnode.

The only case in tree right now is sys/fs/union -- most file systems
use genfs_unlock, which does work on a reclaimed vnode.

Maybe we can work around this -- and still enable VOP_RECLAIM's
callees to assert lock ownership -- by having VOP_RECLAIM unlock the
vnode instead.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Apr 15 23:16:53 2017 UTC (6 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored) to selected 1.73 (colored)

Keep vnode locked during VOP_RECLAIM.

No bump because it wouldn't have been possible to acquire the lock in
VOP_RECLAIM anyway -- instant deadlock because vn_lock waits to
transition out of the RECLAIMING state first.  Benefit is that we can
now assert ownership of the lock in any operations called by
VOP_RECLAIM.

Discussed on tech-kern:

https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html

Revision 1.71 / (download) - annotate - [select for diffs], Tue Apr 11 14:25:00 2017 UTC (6 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.70: +4 -3 lines
Diff to previous 1.70 (colored) to selected 1.73 (colored)

Make VOP_INACTIVE preserve vnode lock on return.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html

Ride 7.99.68, a bumpy bus of incremental vfs improvements!

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:48 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.69: +12 -3 lines
Diff to previous 1.69 (colored) to selected 1.73 (colored)

Sync with HEAD

Revision 1.70 / (download) - annotate - [select for diffs], Wed Feb 22 09:45:51 2017 UTC (7 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq
Changes since 1.69: +12 -3 lines
Diff to previous 1.69 (colored) to selected 1.73 (colored)

Prepare to move fstrans into vnode_if.c, allow "FSTRANS=YES"
and "FSTRANS=NO" in the vop description.
Add fstrans_start()/fstrans_done() to all vops that have FSTRANS=YES
or have the first vnode unlocked.

Revision 1.67.4.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:22 2015 UTC (8 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.67: +4 -3 lines
Diff to previous 1.67 (colored) to selected 1.73 (colored)

Sync with HEAD

Revision 1.69 / (download) - annotate - [select for diffs], Mon Apr 20 23:08:07 2015 UTC (8 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored) to selected 1.73 (colored)

Fix comment in vnode_if.src to reflect change to VOP_LINK.

Revision 1.68 / (download) - annotate - [select for diffs], Mon Apr 20 22:59:19 2015 UTC (8 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.67: +3 -2 lines
Diff to previous 1.67 (colored) to selected 1.73 (colored)

Make VOP_LINK return directory still locked and referenced.

Ride 7.99.10 bump.

Revision 1.63.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:29 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.63: +39 -27 lines
Diff to previous 1.63 (colored) to selected 1.73 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:58 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.66: +19 -1 lines
Diff to previous 1.66 (colored) next main 1.67 (colored) to selected 1.73 (colored)

Rebase.

Revision 1.67 / (download) - annotate - [select for diffs], Fri Jul 25 08:16:47 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7
Branch point for: nick-nhusb
Changes since 1.66: +19 -1 lines
Diff to previous 1.66 (colored) to selected 1.73 (colored)

Add VOP_FALLOCATE and VOP_FDISCARD.

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:41:04 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.63: +21 -27 lines
Diff to previous 1.63 (colored) next main 1.64 (colored) to selected 1.73 (colored)

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.63.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:08 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.63: +21 -27 lines
Diff to previous 1.63 (colored) next main 1.64 (colored) to selected 1.73 (colored)

sync with head

Revision 1.66 / (download) - annotate - [select for diffs], Fri Feb 7 15:26:42 2014 UTC (10 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.65: +5 -15 lines
Diff to previous 1.65 (colored) to selected 1.73 (colored)

Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Revision 1.65 / (download) - annotate - [select for diffs], Thu Jan 23 10:11:55 2014 UTC (10 years, 2 months ago) by hannken
Branch: MAIN
Changes since 1.64: +9 -9 lines
Diff to previous 1.64 (colored) to selected 1.73 (colored)

Change vnode operations create, mknod, mkdir and symlink to return
the resulting vnode *vpp unlocked.

Discussed on tech-kern@

Revision 1.64 / (download) - annotate - [select for diffs], Fri Jan 17 10:52:36 2014 UTC (10 years, 2 months ago) by hannken
Branch: MAIN
Changes since 1.63: +13 -9 lines
Diff to previous 1.63 (colored) to selected 1.73 (colored)

Change vnode operations create, mknod, mkdir and symlink to keep the
directory node dvp locked on return.

Discussed on tech-kern@

Revision 1.63 / (download) - annotate - [select for diffs], Fri Oct 14 09:23:31 2011 UTC (12 years, 5 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, 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-RC1, 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored) to selected 1.73 (colored)

Change the vnode locking protocol of VOP_GETATTR() to request at least
a shared lock.  Make all calls outside of file systems respect it.

The calls from file systems need review.

No objections from tech-kern.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Jul 11 08:23:00 2011 UTC (12 years, 8 months ago) by hannken
Branch: MAIN
Changes since 1.61: +10 -8 lines
Diff to previous 1.61 (colored) to selected 1.73 (colored)

Change VOP_BWRITE() to take a vnode as its first argument like all other
VOPs do.  Layered file systems no longer have to modify bp->b_vp and run
into trouble when an async VOP_BWRITE() uses the wrong vnode.

Adresses PR kern/38762 panic: vwakeup: neg numoutput

No objections from tech-kern@.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:42 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.60: +2 -6 lines
Diff to previous 1.60 (colored) next main 1.61 (colored) to selected 1.73 (colored)

Sync with HEAD.

Revision 1.58.8.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:12 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.58.8.2: +1 -5 lines
Diff to previous 1.58.8.2 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored) to selected 1.73 (colored)

sync with head

Revision 1.61 / (download) - annotate - [select for diffs], Sat Apr 2 23:05:50 2011 UTC (12 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.60: +2 -6 lines
Diff to previous 1.60 (colored) to selected 1.73 (colored)

Update UCB license (3rd clause drop).

Revision 1.58.8.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:27 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.58.8.1: +3 -8 lines
Diff to previous 1.58.8.1 (colored) to branchpoint 1.58 (colored) to selected 1.73 (colored)

sync with head

Revision 1.60 / (download) - annotate - [select for diffs], Sun Jan 2 06:58:45 2011 UTC (13 years, 2 months ago) by dholland
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.59: +3 -8 lines
Diff to previous 1.59 (colored) to selected 1.73 (colored)

Remove references to SAVESTART and SAVENAME in comments.

Revision 1.58.6.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:35 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.58: +1 -2 lines
Diff to previous 1.58 (colored) next main 1.59 (colored) to selected 1.73 (colored)

Sync with HEAD.

Revision 1.57.10.2 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:45 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57.10.1: +1 -2 lines
Diff to previous 1.57.10.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored) to selected 1.73 (colored)

sync with head.

Revision 1.58.8.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:56 2010 UTC (13 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.58: +1 -2 lines
Diff to previous 1.58 (colored) to selected 1.73 (colored)

sync with head

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jun 24 12:58:48 2010 UTC (13 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.58: +1 -2 lines
Diff to previous 1.58 (colored) to selected 1.73 (colored)

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.57.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:50 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) to selected 1.73 (colored)

sync with head.

Revision 1.57.18.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:40 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) next main 1.58 (colored) to selected 1.73 (colored)

Sync with HEAD.

Revision 1.57.6.1 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:21 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) next main 1.58 (colored) to selected 1.73 (colored)

Sync with HEAD.

Revision 1.57.16.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:10 2008 UTC (15 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) next main 1.58 (colored) to selected 1.73 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Nov 15 19:08:12 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, uebayasi-xip-base1, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) to selected 1.73 (colored)

vpp is not logically passed in IN with lookup, so INOUT -> OUT.
No functional change, but consistent with the rest.

Revision 1.54.6.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:02 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.54.6.1: +1 -10 lines
Diff to previous 1.54.6.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored) to selected 1.73 (colored)

sync with HEAD

Revision 1.54.12.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:49 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.54.12.1: +2 -10 lines
Diff to previous 1.54.12.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored) to selected 1.73 (colored)

Sync with HEAD.

Revision 1.44.4.6 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:26 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.44.4.5: +1 -10 lines
Diff to previous 1.44.4.5 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored) to selected 1.73 (colored)

sync with head.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Jan 25 14:32:15 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-net80211-sync-base, nick-net80211-sync, netbsd-5-base, 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, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs-base, 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, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-dm-base1, ad-socklock-base1
Branch point for: yamt-nfs-mp, nick-hppapmap, mjf-devfs2, haad-dm
Changes since 1.56: +1 -10 lines
Diff to previous 1.56 (colored) to selected 1.73 (colored)

Remove VOP_LEASE. Discussed on tech-kern.

Revision 1.44.4.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:35 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.44.4.4: +2 -1 lines
Diff to previous 1.44.4.4 (colored) to branchpoint 1.44 (colored) to selected 1.73 (colored)

sync with head

Revision 1.54.6.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:33 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.54: +2 -20 lines
Diff to previous 1.54 (colored) to selected 1.73 (colored)

sync with HEAD

Revision 1.55.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:28 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored) next main 1.56 (colored) to selected 1.73 (colored)

Sync with HEAD

Revision 1.56 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:58 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored) to selected 1.73 (colored)

Merge vmlocking2 to head.

Revision 1.54.12.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:47 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.54: +1 -20 lines
Diff to previous 1.54 (colored) to selected 1.73 (colored)

Sync with HEAD.

Revision 1.44.4.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:33:27 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.44.4.3: +1 -20 lines
Diff to previous 1.44.4.3 (colored) to branchpoint 1.44 (colored) to selected 1.73 (colored)

sync with head

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:23 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored) next main 1.56 (colored) to selected 1.73 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Tue Nov 27 19:38:21 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.54: +1 -20 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.73 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:11 2007 UTC (16 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.54: +1 -20 lines
Diff to previous 1.54 (colored) to selected 1.73 (colored)

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

Revision 1.51.6.3 / (download) - annotate - [select for diffs], Sun Sep 16 19:04:33 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.51.6.2: +2 -2 lines
Diff to previous 1.51.6.2 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored) to selected 1.73 (colored)

Checkpoint work in progress on the vnode lifecycle and reference counting
stuff. This makes it work properly without kernel_lock and fixes a few
quite old bugs. See vfs_subr.c 1.283.2.17 for details.

Revision 1.44.4.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:26 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.44.4.2: +8 -8 lines
Diff to previous 1.44.4.2 (colored) to branchpoint 1.44 (colored) to selected 1.73 (colored)

sync with head.

Revision 1.51.6.2 / (download) - annotate - [select for diffs], Mon Aug 20 21:27:47 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.51.6.1: +7 -7 lines
Diff to previous 1.51.6.1 (colored) to branchpoint 1.51 (colored) to selected 1.73 (colored)

Sync with HEAD.

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:49:26 2007 UTC (16 years, 7 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.52: +7 -7 lines
Diff to previous 1.52 (colored) next main 1.53 (colored) to selected 1.73 (colored)

Sync with HEAD.

Revision 1.54.14.2 / (download) - annotate - [select for diffs], Fri Jul 27 08:26:39 2007 UTC (16 years, 8 months ago) by pooka
Branch: matt-mips64
Changes since 1.54.14.1: +586 -0 lines
Diff to previous 1.54.14.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored) to selected 1.73 (colored)

Change unused fflags parameter in VOP_MMAP to prot and pass in
desired vm protection.

Revision 1.54.14.1, Fri Jul 27 08:26:38 2007 UTC (16 years, 8 months ago) by pooka
Branch: matt-mips64
Changes since 1.54: +0 -586 lines
FILE REMOVED

file vnode_if.src was added on branch matt-mips64 on 2007-07-27 08:26:39 +0000

Revision 1.54 / (download) - annotate - [select for diffs], Fri Jul 27 08:26:38 2007 UTC (16 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, matt-mips64-base, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) to selected 1.73 (colored)

Change unused fflags parameter in VOP_MMAP to prot and pass in
desired vm protection.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Jul 22 21:26:53 2007 UTC (16 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.52: +6 -6 lines
Diff to previous 1.52 (colored) to selected 1.73 (colored)

Introduce WILLMAKE for vnode operations which create a new vnode.
Insert a KASSERT along the return path of such operations to check
that the operation set the vnode size.

Revision 1.51.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:27 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored) next main 1.52 (colored) to selected 1.73 (colored)

Sync with head.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:54 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored) next main 1.52 (colored) to selected 1.73 (colored)

sync with head.

Revision 1.51.6.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:43 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored) to selected 1.73 (colored)

Sync with head.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Apr 9 14:58:28 2007 UTC (16 years, 11 months ago) by gdt
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored) to selected 1.73 (colored)

vop_link: reorder commented arguments to match actual calling order
(dvp, vp).

ok wrstuden@

Revision 1.44.4.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:24 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.44.4.1: +10 -22 lines
Diff to previous 1.44.4.1 (colored) to branchpoint 1.44 (colored) to selected 1.73 (colored)

sync with head.

Revision 1.50.12.1 / (download) - annotate - [select for diffs], Sat Feb 17 23:27:48 2007 UTC (17 years, 1 month ago) by tron
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.50: +10 -22 lines
Diff to previous 1.50 (colored) next main 1.51 (colored) to selected 1.73 (colored)

Apply patch (requested by chs in ticket #422):
- Fix various deadlock problems with nullfs and unionfs.
- Speed up path lookups by upto 25%.

Revision 1.50.8.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:08 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.50: +10 -22 lines
Diff to previous 1.50 (colored) next main 1.51 (colored) to selected 1.73 (colored)

Sync with head.

Revision 1.51 / (download) - annotate - [select for diffs], Sun Jan 7 21:33:24 2007 UTC (17 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, mjf-ufs-trans
Changes since 1.50: +10 -22 lines
Diff to previous 1.50 (colored) to selected 1.73 (colored)

update some comments for vnode locking smoergasbord change

amazing -- the description of VOP_LOOKUP is suddenly human-readable

Revision 1.48.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:17 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.48: +24 -24 lines
Diff to previous 1.48 (colored) next main 1.49 (colored) to selected 1.73 (colored)

sync with head

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:39 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.44: +45 -115 lines
Diff to previous 1.44 (colored) to selected 1.73 (colored)

sync with head.

Revision 1.48.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:11 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.48: +24 -24 lines
Diff to previous 1.48 (colored) next main 1.49 (colored) to selected 1.73 (colored)

Sync with head.

Revision 1.48.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:42 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.48: +24 -24 lines
Diff to previous 1.48 (colored) next main 1.49 (colored) to selected 1.73 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.48.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:42 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.48: +24 -24 lines
Diff to previous 1.48 (colored) next main 1.49 (colored) to selected 1.73 (colored)

sync with head.

Revision 1.50 / (download) - annotate - [select for diffs], Sun May 14 21:15:12 2006 UTC (17 years, 10 months ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, netbsd-4-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2, netbsd-4
Changes since 1.49: +22 -22 lines
Diff to previous 1.49 (colored) to selected 1.73 (colored)

integrate kauth.

Revision 1.48.10.2 / (download) - annotate - [select for diffs], Thu May 11 23:30:15 2006 UTC (17 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.48.10.1: +3 -3 lines
Diff to previous 1.48.10.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored) to selected 1.73 (colored)

sync with head

Revision 1.49 / (download) - annotate - [select for diffs], Thu May 4 16:48:16 2006 UTC (17 years, 10 months ago) by perseant
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) to selected 1.73 (colored)

Change VOP_FCNTL to take an unlocked vnode.  Approved by wrstuden@.

Revision 1.48.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 00:53:41 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.48: +22 -22 lines
Diff to previous 1.48 (colored) to selected 1.73 (colored)

Adapt to kernel authorization KPI.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Dec 30 11:19:09 2005 UTC (18 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored) to selected 1.73 (colored)

remove a wrong "LOCKED=YES" from vop_bmap.  pointed by Reinoud Zandijk.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:30 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.46: +20 -20 lines
Diff to previous 1.46 (colored) to selected 1.73 (colored)

merge ktrace-lwp.

Revision 1.46.2.2 / (download) - annotate - [select for diffs], Fri Nov 18 08:44:54 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-pervnode
Changes since 1.46.2.1: +1 -2 lines
Diff to previous 1.46.2.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored) to selected 1.73 (colored)

- associate read-ahead context to vnode, rather than file.
- revert VOP_READ prototype.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Tue Nov 15 03:41:02 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-perfile
Changes since 1.46: +2 -1 lines
Diff to previous 1.46 (colored) to selected 1.73 (colored)

add a readahead context argument to VOP_READ.

Revision 1.35.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:46 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.6: +2 -72 lines
Diff to previous 1.35.2.6 (colored) next main 1.36 (colored) to selected 1.73 (colored)

Sync with HEAD. Here we go again...

Revision 1.46 / (download) - annotate - [select for diffs], Wed Nov 2 12:38:59 2005 UTC (18 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, ktrace-lwp-base
Branch point for: yamt-readahead
Changes since 1.45: +1 -71 lines
Diff to previous 1.45 (colored) to selected 1.73 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Thu Oct 20 01:34:57 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-vop
Changes since 1.45: +1 -71 lines
Diff to previous 1.45 (colored) next main 1.46 (colored) to selected 1.73 (colored)

remove the following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.45 / (download) - annotate - [select for diffs], Sun Sep 25 12:50:14 2005 UTC (18 years, 6 months ago) by isaki
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) to selected 1.73 (colored)

Correct typo in a comment. ok'ed by wiz@.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:25 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.42: +1 -1 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.73 (colored)

sync with -current

Revision 1.44 / (download) - annotate - [select for diffs], Sat Feb 26 22:14:39 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.43: +13 -13 lines
Diff to previous 1.43 (colored) to selected 1.73 (colored)

revert trailing whitespace change -- it had unintended consequences

Revision 1.43 / (download) - annotate - [select for diffs], Sat Feb 26 21:34:56 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.42: +14 -14 lines
Diff to previous 1.42 (colored) to selected 1.73 (colored)

nuke trailing whitespace

Revision 1.35.2.6 / (download) - annotate - [select for diffs], Mon Jan 17 19:32:26 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.5: +68 -1 lines
Diff to previous 1.35.2.5 (colored) to selected 1.73 (colored)

Sync with HEAD.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Jan 2 16:08:29 2005 UTC (19 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, yamt-km, kent-audio1-beforemerge
Branch point for: kent-audio2
Changes since 1.41: +68 -1 lines
Diff to previous 1.41 (colored) to selected 1.73 (colored)

Add the system call and VFS infrastructure for file system extended
attributes.

From FreeBSD.

Revision 1.35.2.5 / (download) - annotate - [select for diffs], Fri Sep 24 10:53:43 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.4: +45 -44 lines
Diff to previous 1.35.2.4 (colored) to selected 1.73 (colored)

Sync with HEAD.

Revision 1.35.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:19 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.3: +15 -15 lines
Diff to previous 1.35.2.3 (colored) to selected 1.73 (colored)

Fix the sync with head I botched.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Sep 21 03:10:35 2004 UTC (19 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.40: +45 -44 lines
Diff to previous 1.40 (colored) to selected 1.73 (colored)

Add a new VNODE_LOCKDEBUG option, which enables checks in the VOP_*()
calls to ensure that the vnode lock state is as expected when the VOP
call is made.  Modify vnode_if.src to set the expected state according
to the documenting lock table for each VOP.  Modify vnode_if.sh to emit
the checks.

Notes:
- The checks are only performed if the vnode has the VLOCKSWORK bit
  set.  Some file systems (e.g. specfs) don't even bother with vnode
  locks, so of course the checks will fail.
- We can't actually run with VNODE_LOCKDEBUG because there are so many
  vnode locking problems, not the least of which is the "use SHARED for
  VOP_READ()" issue, which screws things up for the entire call chain.

Inspired by similar changes in OpenBSD, but implemented differently.

Revision 1.35.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:04 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.2: +16 -16 lines
Diff to previous 1.35.2.2 (colored) to selected 1.73 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Sep 10 09:37:41 2004 UTC (19 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored) to selected 1.73 (colored)

VOP_BMAP isn't protected by vnode locks these days.

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:53:04 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.35.2.1: +10 -9 lines
Diff to previous 1.35.2.1 (colored) to selected 1.73 (colored)

Sync with HEAD

Revision 1.39 / (download) - annotate - [select for diffs], Thu May 27 12:49:09 2004 UTC (19 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored) to selected 1.73 (colored)

update to match with the recent reality: getpages doesn't care about
vnode locks.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jan 25 18:02:04 2004 UTC (20 years, 2 months ago) by hannken
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.37: +6 -5 lines
Diff to previous 1.37 (colored) to selected 1.73 (colored)

Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jan 24 01:40:57 2004 UTC (20 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) to selected 1.73 (colored)

Add semicolons after variable declarations; closes PR 24201.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Nov 17 11:16:10 2003 UTC (20 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) to selected 1.73 (colored)

Various typo fixes from Jonathon Gray via jmc@openbsd.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:48 2003 UTC (20 years, 9 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.35: +15 -15 lines
Diff to previous 1.35 (colored) to selected 1.73 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:36 2003 UTC (20 years, 9 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.34: +14 -14 lines
Diff to previous 1.34 (colored) to selected 1.73 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:00 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.33: +15 -15 lines
Diff to previous 1.33 (colored) to selected 1.73 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.33 / (download) - annotate - [select for diffs], Thu Apr 10 20:35:36 2003 UTC (20 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored) to selected 1.73 (colored)

'tvp' in vop_rename needs to be vput(), not vrele()d, so adjust the
description here to match current reality
okayed by Bill Studenmund

Revision 1.32 / (download) - annotate - [select for diffs], Thu Apr 10 20:26:57 2003 UTC (20 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored) to selected 1.73 (colored)

Use 'void *' instead of 'caddr_t' in prototypes of VOP_IOCTL, VOP_FCNTL
and VOP_ADVLOCK

Revision 1.26.2.4 / (download) - annotate - [select for diffs], Mon Nov 11 22:14:17 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.26.2.3: +9 -1 lines
Diff to previous 1.26.2.3 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored) to selected 1.73 (colored)

Catch up to -current

Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 23 09:14:32 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.30: +9 -1 lines
Diff to previous 1.30 (colored) to selected 1.73 (colored)

merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.28.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 20:00:24 2002 UTC (22 years, 2 months ago) by thorpej
Branch: kqueue
Changes since 1.28.2.2: +6 -27 lines
Diff to previous 1.28.2.2 (colored) next main 1.29 (colored) to selected 1.73 (colored)

Sync kqueue branch with -current.

Revision 1.29.2.3 / (download) - annotate - [select for diffs], Mon Oct 1 12:47:03 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.29.2.2: +6 -27 lines
Diff to previous 1.29.2.2 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored) to selected 1.73 (colored)

Catch up with -current.

Revision 1.26.2.3 / (download) - annotate - [select for diffs], Fri Sep 21 22:36:29 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.26.2.2: +6 -27 lines
Diff to previous 1.26.2.2 (colored) to branchpoint 1.26 (colored) to selected 1.73 (colored)

Catch up to -current.

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Tue Sep 18 19:21:19 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.29.2.1: +4 -1 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored) to selected 1.73 (colored)

Do that regen thang.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Tue Sep 18 19:13:55 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored) to selected 1.73 (colored)

Various changes to make cloning devices possible:

	* Add an extra argument (struct vnode **) to VOP_OPEN. If it is
	  not NULL, specfs will create a cloned (aliased) vnode during
	  the call, and return it there. The caller should release and
	  unlock the original vnode if a new vnode was returned. The
	  new vnode is returned locked.

	* Add a flag field to the cdevsw and bdevsw structures.
	  DF_CLONING indicates that it wants a new vnode for each
	  open (XXX is there a better way? devprop?)

	* If a device is cloning, always call the close entry
	  point for a VOP_CLOSE.


Also, rewrite cons.c to do the right thing with vnodes. Use VOPs
rather then direct device entry calls. Suggested by mycroft@

Light to moderate testing done an i386 system (arch doesn't matter
though, these are MI changes).

Revision 1.30 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:37 2001 UTC (22 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, post-chs-ubcperf, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, kqueue-beforemerge, kqueue-base, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.29: +6 -27 lines
Diff to previous 1.29 (colored) to selected 1.73 (colored)

a whole bunch of changes to improve performance and robustness under load:

 - remove special treatment of pager_map mappings in pmaps.  this is
   required now, since I've removed the globals that expose the address range.
   pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's
   no longer any need to special-case it.
 - eliminate struct uvm_vnode by moving its fields into struct vnode.
 - rewrite the pageout path.  the pager is now responsible for handling the
   high-level requests instead of only getting control after a bunch of work
   has already been done on its behalf.  this will allow us to UBCify LFS,
   which needs tighter control over its pages than other filesystems do.
   writing a page to disk no longer requires making it read-only, which
   allows us to write wired pages without causing all kinds of havoc.
 - use a new PG_PAGEOUT flag to indicate that a page should be freed
   on behalf of the pagedaemon when it's unlocked.  this flag is very similar
   to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the
   pageout fails due to eg. an indirect-block buffer being locked.
   this allows us to remove the "version" field from struct vm_page,
   and together with shrinking "loan_count" from 32 bits to 16,
   struct vm_page is now 4 bytes smaller.
 - no longer use PG_RELEASED for swap-backed pages.  if the page is busy
   because it's being paged out, we can't release the swap slot to be
   reallocated until that write is complete, but unlike with vnodes we
   don't keep a count of in-progress writes so there's no good way to
   know when the write is done.  instead, when we need to free a busy
   swap-backed page, just sleep until we can get it busy ourselves.
 - implement a fast-path for extending writes which allows us to avoid
   zeroing new pages.  this substantially reduces cpu usage.
 - encapsulate the data used by the genfs code in a struct genfs_node,
   which must be the first element of the filesystem-specific vnode data
   for filesystems which use genfs_{get,put}pages().
 - eliminate many of the UVM pagerops, since they aren't needed anymore
   now that the pager "put" operation is a higher-level operation.
 - enhance the genfs code to allow NFS to use the genfs_{get,put}pages
   instead of a modified copy.
 - clean up struct vnode by removing all the fields that used to be used by
   the vfs_cluster.c code (which we don't use anymore with UBC).
 - remove kmem_object and mb_object since they were useless.
   instead of allocating pages to these objects, we now just allocate
   pages with no object.  such pages are mapped in the kernel until they
   are freed, so we can use the mapping to find the page to free it.
   this allows us to remove splvm() protection in several places.

The sum of all these changes improves write throughput on my
decstation 5000/200 to within 1% of the rate of NetBSD 1.5
and reduces the elapsed time for "make release" of a NetBSD 1.5
source tree on my 128MB pc to 10% less than a 1.5 kernel took.

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Fri Aug 24 00:11:47 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.26.2.1: +5 -9 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored) to selected 1.73 (colored)

Catch up with -current.

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:45 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.28.2.1: +5 -9 lines
Diff to previous 1.28.2.1 (colored) to selected 1.73 (colored)

update to -current

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jul 24 15:39:31 2001 UTC (22 years, 8 months ago) by assar
Branch: MAIN
CVS Tags: thorpej-devvp-base, pre-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.28: +5 -9 lines
Diff to previous 1.28 (colored) to selected 1.73 (colored)

change vop_symlink and vop_mknod to return vpp (the created node)
refed, so that the caller can actually use it.  update callers and
file systems that implement these vnode operations

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Tue Jul 10 13:49:49 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.28: +9 -1 lines
Diff to previous 1.28 (colored) to selected 1.73 (colored)

add vop_kqfilter

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:07:14 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) to selected 1.73 (colored)

Catch up to -current.

Revision 1.28 / (download) - annotate - [select for diffs], Sat May 26 21:33:11 2001 UTC (22 years, 10 months ago) by chs
Branch: MAIN
Branch point for: kqueue
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.73 (colored)

replace vm_page_t with struct vm_page *.

Revision 1.27 / (download) - annotate - [select for diffs], Sat May 26 21:27:19 2001 UTC (22 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.73 (colored)

replace vm_page_t with struct vm_page *.

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Thu Dec 14 23:37:38 2000 UTC (23 years, 3 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.73 (colored)

Pull up revision 1.25 (requested by fvdl):
  Improve NFS performance, possibly with as much as 100% in
  throughput.  Please note: this implies a kernel interface change,
  VOP_FSYNC gains two arguments.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:14:04 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.20.2.1: +46 -1 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored) to selected 1.73 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Nov 27 08:39:45 2000 UTC (23 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.25: +46 -1 lines
Diff to previous 1.25 (colored) to selected 1.73 (colored)

Initial integration of the Unified Buffer Cache project.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:18 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.20: +48 -4 lines
Diff to previous 1.20 (colored) to selected 1.73 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.25 / (download) - annotate - [select for diffs], Tue Sep 19 21:57:14 2000 UTC (23 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored) to selected 1.73 (colored)

Add start and end parameters to the fsync VOP, giving a range of the
file to write out. If both are 0, the whole file is synced. A filesystem
that is not able to sync out a range of a file may elect to sync
the whole file anyway.

Revision 1.24 / (download) - annotate - [select for diffs], Sat May 13 23:43:07 2000 UTC (23 years, 10 months ago) by perseant
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored) to selected 1.73 (colored)

Change the sementics of the last parameter from a boolean ("waitfor") to
a set of flags ("flags").  Two flags are defined, UPDATE_WAIT and
UPDATE_DIROP.

Under the old semantics, VOP_UPDATE would block if waitfor were set,
under the assumption that directory operations should be done
synchronously.  At least LFS and FFS+softdep do not make this
assumption; FFS+softdep got around the problem by enclosing all relevant
calls to VOP_UPDATE in a "if(!DOINGSOFTDEP(vp))", while LFS simply
ignored waitfor, one of the reasons why NFS-serving an LFS filesystem
did not work properly.

Under the new semantics, the UPDATE_DIROP flag is a hint to the
fs-specific update routine that the call comes from a dirop routine, and
should be wait for, or not, accordingly.

Closes PR#8996.

Revision 1.20.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:55 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.20: +45 -3 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.73 (colored)

Pull up to last week's -current.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Dec 7 23:57:49 1999 UTC (24 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Changes since 1.22: +1 -13 lines
Diff to previous 1.22 (colored) to selected 1.73 (colored)

Remove duplicate vop_balloc definition accidentally added in rev 1.21.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Dec 7 21:06:48 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: MAIN
Changes since 1.21: +33 -3 lines
Diff to previous 1.21 (colored) to selected 1.73 (colored)

Add comments to describe the lookup parameters needed in the various
component name fragments passed into VOP calls.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Nov 15 18:49:10 1999 UTC (24 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.20: +25 -1 lines
Diff to previous 1.20 (colored) to selected 1.73 (colored)

Add Kirk McKusick's soft updates code to the trunk. Not enabled by
default, as the copyright on the main file (ffs_softdep.c) is such
that is has been put into gnusrc. options SOFTDEP will pull this
in. This code also contains the trickle syncer.

Bump version number to 1.4O

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Tue Oct 19 12:50:11 1999 UTC (24 years, 5 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.20: +25 -1 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.73 (colored)

Bring in Kirk McKusick's FFS softdep code on a branch.

Revision 1.16.4.7 / (download) - annotate - [select for diffs], Tue Aug 31 21:03:44 1999 UTC (24 years, 7 months ago) by perseant
Branch: chs-ubc2
Changes since 1.16.4.6: +2 -2 lines
Diff to previous 1.16.4.6 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.73 (colored)

Rudimentary support for LFS under UBC:

- LFS-specific VOP_BALLOC and VOP_PUTPAGES vnode ops.

- getblk VREG panic #ifdef'd out (can be reinstated when Ifile is
  internalized and Ifile can be made another type from VREG)

- interface to VOP_PUTPAGES changed to pass all pager flags, not
  just sync.  FS putpages routines must know about the pager flags.

- new LFS magic disk address, -2 ("unwritten"), meaning accounted for
  but not assigned to a fixed disk location (since LFS does these two
  things separately, and the previous accounting method using buffer
  headers no longer will work).  Changed references to (foo == (daddr_t)-1)
  to (foo < 0).  Since disk drivers reject all addresses < 0, this should
  not present a problem for other FSs.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Aug 11 00:20:50 1999 UTC (24 years, 7 months ago) by wrstuden
Branch: MAIN
CVS Tags: fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.19: +21 -8 lines
Diff to previous 1.19 (colored) to selected 1.73 (colored)

Modify comments regarding VOP_LOOKUP. Revised lookup description, and also
document both cases which can set PDIRUNLOCK.

Reviewed by Bill Sommerfeld.

Revision 1.16.4.6 / (download) - annotate - [select for diffs], Mon Aug 9 00:05:53 1999 UTC (24 years, 7 months ago) by chs
Branch: chs-ubc2
Changes since 1.16.4.5: +2 -2 lines
Diff to previous 1.16.4.5 (colored) to branchpoint 1.16 (colored) to selected 1.73 (colored)

create a new type "voff_t" for uvm_object offsets
and define it to be "off_t".  also, remove pgo_asyncget().

Revision 1.19 / (download) - annotate - [select for diffs], Tue Aug 3 18:19:08 1999 UTC (24 years, 8 months ago) by wrstuden
Branch: MAIN
Changes since 1.18: +13 -1 lines
Diff to previous 1.18 (colored) to selected 1.73 (colored)

Add VOP_FCNTL.

Revision 1.16.4.5 / (download) - annotate - [select for diffs], Mon Aug 2 22:18:34 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.16.4.4: +12 -12 lines
Diff to previous 1.16.4.4 (colored) to branchpoint 1.16 (colored) to selected 1.73 (colored)

Update from trunk.

Revision 1.16.4.4 / (download) - annotate - [select for diffs], Sat Jul 31 18:40:02 1999 UTC (24 years, 8 months ago) by chs
Branch: chs-ubc2
Changes since 1.16.4.3: +2 -3 lines
Diff to previous 1.16.4.3 (colored) to branchpoint 1.16 (colored) to selected 1.73 (colored)

VOP_BALLOC() now allocates a range instead of just one block.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jul 7 23:32:50 1999 UTC (24 years, 8 months ago) by wrstuden
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.17: +12 -12 lines
Diff to previous 1.17 (colored) to selected 1.73 (colored)

Update syntax to support WILLUNLOCK and WILLPUT syntax. Change calls which
really vput to indicate that rather than just WILLRELE.

Revision 1.16.4.3 / (download) - annotate - [select for diffs], Sun Jul 4 01:42:26 1999 UTC (24 years, 9 months ago) by chs
Branch: chs-ubc2
Changes since 1.16.4.2: +13 -1 lines
Diff to previous 1.16.4.2 (colored) to branchpoint 1.16 (colored) to selected 1.73 (colored)

add VOP_BALLOC().

Revision 1.16.4.2 / (download) - annotate - [select for diffs], Thu Jul 1 23:43:23 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.16.4.1: +3 -2 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored) to selected 1.73 (colored)

Sync w/ -current.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jun 21 02:28:46 1999 UTC (24 years, 9 months ago) by sommerfeld
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored) to selected 1.73 (colored)

Correct comment about how LOCKPARENT affects VOP_LOOKUP

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Mon Jun 7 04:25:31 1999 UTC (24 years, 9 months ago) by chs
Branch: chs-ubc2
Changes since 1.16: +26 -1 lines
Diff to previous 1.16 (colored) to selected 1.73 (colored)

merge everything from chs-ubc branch.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 22 16:57:37 1999 UTC (25 years ago) by sommerfe
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.15: +13 -1 lines
Diff to previous 1.15 (colored) to selected 1.73 (colored)

Include some comments with more details on the VOP_LOOKUP locking protocol

Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 26 23:38:55 1999 UTC (25 years, 1 month ago) by wrstuden
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.73 (colored)

Modify VOP_CLOSE vnode op to always take a locked vnode. Change vn_close
to pass down a locked node. Modify union_copyup() to call VOP_CLOSE
locked nodes.

Also fix a bug in union_copyup() where a lock on the lower vnode would
only be released if VOP_OPEN didn't fail.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Mon Nov 9 06:06:33 1998 UTC (25 years, 4 months ago) by chs
Branch: chs-ubc
Changes since 1.14: +26 -1 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.73 (colored)

initial snapshot.  lots left to do.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 5 19:38:56 1998 UTC (25 years, 9 months ago) by kleink
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base
Branch point for: chs-ubc
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) to selected 1.73 (colored)

Replace the `waitfor' argument to the fsync vnode operator with a `flags'
argument.

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:56:11 1998 UTC (26 years, 1 month ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: post-lite-2
Changes since 1.1.1.2: +3 -3 lines
Diff to previous 1.1.1.2 (colored) to selected 1.73 (colored)

Import some files that were changed after Lite2

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 1 02:22:37 1998 UTC (26 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.12: +184 -5 lines
Diff to previous 1.12 (colored) to selected 1.73 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:10 1998 UTC (26 years, 1 month ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +202 -4 lines
Diff to previous 1.1.1.1 (colored) to selected 1.73 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:09:56 1998 UTC (26 years, 1 month ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1: +1 -5 lines
Diff to previous 1.1 (colored) to selected 1.73 (colored)

Import 4.4BSD-Lite for reference

Revision 1.11.10.1 / (download) - annotate - [select for diffs], Tue Oct 14 10:26:33 1997 UTC (26 years, 5 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored) to selected 1.73 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 10 02:07:00 1997 UTC (26 years, 5 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.73 (colored)

Make last argument to VOP_READDIR off_t.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Sep 7 12:41:06 1996 UTC (27 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, thorpej-setroot, mrg-vm-swap, marc-pcmcia-bp, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.10: +3 -6 lines
Diff to previous 1.10 (colored) to selected 1.73 (colored)

Implement poll(2).

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 11 18:26:27 1996 UTC (27 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.73 (colored)

Change VOP_UPDATE() semantics:
* Make 2nd and 3rd args timespecs, not timevals.
* Consistently pass a Boolean as the 4th arg (except in LFS).
Also, fix ffs_update() and lfs_update() to actually change the nsec fields.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Feb 9 14:45:38 1996 UTC (28 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) to selected 1.73 (colored)

Fix vop_link, vop_symlink, and vop_remove semantics in several ways:
* Change the argument names to vop_link so they actually make sense.
* Implement vop_link and vop_symlink for all file systems, so they do proper
  cleanup.
* Require the file system to decide whether or not linking and unlinking of
  directories is allowed, and disable it for all current file systems.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Dec 14 18:58:43 1994 UTC (29 years, 3 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored) to selected 1.73 (colored)

Remove a_fp.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Dec 14 13:03:11 1994 UTC (29 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +7 -1 lines
Diff to previous 1.6 (colored) to selected 1.73 (colored)

Add vop_whiteout, per CSRG.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 13 20:14:30 1994 UTC (29 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +8 -1 lines
Diff to previous 1.5 (colored) to selected 1.73 (colored)

Turn lease_check() into a vnode op, per CSRG.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 14 06:01:25 1994 UTC (29 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored) to selected 1.73 (colored)

added extra argument in vn_open and VOP_OPEN to allow cloning devices

Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 30 21:48:17 1994 UTC (29 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.73 (colored)

be more careful with types, also pull in headers where necessary.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 20 04:23:26 1994 UTC (29 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.73 (colored)

update for new syscall args description mechanism

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 29 06:34:07 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) to selected 1.73 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 8 11:29:02 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
Diff to selected 1.73 (colored)

Update to 4.4-Lite fs code.

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>