The NetBSD Project

CVS log for src/sys/kern/vfs_hooks.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.5.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:58 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

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

Revision 1.2.76.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:49 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2.76.1: +6 -5 lines
Diff to previous 1.2.76.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:01 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.4.6.1: +3 -3 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 15 17:14:40 2009 UTC (3 years, 2 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, 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, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, netbsd-6-base, netbsd-6, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, 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-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, HEAD
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

ansify function definitions

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:40 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.4: +5 -4 lines
Diff to previous 1.4 (colored)

Sync with HEAD.

Revision 1.2.72.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:20 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.2.72.1: +3 -2 lines
Diff to previous 1.2.72.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:09 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.4: +5 -4 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:07 2008 UTC (3 years, 6 months ago) by ad
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.4: +5 -4 lines
Diff to previous 1.4 (colored)

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:52 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.3: +63 -34 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

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

Revision 1.2.72.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:14 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.2: +63 -41 lines
Diff to previous 1.2 (colored)

Sync with HEAD.

Revision 1.2.74.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:11 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.2: +63 -41 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.2.76.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:28 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2: +63 -41 lines
Diff to previous 1.2 (colored)

sync with head.

Revision 1.4 / (download) - annotate - [select for diffs], Sat May 10 02:26:09 2008 UTC (4 years ago) by rumble
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-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-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, 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.3: +63 -34 lines
Diff to previous 1.3 (colored)

Convert file systems to dynamically attach with the new module interface.
Make VFS hooks dynamic while we're here and say farewell to VFS_ATTACH and
VFS_HOOKS_ATTACH linksets.

As a consequence, most of the file systems can now be loaded as new style
modules.

Quick sanity check by ad@.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:05 2008 UTC (4 years ago) by martin
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.2: +2 -9 lines
Diff to previous 1.2 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.2.18.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:39 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.18.1: +115 -0 lines
Diff to previous 1.2.18.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.2.18.1, Sun Dec 11 12:24:30 2005 UTC (6 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2: +0 -115 lines
FILE REMOVED

file vfs_hooks.c was added on branch yamt-lazymbuf on 2006-06-21 15:09:39 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:30 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pf42-baseX, yamt-pf42-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, 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, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pf42, yamt-nfs-mp, yamt-lazymbuf, mjf-devfs2
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

merge ktrace-lwp.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:46 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.6.1: +115 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD. Here we go again...

Revision 1.1.6.1, Fri Sep 23 12:10:33 2005 UTC (6 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1: +0 -115 lines
FILE REMOVED

file vfs_hooks.c was added on branch ktrace-lwp on 2005-11-10 14:09:46 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 23 12:10:33 2005 UTC (6 years, 8 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
Branch point for: ktrace-lwp

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.

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>