The NetBSD Project

CVS log for src/sys/sys/fstypes.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.41 / (download) - annotate - [select for diffs], Sat Sep 18 03:05:20 2021 UTC (2 years, 6 months 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.40: +7 -6 lines
Diff to previous 1.40 (colored) to selected 1.5.2.4 (colored)

Change the default for ACLs to be posix1e instead of nfsv4 to match FreeBSD.
Requested by chuq.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jul 5 20:41:50 2020 UTC (3 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored) to selected 1.5.2.4 (colored)

mention shared bit.

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

Add ACL support for FFS. From FreeBSD.

Revision 1.36.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:03 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.36.4.1: +5 -1 lines
Diff to previous 1.36.4.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored) to selected 1.5.2.4 (colored)

Merge changes from current as of 20200406

Revision 1.38 / (download) - annotate - [select for diffs], Sat Apr 4 20:49:31 2020 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.37: +5 -1 lines
Diff to previous 1.37 (colored) to selected 1.5.2.4 (colored)

Merge the remaining changes from the ad-namecache branch, affecting namei()
and getcwd():

- push vnode locking back as far as possible.
- do most lookups directly in the namecache, avoiding vnode locks & refs.
- don't block new refs to vnodes across VOP_INACTIVE().
- get shared locks for VOP_LOOKUP() if the file system supports it.
- correct lock types for VOP_ACCESS() / VOP_GETATTR() in a few places.

Possible future enhancements:

- make the lookups lockless.
- support dotdot lookups by being lockless and inferring absence of chroot.
- maybe make it work for layered file systems.
- avoid vnode references at the root & cwd.

Revision 1.37.6.2 / (download) - annotate - [select for diffs], Thu Jan 23 21:24:54 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.37.6.1: +3 -1 lines
Diff to previous 1.37.6.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.5.2.4 (colored)

Add an IMNT_NCLOOKUP flag to indicate the FS is OK with lookup directly
from cache.

Revision 1.37.6.1 / (download) - annotate - [select for diffs], Sun Jan 19 21:19:25 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.37: +3 -1 lines
Diff to previous 1.37 (colored) to selected 1.5.2.4 (colored)

- Add a LOCKSHARED flag to namei (matching FreeBSD) indicating that we want
  the leaf locked with LK_SHARED.

- Add an IMNT_SHRLOOKUP flag to struct mount indicating that the file
  system can do VOP_LOOKUP() with an shared lock.  If it encounters
  something tricky, VOP_LOOKUP() is free to return ENOLCK and namei() will
  retry the lookup with an exclusive lock.  If the file system has this flag
  set, namei() will try with shared locks for all of the "read only"
  lookups, i.e. nameiop=LOOKUP or !ISLASTCN.

- vfs_getcwd: only take vnode locks when really needed, take shared locks if
  possible, and where the namecache has identify info for the directories,
  do it all in the namecache.

- vfs_lookup: when crossing mountpoints take only a shared lock on the
  covered vnode; don't need anything else.

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:57 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.36: +1 -3 lines
Diff to previous 1.36 (colored) to selected 1.5.2.4 (colored)

Sync with HEAD

Revision 1.37 / (download) - annotate - [select for diffs], Wed Feb 20 10:07:27 2019 UTC (5 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, 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, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.36: +1 -3 lines
Diff to previous 1.36 (colored) to selected 1.5.2.4 (colored)

Attach "mnt_transinfo" to "dead_rootmount" so every mount has a
valid "mnt_transinfo" and remove now unneeded flag IMNT_HAS_TRANS.

Run fstrans_start()/fstrans_done() on dead_rootmount if FSTRANS_DEAD_ENABLED.
Should become the default for DIAGNOSTIC in the future.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jan 9 03:31:13 2018 UTC (6 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, 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
Branch point for: phil-wifi
Changes since 1.35: +9 -6 lines
Diff to previous 1.35 (colored) to selected 1.5.2.4 (colored)

Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet

Revision 1.30.10.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:20 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.30.10.2: +6 -2 lines
Diff to previous 1.30.10.2 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored) to selected 1.5.2.4 (colored)

update from HEAD

Revision 1.32.14.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:16 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.32.14.2: +3 -1 lines
Diff to previous 1.32.14.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored) to selected 1.5.2.4 (colored)

Sync with HEAD

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:08 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.34: +3 -1 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.5.2.4 (colored)

Sync with HEAD

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:53 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.33.2.1: +3 -1 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored) to selected 1.5.2.4 (colored)

Sync with HEAD

Revision 1.35 / (download) - annotate - [select for diffs], Wed Mar 1 10:44:47 2017 UTC (7 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Changes since 1.34: +3 -1 lines
Diff to previous 1.34 (colored) to selected 1.5.2.4 (colored)

Change the protocol to update a mounted file system from read-write
to read-only and vice versa:

- Add an internal flag IMNT_WANTRDONLY.
- Set either IMNT_WANTRDWR or IMNT_WANTRDONLY if going from or to read-only.
- After successfull call to VFS_MOUNT() set or clear MNT_RDONLY.

Adapt tmpfs and rumpfs to the new protocol.  Other file systems will be
updated when they get the IMNT_CAN_RWTORO property.

Welcome to 7.99.64

Revision 1.32.14.2 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:29 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.32.14.1: +2 -2 lines
Diff to previous 1.32.14.1 (colored) to branchpoint 1.32 (colored) to selected 1.5.2.4 (colored)

Sync with HEAD

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:22 2016 UTC (7 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) to selected 1.5.2.4 (colored)

Sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Sat Oct 8 17:28:17 2016 UTC (7 years, 6 months ago) by ast
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) to selected 1.5.2.4 (colored)

white space

Revision 1.32.14.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:30 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.32: +3 -1 lines
Diff to previous 1.32 (colored) to selected 1.5.2.4 (colored)

Sync with HEAD

Revision 1.33 / (download) - annotate - [select for diffs], Wed May 6 15:57:08 2015 UTC (8 years, 11 months ago) by hannken
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.32: +3 -1 lines
Diff to previous 1.32 (colored) to selected 1.5.2.4 (colored)

Remove miscfs/syncfs and

- move the syncer into kern/vfs_subr.c.

- change the syncer to process the mountlist and VFS_SYNC as appropriate.

- use an API for mount points similiar to the API for vnodes:
  - vfs_syncer_add_to_worklist(struct mount *mp) to add
  - vfs_syncer_remove_from_worklist(struct mount *mp) to remove a mount.

No objections on tech-kern@

Revision 1.30.10.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:11 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.30.10.1: +2 -1 lines
Diff to previous 1.30.10.1 (colored) to branchpoint 1.30 (colored) to selected 1.5.2.4 (colored)

resync with head

Revision 1.29.2.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:53 2013 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.29.2.2: +2 -1 lines
Diff to previous 1.29.2.2 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored) to selected 1.5.2.4 (colored)

sync with (a bit old) head

Revision 1.32 / (download) - annotate - [select for diffs], Mon Nov 26 16:22:21 2012 UTC (11 years, 4 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, khorben-n900, agc-symver-base, agc-symver
Branch point for: nick-nhusb
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored) to selected 1.5.2.4 (colored)

allow to enable ffs "discard" by update mounts, make the flag visible
to userland

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

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

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

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Fri Oct 19 17:09:07 2012 UTC (11 years, 5 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.30: +7 -6 lines
Diff to previous 1.30 (colored) to selected 1.5.2.4 (colored)

Implement experimental support to pass notifications that a file
was deleted from the filesystem to the disk driver, commonly
known as "discard" or "trim".
fs/driver support is in ffs and ata wd for now.
This is what was posted here:
http://mail-index.netbsd.org/tech-kern/2012/02/28/msg012813.html
with minor cleanup, and the global switch replaced by a mount option.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:51 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.29: +20 -15 lines
Diff to previous 1.29 (colored) to selected 1.5.2.4 (colored)

sync with head

Revision 1.30 / (download) - annotate - [select for diffs], Fri Nov 18 21:17:45 2011 UTC (12 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, 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-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: tls-maxphys
Changes since 1.29: +20 -15 lines
Diff to previous 1.29 (colored) to selected 1.5.2.4 (colored)

- collect the long (and sometimes incomplete) lists of basic flags into
  the header file and use that.
- sort the list of basic flags
- add MNT_RELATIME, ST_RELATIME
- mask all the op flags, for symmetry.

The real bit difference is (which is harmless):
    - mount was missing MNT_EXTATTR
    - update sets MNT_RDONLY twice
    - ops also could or in MNT_GETARGS, but this is impossible because the
      code would have chosen to do getargs then.

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:29 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.28: +7 -5 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.5.2.4 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jun 17 14:23:51 2011 UTC (12 years, 10 months ago) by manu
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.28: +7 -5 lines
Diff to previous 1.28 (colored) to selected 1.5.2.4 (colored)

Add mount -o extattr option to enable extended attributs (corrently only
for UFS1).
Remove kernel option for EA backing store autocreation and do it by
default. Add a sysctl so that autocreated attriutr size can be modified.

Revision 1.26.16.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:23 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.26: +4 -2 lines
Diff to previous 1.26 (colored) next main 1.27 (colored) to selected 1.5.2.4 (colored)

sync with head

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jan 13 07:25:50 2011 UTC (13 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 (colored) to selected 1.5.2.4 (colored)

allow file system to decide if it can be downgraded from r/w to r/o

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jan 13 07:23:39 2011 UTC (13 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.5.2.4 (colored)

fix incorrect value of IMNT_MPSAFE in __IMNT_FLAG_BITS

Revision 1.26.14.4 / (download) - annotate - [select for diffs], Thu Oct 21 08:45:03 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.26.14.3: +8 -8 lines
Diff to previous 1.26.14.3 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored) to selected 1.5.2.4 (colored)

After consideration, put back "xip" mount option.

The internal behavior is totally different between with and without
the option; automatic detection and/or fall-through are not user
friendly.  mount(8) returning the "xip" flag is also informative.

Revision 1.26.14.3 / (download) - annotate - [select for diffs], Fri May 28 09:14:55 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.26.14.2: +4 -6 lines
Diff to previous 1.26.14.2 (colored) to branchpoint 1.26 (colored) to selected 1.5.2.4 (colored)

Remove the "xip" option from mount_ffs(8) for simplicity.

Revision 1.26.14.2 / (download) - annotate - [select for diffs], Tue Feb 23 06:58:06 2010 UTC (14 years, 1 month ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.26.14.1: +6 -4 lines
Diff to previous 1.26.14.1 (colored) to branchpoint 1.26 (colored) to selected 1.5.2.4 (colored)

More bits to pass the new XIP mount option correctly.

Revision 1.26.14.1 / (download) - annotate - [select for diffs], Thu Feb 11 05:20:28 2010 UTC (14 years, 2 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.26: +3 -1 lines
Diff to previous 1.26 (colored) to selected 1.5.2.4 (colored)

XIP glues in struct mount and struct vnode.

Revision 1.21.22.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:35 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.21: +26 -24 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.5.2.4 (colored)

sync with head.

Revision 1.23.6.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:18:09 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.23: +26 -24 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.5.2.4 (colored)

Sync with HEAD.

Revision 1.21.18.1 / (download) - annotate - [select for diffs], Sun Sep 28 10:41:04 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.21: +26 -24 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.5.2.4 (colored)

Sync with HEAD.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:37:05 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.23: +26 -24 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.5.2.4 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Sep 3 23:43:06 2008 UTC (15 years, 7 months ago) by gmcgarry
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, 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-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.5.2.4 (colored)

Structures with incomplete members is an obscure gcc extension.  Replace the
flexible array with a zero-length array.  Now compiles on pcc with gcc
compatibility.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jul 31 08:44:21 2008 UTC (15 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.24: +19 -19 lines
Diff to previous 1.24 (colored) to selected 1.5.2.4 (colored)

Be consistent with #define<tab>.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Jul 31 05:38:05 2008 UTC (15 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.23: +7 -5 lines
Diff to previous 1.23 (colored) to selected 1.5.2.4 (colored)

Merge the simonb-wapbl branch.  From the original branch commit:

   Add Wasabi System's WAPBL (Write Ahead Physical Block Logging)
   journaling code.  Originally written by Darrin B. Jewell while
   at Wasabi and updated to -current by Antti Kantee, Andy Doran,
   Greg Oster and Simon Burge.

OK'd by core@, releng@.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Tue Jun 10 14:51:23 2008 UTC (15 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.23: +7 -5 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.5.2.4 (colored)

Initial commit of Wasabi System's WAPBL (Write Ahead Physical Block
Logging) journaling code.  Originally written by Darrin B. Jewell
while at Wasabi and updated to -current by Antti Kantee, Andy Doran,
Greg Oster and Simon Burge.

Still a number of issues - look in doc/BRANCHES for "simonb-wapbl"
for more info.

Revision 1.23 / (download) - annotate - [select for diffs], Tue May 6 18:43:45 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl, haad-dm
Changes since 1.22: +1 -3 lines
Diff to previous 1.22 (colored) to selected 1.5.2.4 (colored)

PR kern/38141 lookup/vfs_busy acquire rwlock recursively

Simplify the mount locking. Remove all the crud to deal with recursion on
the mount lock, and crud to deal with unmount as another weirdo lock.

Hopefully this will once and for all fix the deadlocks with this. With this
commit there are two locks on each mount:

- krwlock_t mnt_unmounting. This is used to prevent unmount across critical
  sections like getnewvnode(). It's only ever read locked with rw_tryenter(),
  and is only ever write locked in dounmount(). A write hold can't be taken
  on this lock if the current LWP could hold a vnode lock.

- kmutex_t mnt_updating. This is taken by threads updating the mount, for
  example when going r/o -> r/w, and is only present to serialize updates.
  In order to take this lock, a read hold must first be taken on
  mnt_unmounting, and the two need to be held across the operation.

One effect of this change: previously if an unmount failed, we would make a
half hearted attempt to back out of it gracefully, but that was unlikely to
work in a lot of cases. Now while an unmount that will be aborted is in
progress, new file operations within the mount will fail instead of being
delayed. That is unlikely to be a problem though, because if the admin
requests unmount of a file system then s(he) has made a decision to deny
access to the resource.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Apr 30 12:49:17 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (colored) to selected 1.5.2.4 (colored)

PR kern/38135 vfs_busy/vfs_trybusy confusion

The previous fix worked, but it opened a window where mounts could have
disappeared from mountlist while the caller was traversing it using
vfs_trybusy(). Fix that.

Revision 1.20.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:34:48 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.5.2.4 (colored)

sync with HEAD

Revision 1.5.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:36:29 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.2.4: +3 -1 lines
Diff to previous 1.5.2.4 (colored) next main 1.6 (colored)

sync with head.

Revision 1.20.6.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:49:18 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.5.2.4 (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.20.10.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:49:07 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.5.2.4 (colored)

sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Oct 10 20:42:32 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-pf42-baseX, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: yamt-nfs-mp, mjf-devfs2
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored) to selected 1.5.2.4 (colored)

Merge from vmlocking:

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

Revision 1.5.2.4 / (download) - annotate - [selected], Mon Sep 3 14:46:15 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.2.3: +2 -8 lines
Diff to previous 1.5.2.3 (colored)

sync with head.

Revision 1.18.6.3 / (download) - annotate - [select for diffs], Tue Aug 21 18:05:42 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.18.6.2: +3 -1 lines
Diff to previous 1.18.6.2 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored) to selected 1.5.2.4 (colored)

Add a per-mount flag that specifies whether the underlying file system code
is MP safe, and populate a per-vnode flag from this at vnode creation time.
If the file system is MP safe, do not acquire kernel_lock in the VOP wrappers.

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:28 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.18: +2 -8 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.5.2.4 (colored)

Sync with head.

Revision 1.18.6.2 / (download) - annotate - [select for diffs], Fri Jun 8 14:18:10 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.18.6.1: +2 -2 lines
Diff to previous 1.18.6.1 (colored) to branchpoint 1.18 (colored) to selected 1.5.2.4 (colored)

Sync with head.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Thu May 17 13:41:55 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.18.2.1: +2 -2 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored) to selected 1.5.2.4 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Tue May 8 15:30:41 2007 UTC (16 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, yamt-idlelwp-base8, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.5.2.4 (colored)

update comment in struct fid to say the alignment is for prehistoric
compat: short + short doesn't mean longword alignment

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Sun Apr 15 16:04:04 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.18: +1 -7 lines
Diff to previous 1.18 (colored) to selected 1.5.2.4 (colored)

sync with head.

Revision 1.18.6.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:18 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.18: +1 -7 lines
Diff to previous 1.18 (colored) to selected 1.5.2.4 (colored)

Sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Apr 8 11:20:48 2007 UTC (17 years ago) by hannken
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic
Changes since 1.18: +1 -7 lines
Diff to previous 1.18 (colored) to selected 1.5.2.4 (colored)

Remove now obsolete vn_start_write() and vn_finished_write() and
corresponding flags.

Revert softdep_trackbufs() to its state before vn_start_write() was added.

Remove from struct mount now unneeded flags IMNT_SUSPEND* and
members mnt_writeopcountupper, mnt_writeopcountlower and mnt_leaf.

Welcome to 4.99.17

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:11 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.2.2: +3 -1 lines
Diff to previous 1.5.2.2 (colored) to selected 1.5.2.4 (colored)

sync with head.

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:47 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.14.4.1: +3 -1 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.5.2.4 (colored)

Sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jan 19 14:49:11 2007 UTC (17 years, 3 months ago) by hannken
Branch: MAIN
CVS Tags: reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, mjf-ufs-trans
Changes since 1.17: +3 -1 lines
Diff to previous 1.17 (colored) to selected 1.5.2.4 (colored)

New file system suspension API to replace vn_start_write and vn_finished_write.
The suspension helpers are now put into file system specific operations.
This means every file system not supporting these helpers cannot be suspended
and therefore snapshots are no longer possible.

Implemented for file systems of type ffs.

The new API is enabled on a kernel option NEWVNGATE.  This option is
not enabled by default in any kernel config.

Presented and discussed on tech-kern with much input from
Bill Studenmund <wrstuden@netbsd.org> and YAMAMOTO Takashi <yamt@netbsd.org>.

Welcome to 4.99.9 (new vfs op vfs_suspendctl).

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:23 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored) to selected 1.5.2.4 (colored)

Sync with head.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:55 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.2.1: +23 -8 lines
Diff to previous 1.5.2.1 (colored) to selected 1.5.2.4 (colored)

sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Dec 26 12:39:01 2006 UTC (17 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored) to selected 1.5.2.4 (colored)

- shorten the period to modify mnt_flag temporarily.
- desupport MNT_EXPORTED without MNT_UPDATE explicitly.
- fix a comment.
- unwrap short lines.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Oct 31 08:12:46 2006 UTC (17 years, 5 months ago) by mjf
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Changes since 1.15: +1 -4 lines
Diff to previous 1.15 (colored) to selected 1.5.2.4 (colored)

Revert the changes I introduced trying to solve tmpfs' NFS export problem.
Requested by yamt@

Revision 1.15 / (download) - annotate - [select for diffs], Tue Oct 24 21:53:10 2006 UTC (17 years, 5 months ago) by mjf
Branch: MAIN
Changes since 1.14: +5 -2 lines
Diff to previous 1.14 (colored) to selected 1.5.2.4 (colored)

Add support to allow a file system to not permit being exported over NFS.

Approved by elad@ and wrstuden@

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:59:42 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.7: +31 -20 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.5.2.4 (colored)

sync with head

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:47:26 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.8: +21 -8 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.5.2.4 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 4 16:29:51 2006 UTC (17 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored) to selected 1.5.2.4 (colored)

some filehandle syscall related changes.

- remove the support of variable-sized filehandle from compat version of
  syscalls.  (strictly speaking, it breaks abi.  i don't think it's a problem
  because this feature is short-lived and there are no affected in-tree
  filesystems.)
- unify vfs_copyinfh_alloc and vfs_copyinfh_alloc_size.
- vfs_copyinfh_alloc_size: check fhsize strictly.
- reduce code duplication between compat and current syscalls.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 31 16:34:44 2006 UTC (17 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) to selected 1.5.2.4 (colored)

Make filehandles opaque to userland

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 14 18:30:35 2006 UTC (17 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.11: +13 -2 lines
Diff to previous 1.11 (colored) to selected 1.5.2.4 (colored)

introduce filehandle size limits:

- FHANDLE_SIZE_MAX: refuse unreasonable size allocation, esp. when
  it's a user-specified value.

- FHANDLE_SIZE_MIN: pad small filehandles with zero for compatibility.
  XXX it might be better to push this into filesystem dependent code so that
  new filesystems can choose smaller handles.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jul 14 17:31:42 2006 UTC (17 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored) to selected 1.5.2.4 (colored)

oops, fix FHANDLE_SIZE.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jul 14 15:58:40 2006 UTC (17 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.9: +7 -1 lines
Diff to previous 1.9 (colored) to selected 1.5.2.4 (colored)

add some convenient macros for fhandle_t.

Revision 1.8.10.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:50:06 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.8: +2 -8 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.5.2.4 (colored)

Merge from HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jul 13 12:00:26 2006 UTC (17 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.8: +2 -8 lines
Diff to previous 1.8 (colored) to selected 1.5.2.4 (colored)

Fix alignement problems for fhandle_t, exposed by gcc4.1.

While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.

Discussed on tech-kern, with lots of help from yamt (thanks!).

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:03 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5: +11 -14 lines
Diff to previous 1.5 (colored) to selected 1.5.2.4 (colored)

sync with head.

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:18 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.7: +11 -13 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.5.2.4 (colored)

Sync with head.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:23 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.7: +11 -13 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.5.2.4 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Feb 12 01:32:07 2006 UTC (18 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, gdamore-uart
Changes since 1.7: +11 -13 lines
Diff to previous 1.7 (colored) to selected 1.5.2.4 (colored)

convert "magiclinks" from a per-fs mount option to a system-wide sysctl.
as discussed on tech-kern quite some time ago.

Revision 1.3.10.2 / (download) - annotate - [select for diffs], Fri Jan 20 20:48:41 2006 UTC (18 years, 2 months ago) by riz
Branch: netbsd-3
CVS Tags: 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
Changes since 1.3.10.1: +4 -5 lines
Diff to previous 1.3.10.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.5.2.4 (colored)

Back out tickets 490, 559, and 560, which added "magic symlinks", at
the request of chs@ (thorpej@ concurs), as there is consensus that
this should be changed to a system-wide tunable, rather than a mount
option.

Revision 1.3.10.1 / (download) - annotate - [select for diffs], Thu Dec 29 00:57:09 2005 UTC (18 years, 3 months ago) by riz
Branch: netbsd-3
Changes since 1.3: +5 -4 lines
Diff to previous 1.3 (colored) to selected 1.5.2.4 (colored)

Pull up following revision(s) (requested by thorpej in ticket #490):
	lib/libc/sys/mount.2: revision 1.33
	sys/sys/systm.h: revision 1.179
	sys/sys/fstypes.h: revision 1.4
	include/mntopts.h: revision 1.6
	sys/conf/newvers.sh: revision 1.41
	sys/kern/vfs_syscalls.c: revision 1.223
	sys/conf/files: revision 1.720
	sys/kern/vfs_lookup.c: revision 1.61
	share/man/man7/symlink.7: revision 1.7
	sbin/mount/mount.8: revision 1.47
	sys/kern/init_main.c: revision 1.248 via patch
	share/man/man4/options.4: revision 1.280 via patch
Implement expansion of special "magic" strings in symlinks into
system-specific values.  Submitted by Chris Demetriou in Nov 1995 (!)
in PR kern/1781, modified only slighly by me.
This is enabled on a per-mount basis with the MNT_MAGICLINKS mount
flag.  It can be enabled at mountroot() time by building the kernel
with the ROOTFS_MAGICLINKS option.
The following magic strings are supported by the implementation:
@machine    value of MACHINE for the system
@machine_arch    value of MACHINE_ARCH for the system
@hostname    the system host name, as set with sethostname()
@domainname    the system domain name, as set with setdomainname()
@kernel_ident    the kernel config file name
@osrelease    the releaes number of the OS
@ostype        the name of the OS (always "NetBSD" for NetBSD)
Example usage:
mkdir /arch/i386/bin
mkdir /arch/sparc/bin
ln -s /arch/@machine_arch/bin /bin

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:20 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored) to selected 1.5.2.4 (colored)

merge ktrace-lwp.

Revision 1.2.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:12 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.5: +29 -12 lines
Diff to previous 1.2.2.5 (colored) next main 1.3 (colored) to selected 1.5.2.4 (colored)

Sync with HEAD. Here we go again...

Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 23 12:10:33 2005 UTC (18 years, 6 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored) to selected 1.5.2.4 (colored)

Apply the NFS exports list rototill patch:

- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jun 23 01:59:31 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.4: +26 -9 lines
Diff to previous 1.4 (colored) to selected 1.5.2.4 (colored)

Sync flags.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jun 23 00:30:28 2005 UTC (18 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +5 -4 lines
Diff to previous 1.3 (colored) to selected 1.5.2.4 (colored)

Implement expansion of special "magic" strings in symlinks into
system-specific values.  Submitted by Chris Demetriou in Nov 1995 (!)
in PR kern/1781, modified only slighly by me.

This is enabled on a per-mount basis with the MNT_MAGICLINKS mount
flag.  It can be enabled at mountroot() time by building the kernel
with the ROOTFS_MAGICLINKS option.

The following magic strings are supported by the implementation:

	@machine	value of MACHINE for the system
	@machine_arch	value of MACHINE_ARCH for the system
	@hostname	the system host name, as set with sethostname()
	@domainname	the system domain name, as set with setdomainname()
	@kernel_ident	the kernel config file name
	@osrelease	the releaes number of the OS
	@ostype		the name of the OS (always "NetBSD" for NetBSD)

Example usage:

	mkdir /arch/i386/bin
	mkdir /arch/sparc/bin
	ln -s /arch/@machine_arch/bin /bin

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:38:46 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.4: +1 -1 lines
Diff to previous 1.2.2.4 (colored) to selected 1.5.2.4 (colored)

Fix the sync with head I botched.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:30 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.3: +1 -1 lines
Diff to previous 1.2.2.3 (colored) to selected 1.5.2.4 (colored)

Sync with HEAD.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Wed Aug 25 06:59:14 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.2: +3 -1 lines
Diff to previous 1.2.2.2 (colored) to selected 1.5.2.4 (colored)

Sync with HEAD.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 15 07:19:54 2004 UTC (19 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, 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, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-3
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored) to selected 1.5.2.4 (colored)

Fixing age old cruft:
* Rather than using mnt_maxsymlinklen to indicate that a file systems returns
  d_type fields(!), add a new internal flag, IMNT_DTYPE.

Add 3 new elements to ufsmount:
* um_maxsymlinklen, replaces mnt_maxsymlinklen (which never should have existed
  in the first place).
* um_dirblksiz, which tracks the current directory block size, eliminating the
  FS-specific checks littered throughout the code.  This may be used later to
  make the block size variable.
* um_maxfilesize, which is the maximum file size, possibly adjusted lower due
  to implementation issues.

Sync some bug fixes from FFS into ext2fs, particularly:
* ffs_lookup.c 1.21, 1.28, 1.33, 1.48
* ffs_inode.c 1.43, 1.44, 1.45, 1.66, 1.67
* ffs_vnops.c 1.84, 1.85, 1.86

Clean up some crappy pointer frobnication.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:27 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.1: +240 -0 lines
Diff to previous 1.2.2.1 (colored) to selected 1.5.2.4 (colored)

Sync with HEAD

Revision 1.2.2.1, Wed Apr 21 02:21:49 2004 UTC (20 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.2: +0 -240 lines
FILE REMOVED

file fstypes.h was added on branch ktrace-lwp on 2004-08-03 10:56:27 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Wed Apr 21 02:21:49 2004 UTC (20 years ago) by christos
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.1: +5 -1 lines
Diff to previous 1.1 (colored) to selected 1.5.2.4 (colored)

Add a define for VFS_MAXFIDSIZE

Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:43 2004 UTC (20 years ago) by christos
Branch: MAIN
Diff to selected 1.5.2.4 (colored)

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

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>