The NetBSD Project

CVS log for src/sys/fs/filecorefs/filecore_vnops.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.50 / (download) - annotate - [select for diffs], Sun Mar 27 17:10:55 2022 UTC (2 years ago) by christos
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.49: +4 -32 lines
Diff to previous 1.49 (colored) to selected 1.23.4.1 (colored)

dedup the eofs link/symlink methods

Revision 1.47.6.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:36 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.47: +22 -39 lines
Diff to previous 1.47 (colored) next main 1.48 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Jul 18 23:57:14 2021 UTC (2 years, 9 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.48: +21 -39 lines
Diff to previous 1.48 (colored) to selected 1.23.4.1 (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.48 / (download) - annotate - [select for diffs], Tue Jun 29 22:34:06 2021 UTC (2 years, 9 months ago) by dholland
Branch: MAIN
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored) to selected 1.23.4.1 (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.47 / (download) - annotate - [select for diffs], Sat Jun 27 17:29:18 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.46: +3 -3 lines
Diff to previous 1.46 (colored) to selected 1.23.4.1 (colored)

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

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

Add ACL support for FFS. From FreeBSD.

Revision 1.44.28.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.44: +3 -3 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.23.4.1 (colored)

Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.45 / (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.44: +3 -3 lines
Diff to previous 1.44 (colored) to selected 1.23.4.1 (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.34.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:41 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.34.2.3: +2 -3 lines
Diff to previous 1.34.2.3 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored) to selected 1.23.4.1 (colored)

update from HEAD

Revision 1.42.4.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:21 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.42.4.1: +3 -4 lines
Diff to previous 1.42.4.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Mon Apr 20 23:03:08 2015 UTC (9 years ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.43: +3 -4 lines
Diff to previous 1.43 (colored) to selected 1.23.4.1 (colored)

Make VOP_LINK return directory still locked and referenced.

Ride 7.99.10 bump.

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:18 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD

Revision 1.43 / (download) - annotate - [select for diffs], Sat Mar 28 19:24:05 2015 UTC (9 years ago) by maxv
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored) to selected 1.23.4.1 (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.34.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:26 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.34.2.2: +5 -7 lines
Diff to previous 1.34.2.2 (colored) to branchpoint 1.34 (colored) to selected 1.23.4.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:53 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.41: +4 -2 lines
Diff to previous 1.41 (colored) next main 1.42 (colored) to selected 1.23.4.1 (colored)

Rebase.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Jul 25 08:20:51 2014 UTC (9 years, 8 months ago) by dholland
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.41: +4 -2 lines
Diff to previous 1.41 (colored) to selected 1.23.4.1 (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.33.4.3 / (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.33.4.2: +9 -13 lines
Diff to previous 1.33.4.2 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored) to selected 1.23.4.1 (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.38.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:05 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.38: +4 -8 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.23.4.1 (colored)

sync with head

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jan 23 10:13:56 2014 UTC (10 years, 2 months 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.40: +3 -3 lines
Diff to previous 1.40 (colored) to selected 1.23.4.1 (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.40 / (download) - annotate - [select for diffs], Fri Jan 17 10:55:01 2014 UTC (10 years, 3 months ago) by hannken
Branch: MAIN
Changes since 1.39: +3 -4 lines
Diff to previous 1.39 (colored) to selected 1.23.4.1 (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 / (download) - annotate - [select for diffs], Sun Oct 20 17:14:48 2013 UTC (10 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.38: +3 -6 lines
Diff to previous 1.38 (colored) to selected 1.23.4.1 (colored)

remove unused

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jun 23 07:28:36 2013 UTC (10 years, 9 months ago) by dholland
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored) to selected 1.23.4.1 (colored)

Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of
the following symbols so as to disambiguate fully. (Christos already
did the lfs ones.)

   lblkno
   lblktosize
   lfragtosize
   numfrags
   blkroundup
   fragroundup

Revision 1.34.2.2 / (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.34.2.1: +6 -6 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) to selected 1.23.4.1 (colored)

resync from head

Revision 1.37 / (download) - annotate - [select for diffs], Wed Jun 19 18:16:10 2013 UTC (10 years, 10 months ago) by dholland
Branch: MAIN
Changes since 1.36: +5 -5 lines
Diff to previous 1.36 (colored) to selected 1.23.4.1 (colored)

blkoff() -> filecore_blkoff()
blksize() -> filecore_blksize()

Revision 1.36 / (download) - annotate - [select for diffs], Mon Mar 18 19:35:36 2013 UTC (11 years, 1 month ago) by plunky
Branch: MAIN
CVS Tags: khorben-n900, agc-symver-base, agc-symver
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) to selected 1.23.4.1 (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.34.2.1 / (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.34: +3 -8 lines
Diff to previous 1.34 (colored) to selected 1.23.4.1 (colored)

resync with head

Revision 1.33.4.2 / (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.33.4.1: +3 -8 lines
Diff to previous 1.33.4.1 (colored) to branchpoint 1.33 (colored) to selected 1.23.4.1 (colored)

sync with head

Revision 1.35 / (download) - annotate - [select for diffs], Thu Dec 20 08:03:42 2012 UTC (11 years, 4 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.34: +3 -8 lines
Diff to previous 1.34 (colored) to selected 1.23.4.1 (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.33.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:18 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.33: +6 -4 lines
Diff to previous 1.33 (colored) to selected 1.23.4.1 (colored)

sync with head

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:36 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.33: +6 -4 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.23.4.1 (colored)

sync to latest -current.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:37 2012 UTC (12 years, 1 month 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.33: +6 -4 lines
Diff to previous 1.33 (colored) to selected 1.23.4.1 (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.32.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:21 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.32: +4 -4 lines
Diff to previous 1.32 (colored) next main 1.33 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

Revision 1.32.4.1 / (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.32: +4 -4 lines
Diff to previous 1.32 (colored) next main 1.33 (colored) to selected 1.23.4.1 (colored)

sync with head

Revision 1.33 / (download) - annotate - [select for diffs], Mon May 23 22:00:31 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, 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.32: +4 -4 lines
Diff to previous 1.32 (colored) to selected 1.23.4.1 (colored)

Convert some simple_lock(9) uses to mutex(9) and malloc(9) to kmem(9).

Revision 1.28.4.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:32 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.28.4.1: +43 -20 lines
Diff to previous 1.28.4.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

Revision 1.25.10.3 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:20 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.25.10.2: +43 -20 lines
Diff to previous 1.25.10.2 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.23.4.1 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jul 3 21:17:40 2009 UTC (14 years, 9 months ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.31: +43 -20 lines
Diff to previous 1.31 (colored) to selected 1.23.4.1 (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.31 / (download) - annotate - [select for diffs], Tue Jun 23 19:36:39 2009 UTC (14 years, 9 months ago) by elad
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored) to selected 1.23.4.1 (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.28.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:50 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.28: +13 -23 lines
Diff to previous 1.28 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

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

Revision 1.25.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:42 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.25.10.1: +16 -31 lines
Diff to previous 1.25.10.1 (colored) to branchpoint 1.25 (colored) to selected 1.23.4.1 (colored)

sync with head.

Revision 1.27.6.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:52 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.27.6.1: +13 -23 lines
Diff to previous 1.27.6.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:23 2009 UTC (15 years, 1 month 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.29: +12 -22 lines
Diff to previous 1.29 (colored) to selected 1.23.4.1 (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.29 / (download) - annotate - [select for diffs], Sat Mar 14 14:46:09 2009 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) to selected 1.23.4.1 (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.27.6.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:33 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.27: +4 -9 lines
Diff to previous 1.27 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

Revision 1.25.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:16 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.6.1: +2 -7 lines
Diff to previous 1.25.6.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:59 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.27: +4 -9 lines
Diff to previous 1.27 (colored) next main 1.28 (colored) to selected 1.23.4.1 (colored)

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

Revision 1.28 / (download) - annotate - [select for diffs], Wed Nov 26 20:17:33 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.27: +4 -9 lines
Diff to previous 1.27 (colored) to selected 1.23.4.1 (colored)

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

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:47 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored) to selected 1.23.4.1 (colored)

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

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:04 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

Revision 1.25.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:59 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.23.4.1 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Fri May 16 09:21:59 2008 UTC (15 years, 11 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.26: +3 -3 lines
Diff to previous 1.26 (colored) to selected 1.23.4.1 (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.25.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:18 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) to selected 1.23.4.1 (colored)

sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Apr 30 14:07:14 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base2
Branch point for: wrstuden-revivesa
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) to selected 1.23.4.1 (colored)

Make various bits of debug code compile again.

Revision 1.21.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.21.6.2: +2 -4 lines
Diff to previous 1.21.6.2 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.23.4.1 (colored)

sync with HEAD

Revision 1.23.4.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:39 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.23.4.1: +2 -4 lines
Diff to previous 1.23.4.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Revision 1.11.10.5 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:45 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.10.4: +2 -4 lines
Diff to previous 1.11.10.4 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.23.4.1 (colored)

sync with head.

Revision 1.25 / (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-base, 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, mjf-devfs2
Changes since 1.24: +2 -4 lines
Diff to previous 1.24 (colored) to selected 1.23.4.1 (colored)

Remove VOP_LEASE. Discussed on tech-kern.

Revision 1.21.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:55:42 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.21.6.1: +2 -4 lines
Diff to previous 1.21.6.1 (colored) to branchpoint 1.21 (colored) to selected 1.23.4.1 (colored)

sync with HEAD

Revision 1.23.4.1 / (download) - annotate - [selected], Sat Dec 8 18:20:14 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.23: +2 -4 lines
Diff to previous 1.23 (colored)

Sync with HEAD.

Revision 1.11.10.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:31:55 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.10.3: +2 -4 lines
Diff to previous 1.11.10.3 (colored) to branchpoint 1.11 (colored) to selected 1.23.4.1 (colored)

sync with head

Revision 1.21.4.3 / (download) - annotate - [select for diffs], Tue Nov 27 19:37:38 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.21.4.2: +2 -4 lines
Diff to previous 1.21.4.2 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:45 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, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Changes since 1.23: +2 -4 lines
Diff to previous 1.23 (colored) to selected 1.23.4.1 (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.21.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:31:07 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.21: +27 -23 lines
Diff to previous 1.21 (colored) to selected 1.23.4.1 (colored)

sync with HEAD

Revision 1.11.10.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:04 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.10.2: +27 -23 lines
Diff to previous 1.11.10.2 (colored) to branchpoint 1.11 (colored) to selected 1.23.4.1 (colored)

sync with head.

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:14 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.21.4.1: +6 -6 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored) to selected 1.23.4.1 (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.21.8.2 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:28 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.21.8.1: +6 -6 lines
Diff to previous 1.21.8.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.23.4.1 (colored)

sync with head.

Revision 1.19.2.3 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:15 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.19.2.2: +23 -19 lines
Diff to previous 1.19.2.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored) to selected 1.23.4.1 (colored)

Sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Oct 8 18:04:03 2007 UTC (16 years, 6 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.22: +6 -6 lines
Diff to previous 1.22 (colored) to selected 1.23.4.1 (colored)

Merge brelse() changes from the vmlocking branch.

Revision 1.21.8.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:29:45 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.21: +23 -19 lines
Diff to previous 1.21 (colored) to selected 1.23.4.1 (colored)

sync with head.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:50 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.21: +23 -19 lines
Diff to previous 1.21 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Sep 24 00:42:13 2007 UTC (16 years, 6 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-x86pmap-base2
Changes since 1.21: +23 -19 lines
Diff to previous 1.21 (colored) to selected 1.23.4.1 (colored)

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

Revision 1.11.10.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:17 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11.10.1: +4 -5 lines
Diff to previous 1.11.10.1 (colored) to branchpoint 1.11 (colored) to selected 1.23.4.1 (colored)

sync with head.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Mon Aug 20 21:26:06 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.19.2.1: +7 -7 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Sun Aug 19 19:24:50 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.19: +2 -3 lines
Diff to previous 1.19 (colored) to selected 1.23.4.1 (colored)

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

Revision 1.19.10.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:56 2007 UTC (16 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.19: +3 -4 lines
Diff to previous 1.19 (colored) next main 1.20 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

Revision 1.21.10.2 / (download) - annotate - [select for diffs], Sun Jul 29 21:17:42 2007 UTC (16 years, 8 months ago) by rumble
Branch: matt-mips64
Changes since 1.21.10.1: +600 -0 lines
Diff to previous 1.21.10.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.23.4.1 (colored)

Use _DIRENT_MINSIZE when determining the number of NFS cookies to allocate,
rather than hard-coding 16.

Revision 1.21.10.1, Sun Jul 29 21:17:41 2007 UTC (16 years, 8 months ago) by rumble
Branch: matt-mips64
Changes since 1.21: +0 -600 lines
FILE REMOVED

file filecore_vnops.c was added on branch matt-mips64 on 2007-07-29 21:17:42 +0000

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jul 29 21:17:41 2007 UTC (16 years, 8 months ago) by rumble
Branch: MAIN
CVS Tags: 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.20: +3 -3 lines
Diff to previous 1.20 (colored) to selected 1.23.4.1 (colored)

Use _DIRENT_MINSIZE when determining the number of NFS cookies to allocate,
rather than hard-coding 16.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jul 29 12:15:45 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.19: +2 -3 lines
Diff to previous 1.19 (colored) to selected 1.23.4.1 (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.18.14.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:10 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Mar 4 21:36:38 2007 UTC (17 years, 1 month ago) by jnemeth
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.18: +3 -3 lines
Diff to previous 1.18 (colored) to selected 1.23.4.1 (colored)

yet more caddr_t -> void * fallout

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:56:56 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.16: +8 -7 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.23.4.1 (colored)

sync with head

Revision 1.11.10.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:24 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.11: +15 -21 lines
Diff to previous 1.11 (colored) to selected 1.23.4.1 (colored)

sync with head.

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:37:51 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.16: +8 -7 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.23.4.1 (colored)

Sync with head.

Revision 1.16.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:34 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.16: +8 -7 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.23.4.1 (colored)

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

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:35 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.16: +8 -7 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.23.4.1 (colored)

sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Mon May 15 01:29:02 2006 UTC (17 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, 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, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored) to selected 1.23.4.1 (colored)

More kauth fallout.

Revision 1.17 / (download) - annotate - [select for diffs], Sun May 14 21:31:52 2006 UTC (17 years, 11 months ago) by elad
Branch: MAIN
Changes since 1.16: +7 -7 lines
Diff to previous 1.16 (colored) to selected 1.23.4.1 (colored)

integrate kauth.

Revision 1.16.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:31:33 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.16: +7 -7 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.23.4.1 (colored)

Adapt to kernel authorization KPI.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:25 2005 UTC (18 years, 4 months 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.15: +4 -4 lines
Diff to previous 1.15 (colored) to selected 1.23.4.1 (colored)

merge ktrace-lwp.

Revision 1.4.2.9 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:10 2005 UTC (18 years, 4 months ago) by christos
Branch: ktrace-lwp
Changes since 1.4.2.8: +5 -3 lines
Diff to previous 1.4.2.8 (colored) next main 1.5 (colored) to selected 1.23.4.1 (colored)

Sync with head.

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

merge yamt-readahead branch.

Revision 1.14.2.3 / (download) - annotate - [select for diffs], Sat Nov 19 17:36:59 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-readahead
Changes since 1.14.2.2: +3 -7 lines
Diff to previous 1.14.2.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.23.4.1 (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.14.2.2 / (download) - annotate - [select for diffs], Fri Nov 18 08:44:54 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-pervnode
Changes since 1.14.2.1: +6 -6 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) to selected 1.23.4.1 (colored)

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

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

adapt the rest of filesystems which use genfs_getpages.

Revision 1.4.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:27 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.7: +4 -13 lines
Diff to previous 1.4.2.7 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD. Here we go again...

Revision 1.14 / (download) - annotate - [select for diffs], Wed Nov 2 12:38:58 2005 UTC (18 years, 5 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.13: +2 -12 lines
Diff to previous 1.13 (colored) to selected 1.23.4.1 (colored)

merge yamt-vop branch.  remove following VOPs.

	VOP_BLKATOFF
	VOP_VALLOC
	VOP_BALLOC
	VOP_REALLOCBLKS
	VOP_VFREE
	VOP_TRUNCATE
	VOP_UPDATE

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Thu Oct 20 05:17:29 2005 UTC (18 years, 6 months ago) by yamt
Branch: yamt-vop
Changes since 1.13: +2 -12 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.23.4.1 (colored)

adapt filecore.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Aug 19 04:47:55 2005 UTC (18 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored) to selected 1.23.4.1 (colored)

namlen is u_int16_t now.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Aug 19 04:45:47 2005 UTC (18 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.23.4.1 (colored)

Add an _ to DIRENT_SIZE

Revision 1.4.2.7 / (download) - annotate - [select for diffs], Mon Jan 17 19:32:12 2005 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.6: +5 -3 lines
Diff to previous 1.4.2.6 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jan 9 16:42:44 2005 UTC (19 years, 3 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, 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, kent-audio2, kent-audio1-beforemerge
Branch point for: yamt-lazymbuf
Changes since 1.10: +5 -3 lines
Diff to previous 1.10 (colored) to selected 1.23.4.1 (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.4.2.6 / (download) - annotate - [select for diffs], Wed Oct 27 06:48:23 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.5: +4 -4 lines
Diff to previous 1.4.2.5 (colored) to selected 1.23.4.1 (colored)

Fix various comments that describe the argument structures

Revision 1.4.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:34:43 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.4: +2 -2 lines
Diff to previous 1.4.2.4 (colored) to selected 1.23.4.1 (colored)

Fix the sync with head I botched.

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:52:49 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.3: +3 -3 lines
Diff to previous 1.4.2.3 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Sep 13 19:25:48 2004 UTC (19 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.23.4.1 (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.4.2.3 / (download) - annotate - [select for diffs], Thu Aug 12 11:42:19 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.2: +2 -6 lines
Diff to previous 1.4.2.2 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:24 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.1: +36 -8 lines
Diff to previous 1.4.2.1 (colored) to selected 1.23.4.1 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Wed May 12 02:07:38 2004 UTC (19 years, 11 months ago) by jrf
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) to selected 1.23.4.1 (colored)

caddr_t -> void * and removal of some more casts.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 26 10:39:30 2004 UTC (20 years, 2 months ago) by hannken
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored) to selected 1.23.4.1 (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 (20 years, 2 months ago) by hannken
Branch: MAIN
Changes since 1.6: +3 -5 lines
Diff to previous 1.6 (colored) to selected 1.23.4.1 (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 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:38 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
Changes since 1.5: +32 -3 lines
Diff to previous 1.5 (colored) to selected 1.23.4.1 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jul 6 17:52:08 2003 UTC (20 years, 9 months ago) by rearnsha
Branch: MAIN
Changes since 1.4: +3 -12 lines
Diff to previous 1.4 (colored) to selected 1.23.4.1 (colored)

Fix a build failure when NFSSERVER.  Unconditionally define
filecore_lease_check to genfs_lease_check (was previously lease_check
which isn't defined anywhere).  No need to include opt_nfsserver.h
any more.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Thu Jul 3 01:21:41 2003 UTC (20 years, 9 months ago) by wrstuden
Branch: ktrace-lwp
Changes since 1.4: +3 -8 lines
Diff to previous 1.4 (colored) to selected 1.23.4.1 (colored)

LWP-ify filecore fs.

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.

Also, some how or another, this code missed out on the changes to use
genfs_lease_check, and had a dangling reference to lease_check().
Given that genfs_lease_check has been around since 1998, I'm puzzled as
to what's been going on. Noticed in a compild of acorn32/GENERIC.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jun 26 05:26:45 2003 UTC (20 years, 9 months ago) by itojun
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) to selected 1.23.4.1 (colored)

strlcpy

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 23 15:22:58 2003 UTC (20 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.2: +4 -2 lines
Diff to previous 1.2 (colored) to selected 1.23.4.1 (colored)

#ifdef _KERNEL_OPT police

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 23 11:02:02 2003 UTC (20 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored) to selected 1.23.4.1 (colored)

Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Dec 29 19:55:53 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.2.1: +582 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.23.4.1 (colored)

With with HEAD.

Revision 1.1.2.1, Mon Dec 23 17:30:41 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.1: +0 -582 lines
FILE REMOVED

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

Revision 1.1 / (download) - annotate - [select for diffs], Mon Dec 23 17:30:41 2002 UTC (21 years, 3 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Branch point for: nathanw_sa
Diff to selected 1.23.4.1 (colored)

move filecorefs code from sys/filecorefs to sys/fs/filecorefs

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>