The NetBSD Project

CVS log for src/sys/fs/adosfs/advnops.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.59 / (download) - annotate - [select for diffs], Mon Apr 4 19:33:45 2022 UTC (9 months, 4 weeks ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

fix various typos, mainly in comments.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Mar 27 17:10:55 2022 UTC (10 months ago) by christos
Branch: MAIN
Changes since 1.57: +4 -34 lines
Diff to previous 1.57 (colored)

dedup the eofs link/symlink methods

Revision 1.55.6.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:35 2021 UTC (18 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.55: +22 -42 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Sync with HEAD.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Jul 18 23:57:13 2021 UTC (18 months, 2 weeks 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.56: +21 -42 lines
Diff to previous 1.56 (colored)

Abolish all the silly indirection macros for initializing vnode ops tables.

These are things of the form #define foofs_op genfs_op, or #define
foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides
obfuscation, and have gotten cutpasted all over everywhere.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Jun 29 22:34:05 2021 UTC (19 months ago) by dholland
Branch: MAIN
Changes since 1.55: +3 -2 lines
Diff to previous 1.55 (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.55 / (download) - annotate - [select for diffs], Sat Jun 27 17:29:17 2020 UTC (2 years, 7 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.54: +3 -3 lines
Diff to previous 1.54 (colored)

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

Revision 1.54 / (download) - annotate - [select for diffs], Sat May 16 18:31:48 2020 UTC (2 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.53: +12 -11 lines
Diff to previous 1.53 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Sat Apr 25 11:24:04 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.53 / (download) - annotate - [select for diffs], Thu Apr 23 21:47:07 2020 UTC (2 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (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.52 / (download) - annotate - [select for diffs], Thu Apr 23 09:58:37 2020 UTC (2 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

fix obvious typo in error handling - buf error should go to b_error

Revision 1.50.10.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:48 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.50: +4 -3 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Merge changes from current as of 20200406

Revision 1.50.16.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:33 2020 UTC (3 years ago) by ad
Branch: ad-namecache
Changes since 1.50: +4 -3 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Sync with head.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jan 17 20:08:07 2020 UTC (3 years ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Branch point for: bouyer-xenpvh
Changes since 1.50: +4 -3 lines
Diff to previous 1.50 (colored)

VFS_VGET(), VFS_ROOT(), VFS_FHTOVP(): give them a "int lktype" argument, to
allow us to get shared locks (or no lock) on the returned vnode.  Matches
FreeBSD.

Revision 1.39.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:41 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.39.2.3: +7 -9 lines
Diff to previous 1.39.2.3 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

update from HEAD

Revision 1.45.4.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:05 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.45.4.3: +6 -6 lines
Diff to previous 1.45.4.3 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Fri May 26 14:21:00 2017 UTC (5 years, 8 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20191119, 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, 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, ad-namecache-base
Branch point for: phil-wifi, ad-namecache
Changes since 1.49: +5 -3 lines
Diff to previous 1.49 (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.47.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:25 2017 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.47: +3 -5 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:00 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.48: +3 -5 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD

Revision 1.49 / (download) - annotate - [select for diffs], Tue Apr 11 14:24:59 2017 UTC (5 years, 9 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.48: +3 -5 lines
Diff to previous 1.48 (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.45.4.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:00 2016 UTC (6 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.45.4.2: +2 -3 lines
Diff to previous 1.45.4.2 (colored) to branchpoint 1.45 (colored)

Sync with HEAD

Revision 1.48 / (download) - annotate - [select for diffs], Sat Aug 20 12:37:06 2016 UTC (6 years, 5 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.47: +2 -3 lines
Diff to previous 1.47 (colored)

Remove now obsolete operation vcache_remove().

Welcome to 7.99.36

Revision 1.45.4.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:20 2015 UTC (7 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.45.4.1: +3 -4 lines
Diff to previous 1.45.4.1 (colored) to branchpoint 1.45 (colored)

Sync with HEAD

Revision 1.47 / (download) - annotate - [select for diffs], Mon Apr 20 23:03:07 2015 UTC (7 years, 9 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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
Branch point for: pgoyette-localcount
Changes since 1.46: +3 -4 lines
Diff to previous 1.46 (colored)

Make VOP_LINK return directory still locked and referenced.

Ride 7.99.10 bump.

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:18 2015 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

Sync with HEAD

Revision 1.46 / (download) - annotate - [select for diffs], Sat Mar 28 19:24:05 2015 UTC (7 years, 10 months ago) by maxv
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

Remove the 'cred' argument from bread(). Remove a now unused var in
ffs_snapshot.c. Update the man page accordingly.

ok hannken@

Revision 1.39.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:26 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.39.2.2: +4 -3 lines
Diff to previous 1.39.2.2 (colored) to branchpoint 1.39 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:53 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.43: +5 -3 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Rebase.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Aug 5 08:50:54 2014 UTC (8 years, 5 months ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, 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.44: +3 -3 lines
Diff to previous 1.44 (colored)

Change adosfs from hashlist to vcache.
- point ap->block to real file header block for hard links.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jul 25 08:20:51 2014 UTC (8 years, 6 months ago) by dholland
Branch: MAIN
Changes since 1.43: +4 -2 lines
Diff to previous 1.43 (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.38.4.3 / (download) - annotate - [select for diffs], Thu May 22 11:41:00 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.38.4.2: +4 -5 lines
Diff to previous 1.38.4.2 (colored) to branchpoint 1.38 (colored) next main 1.39 (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.41.6.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:04 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.41: +3 -4 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

sync with head

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jan 23 10:13:56 2014 UTC (9 years 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.42: +3 -3 lines
Diff to previous 1.42 (colored)

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

Discussed on tech-kern@

Welcome to 6.99.30

Revision 1.42 / (download) - annotate - [select for diffs], Fri Jan 17 10:55:01 2014 UTC (9 years ago) by hannken
Branch: MAIN
Changes since 1.41: +3 -4 lines
Diff to previous 1.41 (colored)

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

Discussed on tech-kern@

Welcome to 6.99.29

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

resync from head

Revision 1.41 / (download) - annotate - [select for diffs], Mon Mar 18 19:35:35 2013 UTC (9 years, 10 months 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.40: +3 -3 lines
Diff to previous 1.40 (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.39.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:46 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.39: +2 -4 lines
Diff to previous 1.39 (colored)

resync with head

Revision 1.38.4.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:18 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.38.4.1: +2 -4 lines
Diff to previous 1.38.4.1 (colored) to branchpoint 1.38 (colored)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Thu Dec 20 08:03:42 2012 UTC (10 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.39: +2 -4 lines
Diff to previous 1.39 (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.38.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:17 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.38: +6 -5 lines
Diff to previous 1.38 (colored)

sync with head

Revision 1.38.8.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:35 2012 UTC (10 years, 9 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.38: +6 -5 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync to latest -current.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:35 2012 UTC (10 years, 10 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.38: +6 -5 lines
Diff to previous 1.38 (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.37.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:21 2011 UTC (11 years, 7 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.37: +2 -3 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.36.4.2 / (download) - annotate - [select for diffs], Tue May 31 03:04:58 2011 UTC (11 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.36.4.1: +2 -3 lines
Diff to previous 1.36.4.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

sync with head

Revision 1.38 / (download) - annotate - [select for diffs], Thu May 19 03:11:55 2011 UTC (11 years, 8 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, 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, 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, jmcneill-usbmp
Changes since 1.37: +2 -3 lines
Diff to previous 1.37 (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.36.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:14 2010 UTC (12 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with HEAD.

Revision 1.28.10.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:32 2010 UTC (12 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28.10.3: +3 -3 lines
Diff to previous 1.28.10.3 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:49 2010 UTC (12 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

sync with head

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:09 2010 UTC (12 years, 7 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, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (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.28.10.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:38:00 2009 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28.10.2: +4 -2 lines
Diff to previous 1.28.10.2 (colored) to branchpoint 1.28 (colored)

sync with head

Revision 1.36 / (download) - annotate - [select for diffs], Sun Aug 30 12:36:38 2009 UTC (13 years, 5 months ago) by phx
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.35: +4 -2 lines
Diff to previous 1.35 (colored)

Fixed fatal warnings with ADOSFS_DIAGNOSTIC.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:31 2009 UTC (13 years, 6 months ago) by jym
Branch: jym-xensuspend
Changes since 1.31.2.1: +41 -19 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.28.10.2 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:20 2009 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28.10.1: +41 -19 lines
Diff to previous 1.28.10.1 (colored) to branchpoint 1.28 (colored)

sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jul 3 21:17:40 2009 UTC (13 years, 7 months ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, jymxensuspend-base
Changes since 1.34: +41 -20 lines
Diff to previous 1.34 (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.34 / (download) - annotate - [select for diffs], Tue Jun 23 19:36:38 2009 UTC (13 years, 7 months ago) by elad
Branch: MAIN
Changes since 1.33: +5 -4 lines
Diff to previous 1.33 (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.31.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:49 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.31: +30 -44 lines
Diff to previous 1.31 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.28.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:42 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28: +34 -59 lines
Diff to previous 1.28 (colored)

sync with head.

Revision 1.29.6.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:48 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.29.6.1: +30 -44 lines
Diff to previous 1.29.6.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:23 2009 UTC (13 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.32: +16 -30 lines
Diff to previous 1.32 (colored)

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Mar 14 14:46:09 2009 UTC (13 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.31: +16 -16 lines
Diff to previous 1.31 (colored)

Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:33 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.29: +4 -15 lines
Diff to previous 1.29 (colored)

Sync with HEAD.

Revision 1.28.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:16 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.28.6.1: +2 -13 lines
Diff to previous 1.28.6.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Dec 16 16:18:25 2008 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.30: +2 -8 lines
Diff to previous 1.30 (colored)

The great QUOTA purge of '08: get rid of those #ifdef QUOTA and
#include "opt_quota.h" which do exactly nothing.  Speeds up kernel
compilation by 1.375*10^-20001 seconds.  But leave the most moxious
comment in msdosfs_vfsops untouched.

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:58 2008 UTC (14 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.29: +4 -9 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

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

Revision 1.30 / (download) - annotate - [select for diffs], Wed Nov 26 20:17:33 2008 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.29: +4 -9 lines
Diff to previous 1.29 (colored)

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

Revision 1.28.12.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:46 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:04 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

Sync with HEAD.

Revision 1.28.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:59 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Fri May 16 09:21:59 2008 UTC (14 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, 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, 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, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: nick-hppapmap, haad-dm
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

Make sure all cached buffers with valid, not yet written data have been
run through copy-on-write.  Call fscow_run() with valid data where possible.

The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against
endless recursion.

- Add a flag B_MODIFY to bread(), breada() and breadn().  If set the caller
  intends to modify the buffer returned.

- Always run copy-on-write on buffers returned from ffs_balloc().

- Add new function ffs_getblk() that gets a buffer, assigns a new blkno,
  may clear the buffer and runs copy-on-write.  Process possible errors
  from getblk() or fscow_run().  Part of PR kern/38664.

Welcome to 4.99.63

Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>

Revision 1.24.6.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:55 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.24.6.2: +2 -4 lines
Diff to previous 1.24.6.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

sync with HEAD

Revision 1.25.4.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:35 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.25.4.1: +4 -6 lines
Diff to previous 1.25.4.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Revision 1.15.4.8 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:43 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.4.7: +2 -4 lines
Diff to previous 1.15.4.7 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jan 25 14:32:12 2008 UTC (15 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2
Changes since 1.27: +2 -4 lines
Diff to previous 1.27 (colored)

Remove VOP_LEASE. Discussed on tech-kern.

Revision 1.15.4.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:45:43 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.4.6: +4 -4 lines
Diff to previous 1.15.4.6 (colored) to branchpoint 1.15 (colored)

sync with head

Revision 1.24.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:55:39 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.24.6.1: +4 -7 lines
Diff to previous 1.24.6.1 (colored) to branchpoint 1.24 (colored)

sync with HEAD

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:26 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with HEAD

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:40 2008 UTC (15 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

Merge vmlocking2 to head.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:12 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.25: +3 -6 lines
Diff to previous 1.25 (colored)

Sync with HEAD.

Revision 1.15.4.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:31:49 2007 UTC (15 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.4.5: +3 -6 lines
Diff to previous 1.15.4.5 (colored) to branchpoint 1.15 (colored)

sync with head

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:01 2007 UTC (15 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.24.4.2 / (download) - annotate - [select for diffs], Tue Nov 27 19:37:33 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.24.4.1: +3 -6 lines
Diff to previous 1.24.4.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:41 2007 UTC (15 years, 2 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.25: +3 -6 lines
Diff to previous 1.25 (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.24.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:02 2007 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.24: +9 -9 lines
Diff to previous 1.24 (colored)

sync with HEAD

Revision 1.15.4.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:34:59 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.4.4: +9 -9 lines
Diff to previous 1.15.4.4 (colored) to branchpoint 1.15 (colored)

sync with head.

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:11 2007 UTC (15 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.24: +9 -9 lines
Diff to previous 1.24 (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.24.8.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:25 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.24: +9 -9 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 8 18:04:02 2007 UTC (15 years, 3 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.24: +9 -9 lines
Diff to previous 1.24 (colored)

Merge brelse() changes from the vmlocking branch.

Revision 1.23.2.3 / (download) - annotate - [select for diffs], Sun Sep 16 19:04:27 2007 UTC (15 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.23.2.2: +4 -5 lines
Diff to previous 1.23.2.2 (colored) to branchpoint 1.23 (colored) next main 1.24 (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.15.4.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:05 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.4.3: +5 -5 lines
Diff to previous 1.15.4.3 (colored) to branchpoint 1.15 (colored)

sync with head.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Mon Aug 20 21:26:03 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.23.2.1: +9 -9 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored)

Sync with HEAD.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Sun Aug 19 19:24:49 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

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

Revision 1.23.10.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:54 2007 UTC (15 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Revision 1.24.10.2 / (download) - annotate - [select for diffs], Sun Jul 29 12:15:46 2007 UTC (15 years, 6 months ago) by ad
Branch: matt-mips64
Changes since 1.24.10.1: +944 -0 lines
Diff to previous 1.24.10.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (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.24.10.1, Sun Jul 29 12:15:45 2007 UTC (15 years, 6 months ago) by ad
Branch: matt-mips64
Changes since 1.24: +0 -944 lines
FILE REMOVED

file advnops.c was added on branch matt-mips64 on 2007-07-29 12:15:46 +0000

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jul 29 12:15:45 2007 UTC (15 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (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.21.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:10 2007 UTC (15 years, 10 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.21.4.1: +3 -3 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 4 15:41:02 2007 UTC (15 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans
Branch point for: vmlocking, nick-csl-alignment
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

fix fallout from caddr_t changes.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:11 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.15.4.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:54 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.4.2: +3 -2 lines
Diff to previous 1.15.4.2 (colored) to branchpoint 1.15 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Feb 20 16:21:03 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored)

Call genfs_node_destroy() where appropriate.

Revision 1.15.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:49:56 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.4.1: +49 -61 lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored)

sync with head.

Revision 1.20.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:17 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.20: +49 -61 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with head.

Revision 1.20.10.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:06 2006 UTC (16 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.20: +49 -61 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

sync with head

Revision 1.21 / (download) - annotate - [select for diffs], Sat Sep 23 22:47:11 2006 UTC (16 years, 4 months ago) by aymeric
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, 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, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Branch point for: yamt-idlelwp
Changes since 1.20: +49 -61 lines
Diff to previous 1.20 (colored)

fix adosfs_readdir() so that we can list directories on AmigaOS filesystems.
. get rid of struct adirent which didn't match struct dirent anymore
. fix cookies, move all the code handling them to the end of the function

Includes many minor changes to the code of this function.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:56:56 2006 UTC (16 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.18: +9 -8 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

sync with head

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:23 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15: +17 -24 lines
Diff to previous 1.15 (colored)

sync with head.

Revision 1.18.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:37:51 2006 UTC (16 years, 8 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.18: +9 -8 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with head.

Revision 1.18.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:33 2006 UTC (16 years, 8 months ago) by tron
Branch: peter-altq
Changes since 1.18: +9 -8 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

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

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:35 2006 UTC (16 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.18: +9 -8 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Mon May 15 01:29:02 2006 UTC (16 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

More kauth fallout.

Revision 1.19 / (download) - annotate - [select for diffs], Sun May 14 21:31:52 2006 UTC (16 years, 8 months ago) by elad
Branch: MAIN
Changes since 1.18: +8 -8 lines
Diff to previous 1.18 (colored)

integrate kauth.

Revision 1.18.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:31:33 2006 UTC (16 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.18: +8 -8 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Adapt to kernel authorization KPI.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:25 2005 UTC (17 years, 1 month ago) by christos
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, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.17: +7 -7 lines
Diff to previous 1.17 (colored)

merge ktrace-lwp.

Revision 1.6.2.10 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:10 2005 UTC (17 years, 1 month ago) by christos
Branch: ktrace-lwp
Changes since 1.6.2.9: +5 -3 lines
Diff to previous 1.6.2.9 (colored) next main 1.7 (colored)

Sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Nov 29 22:52:02 2005 UTC (17 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.16: +5 -3 lines
Diff to previous 1.16 (colored)

merge yamt-readahead branch.

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Sat Nov 19 17:36:59 2005 UTC (17 years, 2 months ago) by yamt
Branch: yamt-readahead
Changes since 1.16.2.2: +3 -7 lines
Diff to previous 1.16.2.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

- as read-ahead context is per-vnode now,
  there are less reasons to make VOP_READ call uvm_ra_request explicitly.
  move it to pager (uvn_get) so that it can handle accesses via mmap as well.
- pass advice to pager via ubc.
- tweak DPRINTF.

XXX can be disturbed by PGO_LOCKED.

XXX it's controversial where it should be done.
(uvm_fault, uvn_get or genfs_getpages.)

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Fri Nov 18 08:44:54 2005 UTC (17 years, 2 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-pervnode
Changes since 1.16.2.1: +6 -6 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored)

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

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Tue Nov 15 10:47:32 2005 UTC (17 years, 2 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-perfile
Changes since 1.16: +8 -2 lines
Diff to previous 1.16 (colored)

adapt the rest of filesystems which use genfs_getpages.

Revision 1.6.2.9 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:26 2005 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.8: +2 -12 lines
Diff to previous 1.6.2.8 (colored)

Sync with HEAD. Here we go again...

Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 2 12:38:58 2005 UTC (17 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.15: +2 -12 lines
Diff to previous 1.15 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Thu Oct 20 05:16:20 2005 UTC (17 years, 3 months ago) by yamt
Branch: yamt-vop
Changes since 1.15: +2 -12 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

adapt adosfs.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:22 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.14: +20 -20 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with -current

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:06 2005 UTC (17 years, 10 months ago) by yamt
Branch: yamt-km
Changes since 1.14: +20 -20 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.6.2.8 / (download) - annotate - [select for diffs], Fri Mar 4 16:51:28 2005 UTC (17 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.7: +20 -20 lines
Diff to previous 1.6.2.7 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.15 / (download) - annotate - [select for diffs], Sat Feb 26 22:58:54 2005 UTC (17 years, 11 months ago) by perry
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, 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-vop, yamt-lazymbuf
Changes since 1.14: +20 -20 lines
Diff to previous 1.14 (colored)

nuke trailing whitespace

Revision 1.6.2.7 / (download) - annotate - [select for diffs], Mon Jan 17 19:32:11 2005 UTC (18 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.6: +5 -3 lines
Diff to previous 1.6.2.6 (colored)

Sync with HEAD.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 9 16:42:43 2005 UTC (18 years ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.13: +5 -3 lines
Diff to previous 1.13 (colored)

adjust the UBC mapping code to support non-vnode uvm_objects.
this means we can no longer look at the vnode size to determine how many
pages to request in a fault, which is good since for NFS the size can change
out from under us on the server anyway.  there's also a new flag UBC_UNMAP
for ubc_release(), so that the file system code can make the decision about
whether to cache mappings for files being used as executables.

Revision 1.6.2.6 / (download) - annotate - [select for diffs], Wed Oct 27 06:48:23 2004 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.5: +5 -5 lines
Diff to previous 1.6.2.5 (colored)

Fix various comments that describe the argument structures

Revision 1.6.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:34:43 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.4: +4 -4 lines
Diff to previous 1.6.2.4 (colored)

Fix the sync with head I botched.

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:52:37 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.3: +19 -13 lines
Diff to previous 1.6.2.3 (colored)

Sync with HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 14 16:59:40 2004 UTC (18 years, 4 months ago) by jdolecek
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.12: +12 -12 lines
Diff to previous 1.12 (colored)

rename 'sp' variable to 'ap' in adosfs_pathconf(), so that it matches other
filesystems and avoid silly pastos

Revision 1.12 / (download) - annotate - [select for diffs], Tue Sep 14 10:58:45 2004 UTC (18 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Fix typos/pastos.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 13 19:25:48 2004 UTC (18 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.10: +9 -3 lines
Diff to previous 1.10 (colored)

set mp->mnt_stat.f_namemax on filesystem mount for use by statvfs, and use
the value for also pathconf(_PC_NAME_MAX) to keep the two in sync

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Tue Aug 24 17:57:36 2004 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.2: +3 -4 lines
Diff to previous 1.6.2.2 (colored)

Undo part of the ktrace/lwp changes.  In particular:
* Remove the "lwp *" argument that was added to vget().  Turns out
  that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
  and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
  above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
  just to appease the above.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:23 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.6.2.1: +7 -8 lines
Diff to previous 1.6.2.1 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Tue May 4 13:26:58 2004 UTC (18 years, 9 months ago) by jrf
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Remove caddr_t inlines. Approved by christos@NetBSD.org.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:37 2004 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 26 10:39:29 2004 UTC (19 years 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.7: +4 -3 lines
Diff to previous 1.7 (colored)

Fix xxx_strategy() to use the vnode arg instead of bp->b_vp.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 25 18:06:48 2004 UTC (19 years ago) by hannken
Branch: MAIN
Changes since 1.6: +3 -5 lines
Diff to previous 1.6 (colored)

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

VOP_STRATEGY(bp) is replaced by one of two new functions:

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

DEV_STRATEGY(bp) is used only for block-to-block device situations.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Thu Jul 3 01:19:03 2003 UTC (19 years, 7 months ago) by wrstuden
Branch: ktrace-lwp
Changes since 1.6: +6 -5 lines
Diff to previous 1.6 (colored)

LWP-ify adosfs. Also remove unused variable size from adosfs_mount().

Note: These changes suffer from the same cnp->cn_lwp issue noted for
ufs. They will need to get fixed at the same time as ufs. The fix is to
add struct lwp * as a parameter to some VOPs.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:07 2003 UTC (19 years, 7 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.5: +5 -5 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 29 18:53:52 2003 UTC (19 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +7 -7 lines
Diff to previous 1.4 (colored)

Fix problems with the ktrace/lwp changes.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 27 04:08:45 2003 UTC (20 years ago) by lonewolf
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

Fix compiler warnings after 64bit daddr_t change.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jan 24 21:55:17 2003 UTC (20 years ago) by fvdl
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Wed Jan 15 18:49:41 2003 UTC (20 years ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.2.2: +6 -7 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jan 9 18:34:41 2003 UTC (20 years ago) by lonewolf
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.1: +6 -7 lines
Diff to previous 1.1 (colored)

Don't scale file block numbers. Fixes mmap() and UBCified read() problems.
Reviewed by Ignatios.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Dec 29 19:55:29 2002 UTC (20 years, 1 month ago) by thorpej
Branch: nathanw_sa
Changes since 1.1.2.1: +956 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

With with HEAD.

Revision 1.1.2.1, Mon Dec 23 17:15:26 2002 UTC (20 years, 1 month ago) by thorpej
Branch: nathanw_sa
Changes since 1.1: +0 -956 lines
FILE REMOVED

file advnops.c was added on branch nathanw_sa on 2002-12-29 19:55:29 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Mon Dec 23 17:15:26 2002 UTC (20 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: fvdl_fs64_base
Branch point for: nathanw_sa

move adosfs files from sys/adosfs to sys/fs/adosfs

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>