The NetBSD Project

CVS log for src/sys/fs/efs/efs_vnops.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.44 / (download) - annotate - [select for diffs], Sat Aug 6 18:26:41 2022 UTC (19 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) to selected 1.14.10.3 (colored)

s/blity/bility/ in various words, mainly in comments.

Revision 1.41.6.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:36 2021 UTC (2 years, 7 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.41: +6 -66 lines
Diff to previous 1.41 (colored) next main 1.42 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jul 18 23:56:13 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.42: +5 -68 lines
Diff to previous 1.42 (colored) to selected 1.14.10.3 (colored)

Use macros for the canned parts of device and fifo vnode op tables.

Add GENFS_SPECOP_ENTRIES and GENFS_FIFOOP_ENTRIES macros that contain
the portion of the vnode ops table declaration that is
(conservatively) the same in every fs. Use these in every fs that
supports devices and/or fifos with separate ops tables.

Note that ptyfs works differently (it has one type of vnode with
open-coded dispatch to the specfs code, which I haven't changed in
this commit) and rump/librump/rumpvfs/rumpfs.c has an indirect dynamic
dispatch that already does more or less the same thing, which I also
haven't changed.

Also note that this anticipates a few bits in the next changeset here
and there, and adds missing but unreachable calls in some cases (e.g.
most fses weren't defining whiteout on devices and fifos, but it isn't
reachable there), and it changes parsepath on devices and fifos to
genfs_badop from genfs_parsepath (but it's not reachable there
either).

It appears that devices in kernfs were missing kqfilter, so it's
possible that if you try to use kqueue on /kern/rootdev that it'll
explode.

And finally note that the ops declaration tables aren't
order-dependent. (Other than vop_default_desc has to come first.)
Otherwise this wouldn't work.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jun 29 22:34:06 2021 UTC (2 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.41: +5 -2 lines
Diff to previous 1.41 (colored) to selected 1.14.10.3 (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.41 / (download) - annotate - [select for diffs], Sat Jun 27 17:29:17 2020 UTC (3 years, 9 months ago) by christos
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.40: +3 -3 lines
Diff to previous 1.40 (colored) to selected 1.14.10.3 (colored)

Introduce genfs_pathconf() and use it for the default case in all filesystems.

Revision 1.40 / (download) - annotate - [select for diffs], Sat May 16 18:31:48 2020 UTC (3 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.39: +14 -11 lines
Diff to previous 1.39 (colored) to selected 1.14.10.3 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.38.20.1 / (download) - annotate - [select for diffs], Sat Apr 25 11:24:04 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.14.10.3 (colored)

Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.39 / (download) - annotate - [select for diffs], Thu Apr 23 21:47:07 2020 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored) to selected 1.14.10.3 (colored)

PR kern/54759 (vm.ubc_direct deadlock when read()/write() into mapping of itself)

- Add new flag UBC_ISMAPPED which tells ubc_uiomove() the object is mmap()ed
  somewhere.  Use it to decide whether to do direct-mapped copy, rather than
  poking around directly in the vnode in ubc_uiomove(), which is ugly and
  doesn't work for tmpfs.  It would be nicer to contain all this in UVM but
  the filesystem provides the needed locking here (VV_MAPPED) and to
  reinvent that would suck more.

- Rename UBC_UNMAP_FLAG() to UBC_VNODE_FLAGS().  Pass in UBC_ISMAPPED where
  appropriate.

Revision 1.26.2.5 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:41 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.26.2.4: +11 -11 lines
Diff to previous 1.26.2.4 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored) to selected 1.14.10.3 (colored)

update from HEAD

Revision 1.33.4.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:05 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.33.4.3: +6 -5 lines
Diff to previous 1.33.4.3 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Fri May 26 14:21:00 2017 UTC (6 years, 10 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.37: +5 -3 lines
Diff to previous 1.37 (colored) to selected 1.14.10.3 (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.35.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:25 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.35: +3 -4 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:00 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.36: +3 -4 lines
Diff to previous 1.36 (colored) next main 1.37 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD

Revision 1.37 / (download) - annotate - [select for diffs], Tue Apr 11 14:24:59 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, pgoyette-localcount-20170426, bouyer-socketcan-base1
Changes since 1.36: +3 -4 lines
Diff to previous 1.36 (colored) to selected 1.14.10.3 (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.33.4.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:01 2016 UTC (7 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.33.4.2: +4 -5 lines
Diff to previous 1.33.4.2 (colored) to branchpoint 1.33 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Sat Aug 20 12:37:07 2016 UTC (7 years, 7 months ago) by hannken
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.35: +2 -3 lines
Diff to previous 1.35 (colored) to selected 1.14.10.3 (colored)

Remove now obsolete operation vcache_remove().

Welcome to 7.99.36

Revision 1.33.4.2 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:19 2016 UTC (7 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.33.4.1: +8 -8 lines
Diff to previous 1.33.4.1 (colored) to branchpoint 1.33 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:42 2016 UTC (7 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Changes since 1.34: +8 -8 lines
Diff to previous 1.34 (colored) to selected 1.14.10.3 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:31 2016 UTC (8 years ago) by skrll
Branch: nick-nhusb
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Wed Mar 2 19:27:05 2016 UTC (8 years ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) to selected 1.14.10.3 (colored)

PR/50883: David Binderman: Remove redundant code.

Revision 1.26.2.4 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:26 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.26.2.3: +14 -21 lines
Diff to previous 1.26.2.3 (colored) to branchpoint 1.26 (colored) to selected 1.14.10.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:53 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.31: +15 -25 lines
Diff to previous 1.31 (colored) next main 1.32 (colored) to selected 1.14.10.3 (colored)

Rebase.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Aug 7 08:24:23 2014 UTC (9 years, 7 months ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, 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.32: +9 -25 lines
Diff to previous 1.32 (colored) to selected 1.14.10.3 (colored)

Change efs from hashlist to vcache.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jul 25 08:20:51 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.31: +8 -2 lines
Diff to previous 1.31 (colored) to selected 1.14.10.3 (colored)

Add VOP_FALLOCATE and VOP_FDISCARD to every vnode ops table I can
find.

The filesystem ones all call genfs_eopnotsupp - right now I am only
implementing the plumbing and we can implement fallocate and/or
fdiscard for files later.

The device ones call spec_fallocate (which is also genfs_eopnotsupp)
and spec_fdiscard, which dispatches to the device-level op.

The fifo ones all call vn_fifo_bypass, which also ends up being
EOPNOTSUPP.

Revision 1.24.4.5 / (download) - annotate - [select for diffs], Thu May 22 11:41:00 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.24.4.4: +7 -4 lines
Diff to previous 1.24.4.4 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored) to selected 1.14.10.3 (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.30.6.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:04 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.30: +6 -3 lines
Diff to previous 1.30 (colored) next main 1.31 (colored) to selected 1.14.10.3 (colored)

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Fri Feb 7 15:29:21 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.30: +6 -3 lines
Diff to previous 1.30 (colored) to selected 1.14.10.3 (colored)

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

Discussed on tech-kern@

Welcome to 6.99.31

Revision 1.26.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 06:18:27 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.26.2.2: +3 -3 lines
Diff to previous 1.26.2.2 (colored) to branchpoint 1.26 (colored) to selected 1.14.10.3 (colored)

resync from head

Revision 1.30 / (download) - annotate - [select for diffs], Mon Mar 18 19:35:36 2013 UTC (11 years ago) by plunky
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) to selected 1.14.10.3 (colored)

C99 section 6.7.2.3 (Tags) Note 3 states that:

  A type specifier of the form

	enum identifier

  without an enumerator list shall only appear after the type it
  specifies is complete.

which means that we cannot pass an "enum vtype" argument to
kauth_access_action() without fully specifying the type first.
Unfortunately there is a complicated include file loop which
makes that difficult, so convert this minimal function into a
macro (and capitalize it).

(ok elad@)

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:47 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.26.2.1: +2 -4 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored) to selected 1.14.10.3 (colored)

resync with head

Revision 1.24.4.4 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:19 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.24.4.3: +2 -4 lines
Diff to previous 1.24.4.3 (colored) to branchpoint 1.24 (colored) to selected 1.14.10.3 (colored)

sync with head

Revision 1.24.4.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:38 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.24.4.2: +10 -7 lines
Diff to previous 1.24.4.2 (colored) to branchpoint 1.24 (colored) to selected 1.14.10.3 (colored)

sync with (a bit old) head

Revision 1.29 / (download) - annotate - [select for diffs], Thu Dec 20 08:03:42 2012 UTC (11 years, 3 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.28: +2 -4 lines
Diff to previous 1.28 (colored) to selected 1.14.10.3 (colored)

Change bread() and breadn() to never return a buffer on
error and modify all callers to not brelse() on error.

Welcome to 6.99.16

PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:39 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.26: +10 -7 lines
Diff to previous 1.26 (colored) to selected 1.14.10.3 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.28 / (download) - annotate - [select for diffs], Mon Nov 5 17:27:37 2012 UTC (11 years, 4 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.27: +8 -5 lines
Diff to previous 1.27 (colored) to selected 1.14.10.3 (colored)

Excise struct componentname from the namecache.

This uglifies the interface, because several operations need to be
passed the namei flags and cache_lookup also needs for the time being
to be passed cnp->cn_nameiop. Nonetheless, it's a net benefit.

The glop should be able to go away eventually but requires structural
cleanup elsewhere first.

This change requires a kernel bump.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Nov 5 17:24:09 2012 UTC (11 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored) to selected 1.14.10.3 (colored)

Disentangle the namecache from the internals of namei.

 - Move the namecache's hash computation to inside the namecache code,
instead of being spread out all over the place. Remove cn_hash from
struct componentname and delete all uses of it.

 - It is no longer necessary (if it ever was) for cache_lookup and
cache_lookup_raw to clear MAKEENTRY from cnp->cn_flags for the cases
that cache_enter already checks for.

 - Rearrange the interface of cache_lookup (and cache_lookup_raw) to
make it somewhat simpler, to exclude certain nonexistent error
conditions, and (most importantly) to make it not require write access
to cnp->cn_flags.

This change requires a kernel bump.

Revision 1.24.4.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:22 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.24.4.1: +5 -7 lines
Diff to previous 1.24.4.1 (colored) to branchpoint 1.24 (colored) to selected 1.14.10.3 (colored)

sync with head

Revision 1.24.10.1 / (download) - annotate - [select for diffs], Sun Aug 12 12:59:49 2012 UTC (11 years, 7 months ago) by martin
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.24: +5 -7 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.14.10.3 (colored)

Pull up following revision(s) (requested by manu in ticket #484):
	sys/fs/nilfs/nilfs_vnops.c: revision 1.18
	sys/ufs/ufs/ufs_lookup.c: revision 1.117
	sys/nfs/nfs_vnops.c: revision 1.295
	sys/ufs/chfs/chfs_vnops.c: revision 1.8
	sys/ufs/ext2fs/ext2fs_lookup.c: revision 1.70
	sys/fs/unionfs/unionfs_vnops.c: revision 1.6
	sys/kern/vfs_cache.c: revision 1.89
	sys/fs/efs/efs_vnops.c: revision 1.26
	sys/fs/hfs/hfs_vnops.c: revision 1.26
	sys/fs/adosfs/adlookup.c: revision 1.16
	sys/fs/puffs/puffs_vnops.c: revision 1.168
	sys/fs/tmpfs/tmpfs_vnops.c: revision 1.98
	sys/fs/ntfs/ntfs_vnops.c: revision 1.52
	sys/fs/cd9660/cd9660_lookup.c: revision 1.20
	sys/fs/msdosfs/msdosfs_lookup.c: revision 1.24
	sys/fs/smbfs/smbfs_vnops.c: revision 1.80
	sys/fs/udf/udf_vnops.c: revision 1.72
	sys/fs/filecorefs/filecore_lookup.c: revision 1.14
	sys/fs/puffs/puffs_node.c: revision 1.25
Move some the test for MAKEENTRY into the cache_enter(9).  Make some
variables in vfs_cache.c static, __read_mostly, etc.
No objection on tech-kern@.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 22 00:53:19 2012 UTC (11 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.25: +5 -7 lines
Diff to previous 1.25 (colored) to selected 1.14.10.3 (colored)

Move some the test for MAKEENTRY into the cache_enter(9).  Make some
variables in vfs_cache.c static, __read_mostly, etc.

No objection on tech-kern@.

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:18 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.24: +5 -4 lines
Diff to previous 1.24 (colored) to selected 1.14.10.3 (colored)

sync with head

Revision 1.24.8.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:36 2012 UTC (11 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.24: +5 -4 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.14.10.3 (colored)

sync to latest -current.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:36 2012 UTC (12 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Changes since 1.24: +5 -4 lines
Diff to previous 1.24 (colored) to selected 1.14.10.3 (colored)

Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

    http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
    http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
    http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:21 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD.

Revision 1.20.4.4 / (download) - annotate - [select for diffs], Tue May 31 03:04:58 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.20.4.3: +0 -1 lines
Diff to previous 1.20.4.3 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored) to selected 1.14.10.3 (colored)

sync with head

Revision 1.24 / (download) - annotate - [select for diffs], Thu May 19 03:11:56 2011 UTC (12 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored) to selected 1.14.10.3 (colored)

Remove cache_purge(9) calls from reclamation routines in the file systems,
as vclean(9) performs it for us since Lite2 merge.

Revision 1.20.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:04 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.20.4.2: +2 -3 lines
Diff to previous 1.20.4.2 (colored) to branchpoint 1.20 (colored) to selected 1.14.10.3 (colored)

sync with head

Revision 1.23 / (download) - annotate - [select for diffs], Tue Nov 30 10:43:02 2010 UTC (13 years, 4 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.22: +2 -3 lines
Diff to previous 1.22 (colored) to selected 1.14.10.3 (colored)

Abolish the SAVENAME and HASBUF flags. There is now always a buffer,
so the path in a struct componentname is now always valid during VOP
calls.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:15 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.20.2.1: +2 -2 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD.

Revision 1.14.10.3 / (download) - annotate - [selected], Wed Aug 11 22:54:32 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14.10.2: +31 -31 lines
Diff to previous 1.14.10.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.20.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:49 2010 UTC (13 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.20.4.1: +4 -4 lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored) to selected 1.14.10.3 (colored)

sync with head

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:09 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.21: +4 -4 lines
Diff to previous 1.21 (colored) to selected 1.14.10.3 (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.20.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:55 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.20: +29 -29 lines
Diff to previous 1.20 (colored) to selected 1.14.10.3 (colored)

sync with head

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:06 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.20: +29 -29 lines
Diff to previous 1.20 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Mar 29 13:11:32 2010 UTC (14 years ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.20: +29 -29 lines
Diff to previous 1.20 (colored) to selected 1.14.10.3 (colored)

Stop exposing fifofs internals and leave only fifo_vnodeop_p visible.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:31 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.17: +28 -6 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD.

Revision 1.14.10.2 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:20 2009 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14.10.1: +28 -6 lines
Diff to previous 1.14.10.1 (colored) to branchpoint 1.14 (colored) to selected 1.14.10.3 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jul 3 22:25:51 2009 UTC (14 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored) to selected 1.14.10.3 (colored)

Fix utterly botched previous commit.  efs compiles now and apprears
to work, but the person doing the original change should verify
that it actually works like before the change.

(hi, elad!)

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jul 3 21:17:41 2009 UTC (14 years, 8 months ago) by elad
Branch: MAIN
Changes since 1.18: +28 -6 lines
Diff to previous 1.18 (colored) to selected 1.14.10.3 (colored)

Where possible, extract the file-system's access() routine to two internal
functions: the first checking if the operation is possible (regardless of
permissions), the second checking file-system permissions, ACLs, etc.

Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005311.html

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 23 19:36:40 2009 UTC (14 years, 9 months ago) by elad
Branch: MAIN
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored) to selected 1.14.10.3 (colored)

Move the implementation of vaccess() to genfs_can_access(), in line with
the other routines of the same spirit.

Adjust file-system code to use it.

Keep vaccess() for KPI compatibility and to keep element of least
surprise. A "diagnostic" message warning that vaccess() is deprecated will
be printed when it's used (obviously, only in DIAGNOSTIC kernels).

No objections on tech-kern@:

	http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005310.html

Revision 1.14.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:42 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14: +118 -11 lines
Diff to previous 1.14 (colored) to selected 1.14.10.3 (colored)

sync with head.

Revision 1.14.18.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:33 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.14: +118 -11 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD.

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:16 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.14: +118 -11 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD.

Revision 1.14.20.4 / (download) - annotate - [select for diffs], Tue Jan 6 23:38:41 2009 UTC (15 years, 2 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, 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, 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
Changes since 1.14.20.3: +6 -2 lines
Diff to previous 1.14.20.3 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.14.10.3 (colored)

Apply patch (requested by rumble in ticket #216):
Adjust for the netbsd-5 branch by defining UBC_UNMAP_FLAG.

Revision 1.14.20.3 / (download) - annotate - [select for diffs], Tue Jan 6 23:34:46 2009 UTC (15 years, 2 months ago) by snj
Branch: netbsd-5
Changes since 1.14.20.2: +114 -2 lines
Diff to previous 1.14.20.2 (colored) to branchpoint 1.14 (colored) to selected 1.14.10.3 (colored)

Pull up following revision(s) (requested by rumble in ticket #216):
	sys/fs/efs/efs_vfsops.c: revision 1.17
	sys/fs/efs/efs_vnops.c: revision 1.17
Add specfs/fifofs support.  Not really fully tested, but at least
vfs routines don't crash now.
(didn't have an image with matching device node numbers)
fixes PR kern/40055 by myself

Revision 1.14.20.2 / (download) - annotate - [select for diffs], Tue Jan 6 23:32:23 2009 UTC (15 years, 2 months ago) by snj
Branch: netbsd-5
Changes since 1.14.20.1: +5 -11 lines
Diff to previous 1.14.20.1 (colored) to branchpoint 1.14 (colored) to selected 1.14.10.3 (colored)

Pull up following revision(s) (requested by rumble in ticket #216):
	sys/fs/efs/efs_vnops.c: revision 1.16
Rototill all remaining file systems to use ubc_uiomove() instead
of the ubc_alloc() - uiomove() - ubc_release() dance.

Revision 1.14.20.1 / (download) - annotate - [select for diffs], Tue Jan 6 23:30:13 2009 UTC (15 years, 2 months ago) by snj
Branch: netbsd-5
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored) to selected 1.14.10.3 (colored)

Pull up following revision(s) (requested by rumble in ticket #216):
	sys/fs/efs/efs_vnops.c: revision 1.15
more <sys/buf.h> police

Revision 1.14.16.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:59 2008 UTC (15 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.14: +118 -11 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.14.10.3 (colored)

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

Revision 1.17 / (download) - annotate - [select for diffs], Mon Dec 1 14:34:50 2008 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jym-xensuspend-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.16: +114 -2 lines
Diff to previous 1.16 (colored) to selected 1.14.10.3 (colored)

Add specfs/fifofs support.  Not really fully tested, but at least
vfs routines don't crash now.
(didn't have an image with matching device node numbers)

fixes PR kern/40055 by myself

Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 26 20:17:33 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.15: +5 -11 lines
Diff to previous 1.15 (colored) to selected 1.14.10.3 (colored)

Rototill all remaining file systems to use ubc_uiomove() instead
of the ubc_alloc() - uiomove() - ubc_release() dance.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Nov 16 19:34:30 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored) to selected 1.14.10.3 (colored)

more <sys/buf.h> police

Revision 1.6.6.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:56 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.6.6.2: +2 -3 lines
Diff to previous 1.6.6.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.14.10.3 (colored)

sync with HEAD

Revision 1.11.4.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:35 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.11.4.1: +4 -6 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD.

Revision 1.6.8.6 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:44 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.8.5: +2 -3 lines
Diff to previous 1.6.8.5 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.14.10.3 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jan 25 14:32:12 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, mjf-devfs-base, 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, netbsd-5, mjf-devfs2, haad-dm
Changes since 1.13: +2 -3 lines
Diff to previous 1.13 (colored) to selected 1.14.10.3 (colored)

Remove VOP_LEASE. Discussed on tech-kern.

Revision 1.6.8.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:45:44 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.8.4: +4 -5 lines
Diff to previous 1.6.8.4 (colored) to branchpoint 1.6 (colored) to selected 1.14.10.3 (colored)

sync with head

Revision 1.6.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:55:41 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.6.6.1: +6 -11 lines
Diff to previous 1.6.6.1 (colored) to branchpoint 1.6 (colored) to selected 1.14.10.3 (colored)

sync with HEAD

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:28 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.12: +4 -5 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:40 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.12: +4 -5 lines
Diff to previous 1.12 (colored) to selected 1.14.10.3 (colored)

Merge vmlocking2 to head.

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:13 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.11: +5 -9 lines
Diff to previous 1.11 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD.

Revision 1.6.8.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:31:53 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.8.3: +5 -9 lines
Diff to previous 1.6.8.3 (colored) to branchpoint 1.6 (colored) to selected 1.14.10.3 (colored)

sync with head

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:03 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.12: +4 -5 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.14.10.3 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.6.4.3 / (download) - annotate - [select for diffs], Tue Nov 27 19:37:36 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.6.4.2: +5 -9 lines
Diff to previous 1.6.4.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:43 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.11: +5 -9 lines
Diff to previous 1.11 (colored) to selected 1.14.10.3 (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.6.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:05 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.6: +28 -22 lines
Diff to previous 1.6 (colored) to selected 1.14.10.3 (colored)

sync with HEAD

Revision 1.6.8.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:02 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.8.2: +28 -22 lines
Diff to previous 1.6.8.2 (colored) to branchpoint 1.6 (colored) to selected 1.14.10.3 (colored)

sync with head.

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:13 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.6.4.1: +17 -16 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:27 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.8.2.1: +17 -16 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.14.10.3 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 10 20:42:23 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored) to selected 1.14.10.3 (colored)

Merge from vmlocking:

- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.

Revision 1.3.2.7 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:14 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.3.2.6: +6 -6 lines
Diff to previous 1.3.2.6 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.14.10.3 (colored)

Sync with head.

Revision 1.3.2.6 / (download) - annotate - [select for diffs], Tue Oct 9 13:44:15 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.3.2.5: +11 -5 lines
Diff to previous 1.3.2.5 (colored) to branchpoint 1.3 (colored) to selected 1.14.10.3 (colored)

Sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Oct 8 18:04:03 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.9: +15 -15 lines
Diff to previous 1.9 (colored) to selected 1.14.10.3 (colored)

Merge brelse() changes from the vmlocking branch.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:29:44 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.8: +26 -20 lines
Diff to previous 1.8 (colored) to selected 1.14.10.3 (colored)

sync with head.

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:49 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.6: +13 -8 lines
Diff to previous 1.6 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 24 00:42:12 2007 UTC (16 years, 6 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-x86pmap-base2
Changes since 1.8: +26 -20 lines
Diff to previous 1.8 (colored) to selected 1.14.10.3 (colored)

Avoid stack allocation of large dirent structures in foo_readdir().

Revision 1.3.2.5 / (download) - annotate - [select for diffs], Sun Sep 16 19:04:28 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.3.2.4: +4 -6 lines
Diff to previous 1.3.2.4 (colored) to branchpoint 1.3 (colored) to selected 1.14.10.3 (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.3.4.2 / (download) - annotate - [select for diffs], Mon Sep 10 10:55:53 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.3.4.1: +23 -24 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Sep 8 18:17:59 2007 UTC (16 years, 6 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Changes since 1.7: +21 -22 lines
Diff to previous 1.7 (colored) to selected 1.14.10.3 (colored)

In efs_readdir don't foolishly allocate and free dirents for each entry
before copying them out, rather just use a single one. Further, follow
the example of tmpfs and others by simply allocating on the stack.

This should have the side-effect of silencing false Coverity reports like
CID 4559 and 4554.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Sep 8 16:21:27 2007 UTC (16 years, 6 months ago) by rumble
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored) to selected 1.14.10.3 (colored)

CID 4553:

In efs_lookup, when checking whether a CREATE or RENAME operation would
succeed, be sure to pass the appropriate vnode pointer to VOP_ACCESS.

Revision 1.6.8.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:16 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.8.1: +833 -0 lines
Diff to previous 1.6.8.1 (colored) to branchpoint 1.6 (colored) to selected 1.14.10.3 (colored)

sync with head.

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Mon Aug 20 21:26:05 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.3.2.3: +47 -19 lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Sun Aug 19 19:24:49 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.3.2.2: +7 -5 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) to selected 1.14.10.3 (colored)

- Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:56 2007 UTC (16 years, 7 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.3: +49 -21 lines
Diff to previous 1.3 (colored) to selected 1.14.10.3 (colored)

Sync with HEAD.

Revision 1.6.10.2 / (download) - annotate - [select for diffs], Sun Jul 29 20:58:11 2007 UTC (16 years, 8 months ago) by rumble
Branch: matt-mips64
Changes since 1.6.10.1: +833 -0 lines
Diff to previous 1.6.10.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.14.10.3 (colored)

Only set *ap->a_cookies when we're returning success. Also, do not hard-
code 16, but rather use _DIRENT_MINSIZE as the divisor when determining
the number of cookies to allocate.

Noticed by pooka@.

Revision 1.6.10.1, Sun Jul 29 20:58:10 2007 UTC (16 years, 8 months ago) by rumble
Branch: matt-mips64
Changes since 1.6: +0 -833 lines
FILE REMOVED

file efs_vnops.c was added on branch matt-mips64 on 2007-07-29 20:58:11 +0000

Revision 1.6.8.1, Sun Jul 29 20:58:10 2007 UTC (16 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6: +0 -833 lines
FILE REMOVED

file efs_vnops.c was added on branch yamt-lazymbuf on 2007-09-03 14:40:16 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 29 20:58:10 2007 UTC (16 years, 8 months ago) by rumble
Branch: MAIN
CVS Tags: matt-mips64-base, hpcarm-cleanup
Branch point for: yamt-lazymbuf, matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored) to selected 1.14.10.3 (colored)

Only set *ap->a_cookies when we're returning success. Also, do not hard-
code 16, but rather use _DIRENT_MINSIZE as the divisor when determining
the number of cookies to allocate.

Noticed by pooka@.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jul 29 20:15:20 2007 UTC (16 years, 8 months ago) by rumble
Branch: MAIN
Changes since 1.4: +47 -19 lines
Diff to previous 1.4 (colored) to selected 1.14.10.3 (colored)

Support NFS cookies and the eofflag in efs_readdir. Also, be sure to
update uio->uio_offset as not doing so would cause large directory reads
to misbehave.

EFS is now properly NFS-exportable.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 29 13:31:09 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) to selected 1.14.10.3 (colored)

It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sun Jul 15 16:15:31 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.3.2.1: +803 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) to selected 1.14.10.3 (colored)

Sync with head.

Revision 1.3.2.1, Wed Jul 4 19:24:09 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.3: +0 -805 lines
FILE REMOVED

file efs_vnops.c was added on branch vmlocking on 2007-07-15 16:15:30 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 4 19:24:09 2007 UTC (16 years, 8 months ago) by rumble
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: vmlocking, nick-csl-alignment
Changes since 1.2: +55 -47 lines
Diff to previous 1.2 (colored) to selected 1.14.10.3 (colored)

Additional fixes/enhancements:
    1) Comply with the way buffercache(9) is intended to be used. Now we
       read in single blocks of EFS_BB_SIZE, never taking in variable
       length extents with a single bread() call.

    2) Handle symlinks with more than one extent. There's no reason for
       this to ever happen, but it's handled now.

    3) Finally, add a hint to our iteration initialiser so we can start
       from the desired offset, rather than naively looping through from
       the beginning each time. Since we can binary search the correct
       location quickly, this improves large sequential reads by about
       40% with 128MB files. Improvement should increase with file size.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jul 4 18:40:18 2007 UTC (16 years, 8 months ago) by rumble
Branch: MAIN
Changes since 1.1: +30 -28 lines
Diff to previous 1.1 (colored) to selected 1.14.10.3 (colored)

Fix a significant performance bug in efs_read:

When reading a file, we would erroneously iterate to the next extent
before having filled the entire uio request. This lead to unnecessary
extent iteration and excessive calls to efs_read.

Sequential read performance has doubled in the uncached case and
quadrupled when data is buffered.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jun 29 23:30:30 2007 UTC (16 years, 9 months ago) by rumble
Branch: MAIN
Diff to selected 1.14.10.3 (colored)

Add read-only support for SGI's Extent File System.

Reviewed by pooka@.

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>