The NetBSD Project

CVS log for src/sys/nfs/nfs_node.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.126 / (download) - annotate - [select for diffs], Fri May 1 08:43:00 2020 UTC (3 years, 1 month ago) by hannken
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, netbsd-10-base, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.125: +5 -2 lines
Diff to previous 1.125 (colored)

Resolve delayed truncation from nfs_inactive() too.

Should prevent "locking against self" from nfs_unlock().

Revision 1.123.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:17 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.123.2.1: +1 -1 lines
Diff to previous 1.123.2.1 (colored) to branchpoint 1.123 (colored) next main 1.124 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.123.2.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:59 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.123: +4 -4 lines
Diff to previous 1.123 (colored)

Merge changes from current as of 20200406

Revision 1.124.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:08 2020 UTC (3 years, 3 months ago) by ad
Branch: ad-namecache
Changes since 1.124: +4 -4 lines
Diff to previous 1.124 (colored) next main 1.125 (colored)

Sync with head.

Revision 1.125 / (download) - annotate - [select for diffs], Mon Feb 24 20:11:45 2020 UTC (3 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.124: +4 -4 lines
Diff to previous 1.124 (colored)

v_interlock -> vmobjlock

Revision 1.124 / (download) - annotate - [select for diffs], Fri Oct 18 04:09:02 2019 UTC (3 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.123: +3 -3 lines
Diff to previous 1.123 (colored)

 s/initalize/initialize/ in comment or printf message.

Revision 1.122.8.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:26:07 2018 UTC (4 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.122: +3 -2 lines
Diff to previous 1.122 (colored) next main 1.123 (colored)

Sync with HEAD

Revision 1.123 / (download) - annotate - [select for diffs], Mon May 28 21:04:38 2018 UTC (5 years ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20190609, 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, 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
Branch point for: phil-wifi
Changes since 1.122: +3 -2 lines
Diff to previous 1.122 (colored)

add a genfs method to allow a file system to limit the range of pages
that are given to a single GOP_WRITE() call.  needed by ZFS.

Revision 1.116.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:05 2017 UTC (5 years, 6 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.116.12.1: +3 -10 lines
Diff to previous 1.116.12.1 (colored) to branchpoint 1.116 (colored) next main 1.117 (colored)

update from HEAD

Revision 1.118.4.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:13 2017 UTC (5 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.118.4.1: +5 -10 lines
Diff to previous 1.118.4.1 (colored) to branchpoint 1.118 (colored) next main 1.119 (colored)

Sync with HEAD

Revision 1.122 / (download) - annotate - [select for diffs], Fri May 26 14:34:20 2017 UTC (6 years ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, 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
Branch point for: pgoyette-compat
Changes since 1.121: +2 -7 lines
Diff to previous 1.121 (colored)

Eliminate crusty debugging sludge.

We have a mostly sane vnode lifecycle now.  If this needs debugging,
it should be done once at the call site of VOP_RECLAIM.

Revision 1.121 / (download) - annotate - [select for diffs], Fri May 26 14:21:02 2017 UTC (6 years ago) by riastradh
Branch: MAIN
Changes since 1.120: +5 -3 lines
Diff to previous 1.120 (colored)

Make VOP_RECLAIM do the last unlock of the vnode.

VOP_RECLAIM naturally has exclusive access to the vnode, so having it
locked on entry is not strictly necessary -- but it means if there
are any final operations that must be done on the vnode, such as
ffs_update, requiring exclusive access to it, we can now kassert that
the vnode is locked in those operations.

We can't just have the caller release the last lock because some file
systems don't use genfs_lock, and require the vnode to remain valid
for VOP_UNLOCK to work, notably unionfs.

Revision 1.118.8.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:30 2017 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.118: +3 -5 lines
Diff to previous 1.118 (colored) next main 1.119 (colored)

Sync with HEAD

Revision 1.119.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:07 2017 UTC (6 years, 1 month ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.119: +3 -5 lines
Diff to previous 1.119 (colored) next main 1.120 (colored)

Sync with HEAD

Revision 1.120 / (download) - annotate - [select for diffs], Tue Apr 11 14:25:01 2017 UTC (6 years, 1 month ago) by riastradh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, bouyer-socketcan-base1
Changes since 1.119: +3 -5 lines
Diff to previous 1.119 (colored)

Make VOP_INACTIVE preserve vnode lock on return.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html

Ride 7.99.68, a bumpy bus of incremental vfs improvements!

Revision 1.118.4.1 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:10 2016 UTC (6 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.118: +2 -4 lines
Diff to previous 1.118 (colored)

Sync with HEAD

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

Remove now obsolete operation vcache_remove().

Welcome to 7.99.36

Revision 1.116.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:36 2014 UTC (8 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.116: +40 -106 lines
Diff to previous 1.116 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.117.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:45 2014 UTC (8 years, 9 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.117: +42 -109 lines
Diff to previous 1.117 (colored) next main 1.118 (colored)

Rebase.

Revision 1.118 / (download) - annotate - [select for diffs], Fri May 30 08:47:45 2014 UTC (9 years ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: pgoyette-localcount, nick-nhusb
Changes since 1.117: +42 -109 lines
Diff to previous 1.117 (colored)

Change NFS from rbtree to vcache.

Revision 1.116.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:41:11 2014 UTC (9 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.116: +4 -3 lines
Diff to previous 1.116 (colored) next main 1.117 (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.116.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:14 2014 UTC (9 years ago) by rmind
Branch: rmind-smpnet
Changes since 1.116: +4 -3 lines
Diff to previous 1.116 (colored) next main 1.117 (colored)

sync with head

Revision 1.117 / (download) - annotate - [select for diffs], Thu Feb 27 16:51:38 2014 UTC (9 years, 3 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.116: +4 -3 lines
Diff to previous 1.116 (colored)

The current implementation of vn_lock() is racy.  Modification of
the vnode operations vector for active vnodes is unsafe because it
is not known whether deadfs or the original file system will be
called.

- Pass down LK_RETRY to the lock operation (hint for deadfs only).

- Change deadfs lock operation to return ENOENT if LK_RETRY is unset.

- Change all other lock operations to check for dead vnode once
  the vnode is locked and unlock and return ENOENT in this case.

With these changes in place vnode lock operations will never succeed
after vclean() has marked the vnode as VI_XLOCK and before vclean()
has changed the operations vector.

Adresses PR kern/37706 (Forced unmount of file systems is unsafe)

Discussed on tech-kern.

Welcome to 6.99.33

Revision 1.115.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:27 2011 UTC (11 years, 11 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.115: +7 -4 lines
Diff to previous 1.115 (colored) next main 1.116 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.116 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:59 2011 UTC (11 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.115: +7 -4 lines
Diff to previous 1.115 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.114.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:02 2011 UTC (12 years ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.114: +2 -3 lines
Diff to previous 1.114 (colored) next main 1.115 (colored)

Sync with HEAD.

Revision 1.110.4.6 / (download) - annotate - [select for diffs], Tue May 31 03:05:10 2011 UTC (12 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.110.4.5: +2 -3 lines
Diff to previous 1.110.4.5 (colored) to branchpoint 1.110 (colored) next main 1.111 (colored)

sync with head

Revision 1.110.4.5 / (download) - annotate - [select for diffs], Sun May 22 21:52:12 2011 UTC (12 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.110.4.4: +5 -2 lines
Diff to previous 1.110.4.4 (colored) to branchpoint 1.110 (colored)

nfs_gop_write: acquire the lock for pmap_page_protect() operation.

Revision 1.110.4.4 / (download) - annotate - [select for diffs], Thu May 19 03:43:03 2011 UTC (12 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.110.4.3: +3 -3 lines
Diff to previous 1.110.4.3 (colored) to branchpoint 1.110 (colored)

Implement sharing of vnode_t::v_interlock amongst vnodes:
- Lock is shared amongst UVM objects using uvm_obj_setlock() or getnewvnode().
- Adjust vnode cache to handle unsharing, add VI_LOCKSHARE flag for that.
- Use sharing in tmpfs and layerfs for underlying object.
- Simplify locking in ubc_fault().
- Sprinkle some asserts.

Discussed with ad@.

Revision 1.115 / (download) - annotate - [select for diffs], Thu May 19 03:11:59 2011 UTC (12 years ago) by rmind
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.114: +2 -3 lines
Diff to previous 1.114 (colored)

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

Revision 1.110.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:03 2011 UTC (12 years, 3 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.110.4.2: +18 -20 lines
Diff to previous 1.110.4.2 (colored) to branchpoint 1.110 (colored)

sync with head

Revision 1.110.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:43 2010 UTC (12 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.110.2.1: +15 -17 lines
Diff to previous 1.110.2.1 (colored) to branchpoint 1.110 (colored) next main 1.111 (colored)

Sync with HEAD (-D20101022).

Revision 1.101.10.6 / (download) - annotate - [select for diffs], Sun Oct 10 08:29:39 2010 UTC (12 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.101.10.5: +3 -3 lines
Diff to previous 1.101.10.5 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

some locking changes

Revision 1.101.10.5 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:39 2010 UTC (12 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.101.10.4: +17 -19 lines
Diff to previous 1.101.10.4 (colored) to branchpoint 1.101 (colored)

sync with head

Revision 1.114 / (download) - annotate - [select for diffs], Fri Sep 24 22:51:50 2010 UTC (12 years, 8 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.113: +17 -19 lines
Diff to previous 1.113 (colored)

Fixes/improvements to RB-tree implementation:
1. Fix inverted node order, so that negative value from comparison operator
   would represent lower (left) node, and positive - higher (right) node.
2. Add an argument (i.e. "context"), passed to comparison operators.
3. Change rb_tree_insert_node() to return a node - either inserted one or
   already existing one.
4. Amend the interface to manipulate the actual object, instead of the
   rb_node (in a similar way as Patricia-tree interface does).
5. Update all RB-tree users accordingly.

XXX: Perhaps rename rb.h to rbtree.h, since cleaning-up..

1-3 address the PR/43488 by Jeremy Huddleston.

Passes RB-tree regression tests.
Reviewed by: matt@, christos@

Revision 1.110.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:51 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.110: +5 -5 lines
Diff to previous 1.110 (colored)

Sync with HEAD.

Revision 1.101.10.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:59 2010 UTC (12 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.101.10.3: +5 -5 lines
Diff to previous 1.101.10.3 (colored) to branchpoint 1.101 (colored)

sync with head.

Revision 1.113 / (download) - annotate - [select for diffs], Wed Jul 21 17:52:13 2010 UTC (12 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.112: +3 -3 lines
Diff to previous 1.112 (colored)

Make holding v_interlock mandatory for callers of vget().

Announced some time ago on tech-kern.

Revision 1.110.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:20:00 2010 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.110.4.1: +4 -4 lines
Diff to previous 1.110.4.1 (colored) to branchpoint 1.110 (colored)

sync with head

Revision 1.112 / (download) - annotate - [select for diffs], Thu Jul 1 13:00:56 2010 UTC (12 years, 11 months ago) by hannken
Branch: MAIN
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (colored)

Remove vlockmgr().  Generic vnode lock operations now use a rwlock located
in the vnode.  All LK_* flags move from sys/lock.h to sys/vnode.h.  Calls
to vlockmgr() in file systems get replaced with VOP_LOCK() or VOP_UNLOCK().

Welcome to 5.99.34.

Discussed on tech-kern.

Revision 1.111 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:17 2010 UTC (12 years, 11 months ago) by hannken
Branch: MAIN
Changes since 1.110: +3 -3 lines
Diff to previous 1.110 (colored)

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.110.4.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:12 2010 UTC (13 years, 2 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.110: +3 -3 lines
Diff to previous 1.110 (colored)

Change struct uvm_object::vmobjlock to be dynamically allocated with
mutex_obj_alloc().  It allows us to share the locks among UVM objects.

Revision 1.108.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:22:51 2009 UTC (14 years ago) by jym
Branch: jym-xensuspend
Changes since 1.108: +7 -14 lines
Diff to previous 1.108 (colored) next main 1.109 (colored)

Sync with HEAD.

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

Revision 1.101.10.3 / (download) - annotate - [select for diffs], Mon May 4 08:14:22 2009 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.101.10.2: +122 -105 lines
Diff to previous 1.101.10.2 (colored) to branchpoint 1.101 (colored)

sync with head.

Revision 1.106.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:44 2009 UTC (14 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.106.2.1: +7 -14 lines
Diff to previous 1.106.2.1 (colored) to branchpoint 1.106 (colored) next main 1.107 (colored)

Sync with HEAD.

Revision 1.110 / (download) - annotate - [select for diffs], Sun Mar 15 17:20:10 2009 UTC (14 years, 2 months ago) by cegger
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, uebayasi-xip-base1, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.109: +4 -4 lines
Diff to previous 1.109 (colored)

ansify function definitions

Revision 1.109 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:24 2009 UTC (14 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.108: +5 -12 lines
Diff to previous 1.108 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.106.4.1 / (download) - annotate - [select for diffs], Mon Feb 2 03:11:02 2009 UTC (14 years, 4 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.106: +42 -29 lines
Diff to previous 1.106 (colored) next main 1.107 (colored)

Pull up following revision(s) (requested by ad in ticket #344):
	sys/nfs/nfs_node.c: revision 1.108
	sys/nfs/nfsnode.h: revision 1.69
- Don't vput() a vnode that we do not hold locked.
- Eliminate one of the few remaining uses of LK_CANRECURSE.

Revision 1.106.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:20 2009 UTC (14 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.106: +44 -29 lines
Diff to previous 1.106 (colored)

Sync with HEAD.

Revision 1.101.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:34 2009 UTC (14 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.101.6.2: +107 -91 lines
Diff to previous 1.101.6.2 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

Sync with HEAD.

Revision 1.108 / (download) - annotate - [select for diffs], Fri Jan 2 12:57:29 2009 UTC (14 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.107: +42 -29 lines
Diff to previous 1.107 (colored)

- Don't vput() a vnode that we do not hold locked.
- Eliminate one of the few remaining uses of LK_CANRECURSE.

Revision 1.103.4.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:28 2008 UTC (14 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.103.4.1: +71 -68 lines
Diff to previous 1.103.4.1 (colored) to branchpoint 1.103 (colored) next main 1.104 (colored)

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

Revision 1.107 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:09 2008 UTC (14 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.106: +4 -2 lines
Diff to previous 1.106 (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.106 / (download) - annotate - [select for diffs], Wed Oct 22 12:29:35 2008 UTC (14 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-0-RC1, matt-mips64-base2
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.105: +3 -3 lines
Diff to previous 1.105 (colored)

Don't need nfs_vfs_reinit anymore since we don't resize tables anymore.
Move reinit code to init case.

Revision 1.105 / (download) - annotate - [select for diffs], Wed Oct 22 11:36:06 2008 UTC (14 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.104: +70 -69 lines
Diff to previous 1.104 (colored)

Change NFS to use a RB-tree for its FH->nfsnode lookups.

Revision 1.103.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:59 2008 UTC (14 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.103: +18 -12 lines
Diff to previous 1.103 (colored)

Sync with HEAD.

Revision 1.102.2.2 / (download) - annotate - [select for diffs], Fri Oct 10 22:35:43 2008 UTC (14 years, 7 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.102.2.1: +18 -12 lines
Diff to previous 1.102.2.1 (colored) to branchpoint 1.102 (colored) next main 1.103 (colored)

Sync with HEAD.

Revision 1.101.6.2 / (download) - annotate - [select for diffs], Sun Oct 5 20:11:33 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.101.6.1: +16 -10 lines
Diff to previous 1.101.6.1 (colored) to branchpoint 1.101 (colored)

Sync with HEAD.

Revision 1.104 / (download) - annotate - [select for diffs], Tue Sep 30 14:29:39 2008 UTC (14 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, haad-dm-base1
Changes since 1.103: +18 -12 lines
Diff to previous 1.103 (colored)

Initialize nfsnode pools and malloc type dynamically in the
constructor instead of depending on link sets.  Consequently, rename
nfs_nh{init,reinit,done} to nfs_node_{init,reinit,done}, respectively,
to better convey the function.

Revision 1.102.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:32:01 2008 UTC (14 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.102: +5 -3 lines
Diff to previous 1.102 (colored)

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

Revision 1.101.8.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:48 2008 UTC (15 years ago) by yamt
Branch: yamt-pf42
Changes since 1.101.8.1: +5 -3 lines
Diff to previous 1.101.8.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

sync with head

Revision 1.101.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:30 2008 UTC (15 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.101: +11 -11 lines
Diff to previous 1.101 (colored)

Sync with HEAD.

Revision 1.103 / (download) - annotate - [select for diffs], Sat May 24 14:29:18 2008 UTC (15 years ago) by tron
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl
Branch point for: haad-dm
Changes since 1.102: +5 -3 lines
Diff to previous 1.102 (colored)

Make sure that we flush the NFS directory cache in case of an NFS mount
using the translate cookie option during unmount. This fixes PR kern/38100.
Patch suggested by Michael van Elst during Hackathon 11.

Revision 1.101.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:45 2008 UTC (15 years ago) by yamt
Branch: yamt-pf42
Changes since 1.101: +8 -10 lines
Diff to previous 1.101 (colored)

sync with head.

Revision 1.101.10.2 / (download) - annotate - [select for diffs], Fri May 16 02:25:49 2008 UTC (15 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.101.10.1: +8 -10 lines
Diff to previous 1.101.10.1 (colored) to branchpoint 1.101 (colored)

sync with head.

Revision 1.102 / (download) - annotate - [select for diffs], Mon May 5 17:11:17 2008 UTC (15 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.101: +8 -10 lines
Diff to previous 1.101 (colored)

- Convert hashinit() to use kmem_alloc(). The hash tables can be large
  and it's better to not have them in kmem_map.
- Convert a couple of minor items along the way to kmem_alloc().
- Fix some memory leaks.

Revision 1.101.10.1 / (download) - annotate - [select for diffs], Sun Apr 27 12:52:49 2008 UTC (15 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.101: +4 -2 lines
Diff to previous 1.101 (colored)

commit some work-in-progress changes to make nfs client mp-safe to a branch,
so that they won't get lost.
	- sprinkle some locking
	- mark the filesystem, nfstimer callout, and kq kthread mp-safe
	- add assertions and comments
	- disable upgrade mount for now
	- some unrelated cosmetic changes

Revision 1.95.2.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:08 2008 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.95.2.1: +37 -19 lines
Diff to previous 1.95.2.1 (colored) to branchpoint 1.95 (colored) next main 1.96 (colored)

sync with HEAD

Revision 1.95.8.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:18 2008 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.95.8.1: +43 -31 lines
Diff to previous 1.95.8.1 (colored) to branchpoint 1.95 (colored) next main 1.96 (colored)

Sync with HEAD.

Revision 1.80.2.7 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:44 2008 UTC (15 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.80.2.6: +36 -16 lines
Diff to previous 1.80.2.6 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

sync with head.

Revision 1.101 / (download) - annotate - [select for diffs], Wed Jan 30 09:50:24 2008 UTC (15 years, 4 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.100: +3 -3 lines
Diff to previous 1.100 (colored)

Replace struct lock on vnodes with a simpler lock object built on
krwlock_t. This is a step towards removing lockmgr and simplifying
vnode locking. Discussed on tech-kern.

Revision 1.100 / (download) - annotate - [select for diffs], Sat Jan 26 15:30:07 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.99: +35 -15 lines
Diff to previous 1.99 (colored)

- Make nfsnode hash MPSAFE.
- Replace use of lockmgr().

Revision 1.80.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:47:33 2008 UTC (15 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.80.2.5: +9 -17 lines
Diff to previous 1.80.2.5 (colored) to branchpoint 1.80 (colored)

sync with head

Revision 1.96.6.2 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:37 2008 UTC (15 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.96.6.1: +1 -3 lines
Diff to previous 1.96.6.1 (colored) to branchpoint 1.96 (colored) next main 1.97 (colored)

Sync with HEAD

Revision 1.99 / (download) - annotate - [select for diffs], Thu Jan 17 10:27:43 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.98: +3 -5 lines
Diff to previous 1.98 (colored)

Correct test of v_usecount.

Revision 1.95.2.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:57:52 2008 UTC (15 years, 5 months ago) by matt
Branch: matt-armv6
Changes since 1.95: +8 -15 lines
Diff to previous 1.95 (colored)

sync with HEAD

Revision 1.96.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:57:42 2008 UTC (15 years, 5 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.96: +8 -14 lines
Diff to previous 1.96 (colored)

Sync with HEAD

Revision 1.98 / (download) - annotate - [select for diffs], Wed Jan 2 19:26:46 2008 UTC (15 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.97: +5 -6 lines
Diff to previous 1.97 (colored)

use kmem_alloc instead of malloc.

Revision 1.97 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:03 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.96: +5 -10 lines
Diff to previous 1.96 (colored)

Merge vmlocking2 to head.

Revision 1.95.8.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:21:22 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.95: +3 -4 lines
Diff to previous 1.95 (colored)

Sync with HEAD.

Revision 1.80.2.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:34:43 2007 UTC (15 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.80.2.4: +3 -4 lines
Diff to previous 1.80.2.4 (colored) to branchpoint 1.80 (colored)

sync with head

Revision 1.96.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:33 2007 UTC (15 years, 6 months ago) by ad
Branch: vmlocking2
Changes since 1.96: +5 -10 lines
Diff to previous 1.96 (colored) next main 1.97 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.94.6.2 / (download) - annotate - [select for diffs], Tue Nov 27 19:39:00 2007 UTC (15 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.94.6.1: +3 -4 lines
Diff to previous 1.94.6.1 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.96 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:20 2007 UTC (15 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.95: +3 -4 lines
Diff to previous 1.95 (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.92.4.4 / (download) - annotate - [select for diffs], Sun Sep 16 19:04:38 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.92.4.3: +5 -11 lines
Diff to previous 1.92.4.3 (colored) to branchpoint 1.92 (colored) next main 1.93 (colored)

Checkpoint work in progress on the vnode lifecycle and reference counting
stuff. This makes it work properly without kernel_lock and fixes a few
quite old bugs. See vfs_subr.c 1.283.2.17 for details.

Revision 1.80.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:44:17 2007 UTC (15 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.80.2.3: +10 -7 lines
Diff to previous 1.80.2.3 (colored) to branchpoint 1.80 (colored)

sync with head.

Revision 1.92.4.3 / (download) - annotate - [select for diffs], Mon Aug 20 21:28:11 2007 UTC (15 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.92.4.2: +6 -4 lines
Diff to previous 1.92.4.2 (colored) to branchpoint 1.92 (colored)

Sync with HEAD.

Revision 1.94.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:50:01 2007 UTC (15 years, 9 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.94: +6 -4 lines
Diff to previous 1.94 (colored) next main 1.95 (colored)

Sync with HEAD.

Revision 1.94.6.1 / (download) - annotate - [select for diffs], Thu Aug 9 02:37:26 2007 UTC (15 years, 10 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.94: +6 -4 lines
Diff to previous 1.94 (colored)

Sync with HEAD.

Revision 1.95.10.2 / (download) - annotate - [select for diffs], Mon Aug 6 11:55:09 2007 UTC (15 years, 10 months ago) by yamt
Branch: matt-mips64
Changes since 1.95.10.1: +356 -0 lines
Diff to previous 1.95.10.1 (colored) to branchpoint 1.95 (colored) next main 1.96 (colored)

nfs_inactive: turn a panic into a printf for now, as it isn't critical.
PR/36572 from Martin Husemann.

Revision 1.95.10.1, Mon Aug 6 11:55:08 2007 UTC (15 years, 10 months ago) by yamt
Branch: matt-mips64
Changes since 1.95: +0 -356 lines
FILE REMOVED

file nfs_node.c was added on branch matt-mips64 on 2007-08-06 11:55:09 +0000

Revision 1.95 / (download) - annotate - [select for diffs], Mon Aug 6 11:55:08 2007 UTC (15 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, matt-mips64-base, matt-armv6-prevmlocking, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs, matt-mips64, matt-armv6
Changes since 1.94: +6 -4 lines
Diff to previous 1.94 (colored)

nfs_inactive: turn a panic into a printf for now, as it isn't critical.
PR/36572 from Martin Husemann.

Revision 1.92.4.2 / (download) - annotate - [select for diffs], Sun Jul 15 13:28:06 2007 UTC (15 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.92.4.1: +4 -3 lines
Diff to previous 1.92.4.1 (colored) to branchpoint 1.92 (colored)

Sync with head.

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:11 2007 UTC (15 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.93: +4 -3 lines
Diff to previous 1.93 (colored) next main 1.94 (colored)

Sync with head.

Revision 1.94 / (download) - annotate - [select for diffs], Tue Jun 12 09:33:25 2007 UTC (15 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Changes since 1.93: +4 -3 lines
Diff to previous 1.93 (colored)

nfs_inactive: don't clear NTRUNCDELAYED erroneously.
(fix cache consistency problems like NUL bytes near EOF.)

Revision 1.90.2.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:56:14 2007 UTC (16 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.90.2.1: +4 -4 lines
Diff to previous 1.90.2.1 (colored) next main 1.91 (colored)

sync with head.

Revision 1.92.4.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:52:03 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.92: +4 -4 lines
Diff to previous 1.92 (colored)

Sync with head.

Revision 1.93 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:36 2007 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Changes since 1.92: +4 -4 lines
Diff to previous 1.92 (colored)

Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.

Revision 1.90.2.1 / (download) - annotate - [select for diffs], Wed Feb 28 09:35:39 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.90: +4 -3 lines
Diff to previous 1.90 (colored)

sync with head.  (somehow missed in the previous)

Revision 1.80.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:05 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.80.2.2: +8 -4 lines
Diff to previous 1.80.2.2 (colored) to branchpoint 1.80 (colored)

sync with head.

Revision 1.92 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:08 2007 UTC (16 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: vmlocking
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.91 / (download) - annotate - [select for diffs], Tue Feb 20 16:21:04 2007 UTC (16 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.90: +3 -2 lines
Diff to previous 1.90 (colored)

Call genfs_node_destroy() where appropriate.

Revision 1.90 / (download) - annotate - [select for diffs], Thu Feb 15 16:01:51 2007 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
Branch point for: yamt-idlelwp
Changes since 1.89: +6 -3 lines
Diff to previous 1.89 (colored)

use mutex and rwlock rather than lockmgr.

Revision 1.85.4.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:19 2007 UTC (16 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.85.4.1: +3 -10 lines
Diff to previous 1.85.4.1 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored)

Sync with head.

Revision 1.80.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:51 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.80.2.1: +6 -12 lines
Diff to previous 1.80.2.1 (colored) to branchpoint 1.80 (colored)

sync with head.

Revision 1.89 / (download) - annotate - [select for diffs], Thu Dec 28 00:39:03 2006 UTC (16 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Changes since 1.88: +3 -4 lines
Diff to previous 1.88 (colored)

remove several nqnfs definitions.

Revision 1.88 / (download) - annotate - [select for diffs], Wed Dec 27 12:10:09 2006 UTC (16 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.87: +2 -8 lines
Diff to previous 1.87 (colored)

remove nqnfs.

Revision 1.85.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:19:24 2006 UTC (16 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.85.6.1: +6 -5 lines
Diff to previous 1.85.6.1 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored)

sync with head.

Revision 1.85.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:44 2006 UTC (16 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.85: +3 -2 lines
Diff to previous 1.85 (colored)

Sync with head.

Revision 1.87 / (download) - annotate - [select for diffs], Thu Nov 9 09:53:57 2006 UTC (16 years, 7 months ago) by yamt
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.86: +6 -5 lines
Diff to previous 1.86 (colored)

remove some __unused in function parameters.

Revision 1.85.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:43 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.85: +5 -5 lines
Diff to previous 1.85 (colored)

sync with head

Revision 1.86 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:47 2006 UTC (16 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.85: +5 -5 lines
Diff to previous 1.85 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:59:24 2006 UTC (16 years, 9 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.82: +13 -14 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

sync with head

Revision 1.82.6.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:47:05 2006 UTC (16 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.82.6.2: +4 -4 lines
Diff to previous 1.82.6.2 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

sync with head

Revision 1.85 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:14 2006 UTC (16 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.84: +4 -4 lines
Diff to previous 1.84 (colored)

Use the LWP cached credentials where sane.

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:11:58 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.80: +25 -26 lines
Diff to previous 1.80 (colored)

sync with head.

Revision 1.82.4.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:39:12 2006 UTC (17 years ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.82.4.1: +12 -11 lines
Diff to previous 1.82.4.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

Sync with head.

Revision 1.82.10.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:46 2006 UTC (17 years ago) by tron
Branch: peter-altq
Changes since 1.82.10.1: +10 -9 lines
Diff to previous 1.82.10.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

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

Revision 1.82.6.2 / (download) - annotate - [select for diffs], Wed May 24 10:59:15 2006 UTC (17 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.82.6.1: +12 -11 lines
Diff to previous 1.82.6.1 (colored) to branchpoint 1.82 (colored)

sync with head.

Revision 1.84 / (download) - annotate - [select for diffs], Sun May 14 21:32:21 2006 UTC (17 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi
Changes since 1.83: +10 -9 lines
Diff to previous 1.83 (colored)

integrate kauth.

Revision 1.82.8.3 / (download) - annotate - [select for diffs], Sat May 6 23:32:11 2006 UTC (17 years, 1 month ago) by christos
Branch: elad-kernelauth
Changes since 1.82.8.2: +3 -2 lines
Diff to previous 1.82.8.2 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:15 2006 UTC (17 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.82: +3 -5 lines
Diff to previous 1.82 (colored)

Sync with head.

Revision 1.82.8.2 / (download) - annotate - [select for diffs], Wed Apr 19 05:06:37 2006 UTC (17 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.82.8.1: +3 -5 lines
Diff to previous 1.82.8.1 (colored) to branchpoint 1.82 (colored)

sync with head.

Revision 1.82.6.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:50 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.82: +3 -5 lines
Diff to previous 1.82 (colored)

sync with head.

Revision 1.82.10.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:29 2006 UTC (17 years, 2 months ago) by tron
Branch: peter-altq
Changes since 1.82: +3 -5 lines
Diff to previous 1.82 (colored)

Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Mar 30 12:40:06 2006 UTC (17 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, elad-kernelauth-base
Changes since 1.82: +3 -5 lines
Diff to previous 1.82 (colored)

some cleanups after the introduction of GOP_SIZE_MEM flag.
- remove GOP_SIZE_READ/GOP_SIZE_WRITE flags.
  they have not been used since the change.
- ufs_balloc_range: remove code which has been no-op since the change.
  thanks Konrad Schroder for explaining the original intention of the code.
- ffs_gop_size: don't extend past eof, in the case of GOP_SIZE_MEM.
  otherwise genfs_getpages end up to allocate pages past eof unnecessarily.

Revision 1.82.8.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:06:28 2006 UTC (17 years, 3 months ago) by elad
Branch: elad-kernelauth
Changes since 1.82: +11 -11 lines
Diff to previous 1.82 (colored)

Adapt to kernel authorization KPI.

This could use some testing...

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 10:03:04 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.81: +10 -10 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

sync with head.

Revision 1.82 / (download) - annotate - [select for diffs], Mon Jan 2 21:43:24 2006 UTC (17 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.81: +10 -10 lines
Diff to previous 1.81 (colored)

nfs_inactive:
- use LK_CANRECURSE instead of LK_RECURSEFAIL.
  PR/32435 from Valeriy E. Ushakov.
- panic explicitly if the parent directory has been revoked.
  add an XXX comment.

Revision 1.81 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:16 2005 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.80: +6 -6 lines
Diff to previous 1.80 (colored)

merge ktrace-lwp.

Revision 1.68.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:11:55 2005 UTC (17 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.68.2.7: +7 -8 lines
Diff to previous 1.68.2.7 (colored) next main 1.69 (colored)

Sync with HEAD. Here we go again...

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Wed Aug 24 18:43:37 2005 UTC (17 years, 9 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, 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
Changes since 1.79: +6 -6 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

Pull up following revision(s) (requested by yamt in ticket #688):
	sys/miscfs/genfs/genfs_vnops.c: revision 1.98 via patch
	sys/ufs/ffs/ffs_vfsops.c: revision 1.165
	sys/ufs/lfs/lfs_extern.h: revision 1.69
	sys/fs/filecorefs/filecore_vfsops.c: revision 1.20
	sys/nfs/nfs_node.c: revision 1.80
	sys/fs/smbfs/smbfs_node.c: revision 1.24
	sys/fs/cd9660/cd9660_vfsops.c: revision 1.24
	sys/fs/msdosfs/msdosfs_denode.c: revision 1.8
	sys/miscfs/genfs/genfs_node.h: revision 1.6
	sys/ufs/lfs/lfs_vfsops.c: revision 1.183
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.86
	sys/fs/adosfs/advfsops.c: revision 1.23
	sys/fs/ntfs/ntfs_vfsops.c: revision 1.31
- constify genfs_ops.
- use member designators.

        sys/miscfs/genfs/genfs_vnops.c: revision 1.99 via patch
genfs_getpages: don't forget to put the vnode onto the syncer's work que
ue
even in the case of PGO_LOCKED.

        sys/uvm/uvm_bio.c: revision 1.40
        sys/uvm/uvm_pager.h: revision 1.29
        sys/miscfs/genfs/genfs_vnops.c: revision 1.100 via patch
        sys/ufs/ufs/ufs_inode.c: revision 1.50
- introduce PGO_NOBLOCKALLOC and use it for ubc mapping
  to prevent unnecessary block allocations in the case that
  page size > block size.
- ufs_balloc_range: use VM_PROT_WRITE+PGO_NOBLOCKALLOC rather than
  VM_PROT_READ.

        sys/uvm/uvm_fault.c: revision 1.96
        sys/miscfs/genfs/genfs_vnops.c: revision 1.101 via patch
        sys/uvm/uvm_object.h: revision 1.19
        sys/miscfs/genfs/genfs_node.h: revision 1.7
ensure that vnodes with dirty pages are always on syncer's queue.
- genfs_putpages: wait for i/o completion of PG_RELEASED/PG_PAGEOUT pages by
  setting "wasclean" false when encountering them.
  suggested by Stephan Uphoff in PR/24596 (1).
- genfs_putpages: write protect pages when cleaning out, if
  we're going to take the vnode off the syncer's queue.
  uvm_fault: don't write-map pages unless its vnode is already on
  the syncer's queue.
  fix PR/24596 (3) but in the different way from the suggested fix.
  (to keep our current behaviour, ie. not to require explicit msync.
  discussed on tech-kern@.)
- genfs_putpages: don't mistakenly take a vnode off the queue
  by introducing a generation number in genfs_node.
  genfs_getpages: increment the generation number.
  suggested by Stephan Uphoff in PR/24596 (2).
- add some assertions.

        sys/miscfs/genfs/genfs_vnops.c: revision 1.102 via patch
genfs_putpages: don't bother to clean the vnode unless VONWORKLST.

        sys/ufs/ffs/ffs_vnops.c: revision 1.71
ffs_full_fsync: because VBLK/VCHR can be mmap'ed,
do VOP_PUTPAGES for them as well.

        sys/uvm/uvm_fault.c: revision 1.97
uvm_fault: check a correct object in the case of layered filesystems.
fix PR/30811 from Jukka Salmi.

        sys/uvm/uvm_object.h: revision 1.20
        sys/ufs/ffs/ffs_vfsops.c: revision 1.167
        sys/uvm/uvm_bio.c: revision 1.41
        sys/ufs/ufs/ufs_vnops.c: revision 1.129
        sys/uvm/uvm_mmap.c: revision 1.92
        sys/uvm/uvm_fault.c: revision 1.98
        sys/kern/vfs_subr.c: revision 1.252
        sys/fs/msdosfs/denode.h: revision 1.5
        sys/miscfs/genfs/genfs_vnops.c: revision 1.103 via patch
        sys/fs/msdosfs/msdosfs_denode.c: revision 1.9
        sys/sys/vnode.h: revision 1.141
        sys/ufs/ufs/ufs_inode.c: revision 1.51
        sys/ufs/ufs/ufs_extern.h: revision 1.45 via patch
        sys/miscfs/genfs/genfs_node.h: revision 1.8
        sys/ufs/lfs/lfs_vfsops.c: revision 1.184
        sys/uvm/uvm_pager.h: revision 1.30
        sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.87
update file timestamps for nfsd loaned-read and mmap.
PR/25279.  discussed on tech-kern@.

        sys/miscfs/genfs/genfs_vnops.c: revision 1.104 via patch
don't write-protect wired pages.  pointed by Chuck Silvers.
for now, leave a vnode on the syncer's queue, as suggested by him.

        sys/ufs/ffs/ffs_vnops.c: revision 1.72
revert VCHR part of ffs_vnops.c 1.71.
as VCHR uses the device pager, no point to call VOP_PUTPAGES here.
pointed by Chuck Silvers.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Jun 28 09:30:38 2005 UTC (17 years, 11 months ago) by yamt
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: yamt-lazymbuf
Changes since 1.79: +6 -6 lines
Diff to previous 1.79 (colored)

- constify genfs_ops.
- use member designators.

Revision 1.77.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:36 2005 UTC (18 years, 1 month ago) by kent
Branch: kent-audio2
Changes since 1.77: +6 -5 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

sync with -current

Revision 1.77.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:51 2005 UTC (18 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.77.6.1: +3 -3 lines
Diff to previous 1.77.6.1 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored)

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

Revision 1.68.2.7 / (download) - annotate - [select for diffs], Fri Mar 4 16:54:20 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.68.2.6: +3 -3 lines
Diff to previous 1.68.2.6 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.79 / (download) - annotate - [select for diffs], Sat Feb 26 22:39:50 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, kent-audio2-base
Branch point for: netbsd-3
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

nuke trailing whitespace

Revision 1.77.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:55 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-km
Changes since 1.77: +5 -4 lines
Diff to previous 1.77 (colored)

sync with head.

Revision 1.68.2.6 / (download) - annotate - [select for diffs], Fri Feb 4 11:48:04 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.68.2.5: +5 -4 lines
Diff to previous 1.68.2.5 (colored)

Sync with HEAD.

Revision 1.78 / (download) - annotate - [select for diffs], Thu Jan 27 11:33:26 2005 UTC (18 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.77: +5 -4 lines
Diff to previous 1.77 (colored)

keep directory eof cache when inactivating vnode
because there's no reason to throw it away.
(fix an unintended side effect of nfs_subs.c rev.1.144.)

Revision 1.68.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:38:36 2004 UTC (18 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.68.2.4: +8 -7 lines
Diff to previous 1.68.2.4 (colored)

Fix the sync with head I botched.

Revision 1.68.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:20 2004 UTC (18 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.68.2.3: +7 -8 lines
Diff to previous 1.68.2.3 (colored)

Sync with HEAD.

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

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

Revision 1.68.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:17 2004 UTC (18 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.68.2.1: +50 -35 lines
Diff to previous 1.68.2.1 (colored)

Sync with HEAD

Revision 1.73.2.2 / (download) - annotate - [select for diffs], Sat Jul 10 14:31:41 2004 UTC (18 years, 11 months ago) by tron
Branch: netbsd-2-0
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-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
Changes since 1.73.2.1: +8 -4 lines
Diff to previous 1.73.2.1 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

Pull up revision 1.75 (requested by tls in ticket #634):
nfs_readdirplusrpc: fix a deadlock problem.
don't wait for vnode lock to load attributes.
otherwise, because READDIRPLUS returns DOTDOT entry as well,
we violate locking order.

Revision 1.73.2.1 / (download) - annotate - [select for diffs], Sat Jul 10 14:29:32 2004 UTC (18 years, 11 months ago) by tron
Branch: netbsd-2-0
Changes since 1.73: +4 -8 lines
Diff to previous 1.73 (colored)

Pull up revision 1.74 (requested by tls in ticket #634):
don't issue VOP_GETATTR blindly in nfs_nget().
in many cases, GETATTR RPCs here is redundant because the caller has
postop_attr.  instead, make sure the resulted vnode have a valid
attribute in nfs_lookup().

Revision 1.77 / (download) - annotate - [select for diffs], Sun Apr 25 16:42:42 2004 UTC (19 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.76: +6 -9 lines
Diff to previous 1.76 (colored)

Initialise (most) pools from a link set instead of explicit calls
to pool_init.  Untouched pools are ones that either in arch-specific
code, or aren't initialiased during initial system startup.

 Convert struct session, ucred and lockf to pools.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Apr 20 11:51:28 2004 UTC (19 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.75: +15 -12 lines
Diff to previous 1.75 (colored)

nfs_inactive: inactive the vp before doing sillyrename works.
vp can be reclaimed soon after it's unlocked.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Apr 5 10:44:09 2004 UTC (19 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.74: +8 -4 lines
Diff to previous 1.74 (colored)

nfs_readdirplusrpc: fix a deadlock problem.
don't wait for vnode lock to load attributes.
otherwise, because READDIRPLUS returns DOTDOT entry as well,
we violate locking order.

Revision 1.74 / (download) - annotate - [select for diffs], Mon Apr 5 10:40:56 2004 UTC (19 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.73: +4 -8 lines
Diff to previous 1.73 (colored)

don't issue VOP_GETATTR blindly in nfs_nget().
in many cases, GETATTR RPCs here is redundant because the caller has
postop_attr.  instead, make sure the resulted vnode have a valid
attribute in nfs_lookup().

Revision 1.73 / (download) - annotate - [select for diffs], Fri Mar 12 16:52:37 2004 UTC (19 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.72: +3 -6 lines
Diff to previous 1.72 (colored)

shrink sizeof struct nfsnode by putting exclusive members into union.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Jan 23 22:20:20 2004 UTC (19 years, 4 months ago) by wrstuden
Branch: MAIN
Changes since 1.71: +12 -4 lines
Diff to previous 1.71 (colored)

Adjust sillyrename cleanup code to deal with the parent vnode
already being locked by our thread. VOP_INACTIVATE() makes no
statement as to the lock state of the parent, yet this code assumed
we had it unlocked.

With this change, we let vn_lock() fail with EDEADLK if we already
have the parent locked. We then handle the rename cleanup, and on
the way out just vrele() the parent vnode, not vput() it.

Fixes a case seen by Steve Woodford at Wasabisystems dot com where
we'd panic while running a pkgsrc configure test that verified
fork() functionality. I expect the problem is a result of the recent
exit() changes and the performance of the machines he tested on.

Specifically we would crash during an nfs_remove(). As best I can
tell, when nfs_remove() tested to see if we should rename or we
should remove, v_usecount was > 1 and vattr.va_nlink was 1. Thus
we did the sillyrename in nfs_remove(). However by the time we got
down to the vput(vp), v_usecount had dropped to one and thus vput()
triggered the VOP_INACTIVATE() code path. nfs_inactive() tries to
lock the parent to undo the sillyrename, and deadlocks as we still
have it locked.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Dec 7 21:15:46 2003 UTC (19 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.70: +11 -2 lines
Diff to previous 1.70 (colored)

Unix semantics dictate that access checks for files are done when it
is opened. An open file can always be read from and/or written to,
depending on how it was opened.

Therefore, the read/write/commit RPCs should never return EACCESS,
as they are only performed on files that have been successfully opened
already.

This change improves the current situation and works in most cases.
It simply always uses the most recently known owner/group of the file,
iff the authentication mechanism is AUTH_UNIX (in other cases, the
creds for a succesful open are used, but note that no other cases
are currently implemented).

A retry mechanism can be used to catch a few more cases, but this is
a good improvement for now.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Aug 7 16:33:50 2003 UTC (19 years, 10 months ago) by agc
Branch: MAIN
Changes since 1.69: +3 -7 lines
Diff to previous 1.69 (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.69 / (download) - annotate - [select for diffs], Wed Jul 30 12:25:39 2003 UTC (19 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.68: +7 -2 lines
Diff to previous 1.68 (colored)

vrecycle removed nfs vnodes.
not perfect, but enough for most cases.

Revision 1.53.6.1 / (download) - annotate - [select for diffs], Mon Jul 28 18:56:54 2003 UTC (19 years, 10 months ago) by he
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Apply patch (requested by christos in ticket #1171):
  Apply a stopgap fix preventing a panic for non-NQNFS when
  nfs_reclaim is called on a vnode of an unmounted NFS file
  system.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:27:08 2003 UTC (19 years, 11 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.68: +9 -8 lines
Diff to previous 1.68 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:15 2003 UTC (19 years, 11 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.67: +7 -8 lines
Diff to previous 1.67 (colored)

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

Revision 1.67 / (download) - annotate - [select for diffs], Sun Jun 29 18:43:35 2003 UTC (19 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

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

Revision 1.66 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:17 2003 UTC (19 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.65: +9 -8 lines
Diff to previous 1.65 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.65 / (download) - annotate - [select for diffs], Thu May 22 14:14:02 2003 UTC (20 years ago) by yamt
Branch: MAIN
Changes since 1.64: +3 -2 lines
Diff to previous 1.64 (colored)

avoid double free with xlatecookie.

Revision 1.64 / (download) - annotate - [select for diffs], Wed May 21 13:50:54 2003 UTC (20 years ago) by yamt
Branch: MAIN
Changes since 1.63: +2 -5 lines
Diff to previous 1.63 (colored)

remove local definitions of TRUE and FALSE.

Revision 1.63 / (download) - annotate - [select for diffs], Wed May 7 13:16:35 2003 UTC (20 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

use hashdone to free hashinit'ed memory.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Apr 2 15:14:19 2003 UTC (20 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

use queue manipulation macros.

Revision 1.61 / (download) - annotate - [select for diffs], Mon Feb 17 23:48:12 2003 UTC (20 years, 3 months ago) by perseant
Branch: MAIN
Changes since 1.60: +7 -4 lines
Diff to previous 1.60 (colored)

Add code to UBCify LFS.  This is still behind "#ifdef LFS_UBC" for now
(there are still some details to work out) but expect that to go
away soon.  To support these basic changes (creation of lfs_putpages,
lfs_gop_write, mods to lfs_balloc) several other changes were made, to
wit:

* Create a writer daemon kernel thread whose purpose is to handle page
  writes for the pagedaemon, but which also takes over some of the
  functions of lfs_check().  This thread is started the first time an
  LFS is mounted.

* Add a "flags" parameter to GOP_SIZE.  Current values are
  GOP_SIZE_READ, meaning that the call should return the size of the
  in-core version of the file, and GOP_SIZE_WRITE, meaning that it
  should return the on-disk size.  One of GOP_SIZE_READ or
  GOP_SIZE_WRITE must be specified.

* Instead of using malloc(...M_WAITOK) for everything, reserve enough
  resources to get by and use malloc(...M_NOWAIT), using the reserves if
  necessary.  Use the pool subsystem for structures small enough that
  this is feasible.  This also obsoletes LFS_THROTTLE.

And a few that are not strictly necessary:

* Moves the LFS inode extensions off onto a separately allocated
  structure; getting closer to LFS as an LKM.  "Welcome to 1.6O."

* Unified GOP_ALLOC between FFS and LFS.

* Update LFS copyright headers to correct values.

* Actually cast to unsigned in lfs_shellsort, like the comment says.

* Keep track of which segments were empty before the previous
  checkpoint; any segments that pass two checkpoints both dirty and
  empty can be summarily cleaned.  Do this.  Right now lfs_segclean
  still works, but this should be turned into an effectless
  compatibility syscall.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Feb 15 18:00:25 2003 UTC (20 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.59: +4 -4 lines
Diff to previous 1.59 (colored)

Don't remove the nfsnode from the hash chain in nfs_inactive.
It will never get back... it will not be found in nfs_nget, a new
nfsnode+vnode is allocated instead, which causes a node leak, and
also makes the mountpointness of the vnode to be forgotten, breaking
filesystem crossing lookups through this vnode.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Feb 12 14:50:52 2003 UTC (20 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.58: +20 -18 lines
Diff to previous 1.58 (colored)

Move purging the dircache and removing a vnode from the nqnfs timer queue
into nfs_inactive, this is a better place for it.

This doesn't actually solve the actual problem, which appears to be a race
condition with unmounting and vnode recycling somewhere, but it fixes
it in the sense that nfs_reclaim will not reference a bad v_mount anymore.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Feb 10 17:31:01 2003 UTC (20 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.57: +2 -3 lines
Diff to previous 1.57 (colored)

move the MALLOC decl for DIROFFS to nfs_subs.c

Revision 1.57 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:49 2003 UTC (20 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.56: +6 -2 lines
Diff to previous 1.56 (colored)

Add extensible malloc types, adapted from FreeBSD.  This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.

Revision 1.41.2.13 / (download) - annotate - [select for diffs], Wed Dec 11 06:46:47 2002 UTC (20 years, 6 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.41.2.12: +1 -1 lines
Diff to previous 1.41.2.12 (colored) next main 1.42 (colored)

Sync with HEAD.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Dec 1 23:02:10 2002 UTC (20 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

Make sure these all agree on the same definitons of various variables.

Revision 1.41.2.12 / (download) - annotate - [select for diffs], Fri Oct 18 02:45:34 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.11: +2 -5 lines
Diff to previous 1.41.2.11 (colored)

Catch up to -current.

Revision 1.44.2.5 / (download) - annotate - [select for diffs], Thu Oct 10 18:44:37 2002 UTC (20 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.44.2.4: +2 -5 lines
Diff to previous 1.44.2.4 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.55 / (download) - annotate - [select for diffs], Tue Oct 1 14:59:21 2002 UTC (20 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.54: +3 -8 lines
Diff to previous 1.54 (colored)

back out previous. the problem is not the v_mount is null, but it appears
corrupted.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Sep 30 20:55:55 2002 UTC (20 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.53: +5 -3 lines
Diff to previous 1.53 (colored)

deal with v_mount == NULL in nfs_reclaim(). We should not be touching this
anyway, but nq-nfs wants us to.

Revision 1.41.2.11 / (download) - annotate - [select for diffs], Mon Jul 15 20:44:35 2002 UTC (20 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.10: +3 -4 lines
Diff to previous 1.41.2.10 (colored)

Whitespace.

Revision 1.41.2.10 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:35 2002 UTC (20 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.9: +2 -3 lines
Diff to previous 1.41.2.9 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.41.2.9 / (download) - annotate - [select for diffs], Mon Jun 24 22:12:06 2002 UTC (20 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.8: +4 -4 lines
Diff to previous 1.41.2.8 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.44.2.4 / (download) - annotate - [select for diffs], Sun Jun 23 17:51:47 2002 UTC (20 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.44.2.3: +15 -3 lines
Diff to previous 1.44.2.3 (colored) to branchpoint 1.44 (colored)

catch up with -current on kqueue branch

Revision 1.41.2.8 / (download) - annotate - [select for diffs], Mon Apr 1 07:49:06 2002 UTC (21 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.7: +17 -5 lines
Diff to previous 1.41.2.7 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.53 / (download) - annotate - [select for diffs], Sat Mar 16 23:05:25 2002 UTC (21 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6
Changes since 1.52: +15 -3 lines
Diff to previous 1.52 (colored)

make sure that if NMODIFIED is clear, all pages attached to the vnode are
clean and without writable mappings.  if we try to flush dirty pages past
EOF to the server when NMODIFIED is clear, we'll update the attrcache before
doing the write, which will try to free the pages past EOF and deadlock.
to deal with this, we write-protect pages before we send them to the server,
and restrict ourselves to creating read-only mappings if NMODIFIED isn't set.
score another one for enami.

Revision 1.44.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 16:02:19 2002 UTC (21 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.44.2.2: +4 -4 lines
Diff to previous 1.44.2.2 (colored) to branchpoint 1.44 (colored)

Catch up with -current.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Mar 8 20:48:45 2002 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

Pool deals fairly well with physical memory shortage, but it doesn't
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map).  Try to deal with this:

* Group all information about the backend allocator for a pool in a
  separate structure.  The pool references this structure, rather than
  the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
  to become available, but will still fail if it cannot callocate KVA
  space for the pages.  If this happens, carefully drain all pools using
  the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
  some pages, and use that information to make draining easier and more
  efficient.
* Get rid of PR_URGENT.  There was only one use of it, and it could be
  dealt with by the caller.

From art@openbsd.org.

Revision 1.41.2.7 / (download) - annotate - [select for diffs], Thu Feb 28 04:15:20 2002 UTC (21 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.6: +4 -4 lines
Diff to previous 1.41.2.6 (colored)

Catch up to -current.

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Mon Feb 11 20:10:43 2002 UTC (21 years, 3 months ago) by jdolecek
Branch: kqueue
Changes since 1.44.2.1: +4 -4 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored)

Sync w/ -current.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Jan 26 02:52:20 2002 UTC (21 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

re-enable NFSv3 commit RPCs by abandoning my new approach in favor of
frank's scheme, with one new twist:  don't wait until we've totally run
out of free pages before committing, but instead notice when we've built
up a largish range of uncommitted pages and commit only the older half of
the range, which is likely to already be on disk on the server.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jan 21 13:48:51 2002 UTC (21 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.49: +3 -4 lines
Diff to previous 1.49 (colored)

VOP_UNLOCK + vgone --> vput, since the vnode will already have
a reference.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Jan 18 18:59:24 2002 UTC (21 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.48: +3 -2 lines
Diff to previous 1.48 (colored)

Unlock vnode before calling vgone() in case of getattr failure during
nfs_nget. Fixes problem reported by Chuck Cranor.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:04:21 2002 UTC (21 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.44: +66 -33 lines
Diff to previous 1.44 (colored)

Sync kqueue branch with -current.

Revision 1.41.2.6 / (download) - annotate - [select for diffs], Tue Jan 8 00:34:33 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.5: +5 -21 lines
Diff to previous 1.41.2.5 (colored)

Catch up to -current.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Dec 6 01:26:36 2001 UTC (21 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.47: +5 -21 lines
Diff to previous 1.47 (colored)

Replace nfs_hash() (with its extremely bad hash) with a macro to call
hash32_buf() to obtain a 32 bit hash.  On some tests I ran I obtained
a 30x improvement in hash distribution and a 6x reduction in time spent
in nfs_nget().

Revision 1.41.2.5 / (download) - annotate - [select for diffs], Wed Nov 14 19:18:43 2001 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.4: +4 -1 lines
Diff to previous 1.41.2.4 (colored)

Catch up to -current.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:36 2001 UTC (21 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.46: +4 -1 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Nov 10 10:59:09 2001 UTC (21 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.46: +4 -1 lines
Diff to previous 1.46 (colored)

add RCSIDs

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:48:00 2001 UTC (21 years, 8 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.44: +60 -14 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Catch up with -current.

Revision 1.41.2.4 / (download) - annotate - [select for diffs], Tue Sep 25 16:28:43 2001 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.3: +2 -2 lines
Diff to previous 1.41.2.3 (colored)

Fix typo in previous commit.

Revision 1.41.2.3 / (download) - annotate - [select for diffs], Fri Sep 21 22:36:56 2001 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.2: +61 -15 lines
Diff to previous 1.41.2.2 (colored)

Catch up to -current.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:39 2001 UTC (21 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.45: +26 -11 lines
Diff to previous 1.45 (colored)

a whole bunch of changes to improve performance and robustness under load:

 - remove special treatment of pager_map mappings in pmaps.  this is
   required now, since I've removed the globals that expose the address range.
   pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's
   no longer any need to special-case it.
 - eliminate struct uvm_vnode by moving its fields into struct vnode.
 - rewrite the pageout path.  the pager is now responsible for handling the
   high-level requests instead of only getting control after a bunch of work
   has already been done on its behalf.  this will allow us to UBCify LFS,
   which needs tighter control over its pages than other filesystems do.
   writing a page to disk no longer requires making it read-only, which
   allows us to write wired pages without causing all kinds of havoc.
 - use a new PG_PAGEOUT flag to indicate that a page should be freed
   on behalf of the pagedaemon when it's unlocked.  this flag is very similar
   to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the
   pageout fails due to eg. an indirect-block buffer being locked.
   this allows us to remove the "version" field from struct vm_page,
   and together with shrinking "loan_count" from 32 bits to 16,
   struct vm_page is now 4 bytes smaller.
 - no longer use PG_RELEASED for swap-backed pages.  if the page is busy
   because it's being paged out, we can't release the swap slot to be
   reallocated until that write is complete, but unlike with vnodes we
   don't keep a count of in-progress writes so there's no good way to
   know when the write is done.  instead, when we need to free a busy
   swap-backed page, just sleep until we can get it busy ourselves.
 - implement a fast-path for extending writes which allows us to avoid
   zeroing new pages.  this substantially reduces cpu usage.
 - encapsulate the data used by the genfs code in a struct genfs_node,
   which must be the first element of the filesystem-specific vnode data
   for filesystems which use genfs_{get,put}pages().
 - eliminate many of the UVM pagerops, since they aren't needed anymore
   now that the pager "put" operation is a higher-level operation.
 - enhance the genfs code to allow NFS to use the genfs_{get,put}pages
   instead of a modified copy.
 - clean up struct vnode by removing all the fields that used to be used by
   the vfs_cluster.c code (which we don't use anymore with UBC).
 - remove kmem_object and mb_object since they were useless.
   instead of allocating pages to these objects, we now just allocate
   pages with no object.  such pages are mapped in the kernel until they
   are freed, so we can use the mapping to find the page to free it.
   this allows us to remove splvm() protection in several places.

The sum of all these changes improves write throughput on my
decstation 5000/200 to within 1% of the rate of NetBSD 1.5
and reduces the elapsed time for "make release" of a NetBSD 1.5
source tree on my 128MB pc to 10% less than a 1.5 kernel took.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Sep 15 16:13:01 2001 UTC (21 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: pre-chs-ubcperf
Changes since 1.44: +36 -5 lines
Diff to previous 1.44 (colored)

add a new VFS op, vfs_reinit, which is called when desiredvnodes is
adjusted via sysctl.  file systems that have hash tables which are
sized based on the value of this variable now resize those hash tables
using the new value.  the max number of FFS softdeps is also recalculated.

convert various file systems to use the <sys/queue.h> macros for
their hash tables.

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:09:33 2001 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41.2.1: +10 -6 lines
Diff to previous 1.41.2.1 (colored)

Catch up to -current.

Revision 1.44 / (download) - annotate - [select for diffs], Thu May 3 15:53:04 2001 UTC (22 years, 1 month ago) by fvdl
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.43: +7 -6 lines
Diff to previous 1.43 (colored)

Drop vnode lock before removing the sillyrename file, to avoid a
lock-o-death.

Revision 1.29.2.6 / (download) - annotate - [select for diffs], Mon Apr 23 09:42:34 2001 UTC (22 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.29.2.5: +3 -1 lines
Diff to previous 1.29.2.5 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.29.2.5 / (download) - annotate - [select for diffs], Sat Apr 21 17:47:01 2001 UTC (22 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.29.2.4: +2 -1 lines
Diff to previous 1.29.2.4 (colored) to branchpoint 1.29 (colored)

Sync with HEAD

Revision 1.43 / (download) - annotate - [select for diffs], Fri Apr 20 11:19:16 2001 UTC (22 years, 1 month ago) by fvdl
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.42: +3 -1 lines
Diff to previous 1.42 (colored)

On VOP_GETATTR failure in nfs_nget, call vgone() to get rid
of the vnode that was just created. Suggested by Enami.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Apr 20 07:58:04 2001 UTC (22 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored)

Unlock the hash lock before returning an error in nfs_nget.
From IWAMOTO Toshihiro.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:59 2001 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.41: +4 -2 lines
Diff to previous 1.41 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.29.2.4 / (download) - annotate - [select for diffs], Sun Feb 11 19:17:34 2001 UTC (22 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.29.2.3: +15 -27 lines
Diff to previous 1.29.2.3 (colored) to branchpoint 1.29 (colored)

Sync with HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Feb 7 12:40:44 2001 UTC (22 years, 4 months ago) by tsutsui
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Fix nested extern declaration of prtactive.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Feb 6 16:25:48 2001 UTC (22 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.39: +9 -23 lines
Diff to previous 1.39 (colored)

In nfs_inactive there's no need anymore for an extra refcount around
nfs_vinvalbuf, since it has a real lock on the vnode now, so getnewvnode
will not hijack it.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Feb 6 11:40:02 2001 UTC (22 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.38: +5 -3 lines
Diff to previous 1.38 (colored)

Do actual vnode locking for NFS.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Thu Dec 14 23:37:05 2000 UTC (22 years, 5 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Pull up revision 1.36 (requested by fvdl):
  Improve NFS performance, possibly with as much as 100% in
  throughput.  Please note: this implies a kernel interface change,
  VOP_FSYNC gains two arguments.

Revision 1.29.2.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:19:21 2000 UTC (22 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.29.2.2: +24 -7 lines
Diff to previous 1.29.2.2 (colored) to branchpoint 1.29 (colored)

Sync with HEAD.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Nov 27 08:39:48 2000 UTC (22 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.37: +25 -8 lines
Diff to previous 1.37 (colored)

Initial integration of the Unified Buffer Cache project.

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:06:33 2000 UTC (22 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.29.2.1: +3 -2 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored)

Sync with HEAD.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:16 2000 UTC (22 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.29: +29 -16 lines
Diff to previous 1.29 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.37 / (download) - annotate - [select for diffs], Wed Nov 8 14:28:15 2000 UTC (22 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored)

Update for hashinit() change.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Sep 19 22:13:01 2000 UTC (22 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

Initialize the lock needed to serialize commits for one NFS node.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Sep 19 17:04:51 2000 UTC (22 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

New kernel option, NFS_V2_ONLY, which aims to reduce the NFS client to just
that required to support NFSv2 mounts.  Not finished yet, but already
provides some 44k of saving in code size on arm26.  More savings, and some
documentation, are still to come.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Aug 3 06:15:02 2000 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

MALLOC()/FREE() are not to be used for variable size allocations.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Mar 30 12:51:14 2000 UTC (23 years, 2 months ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.32: +13 -13 lines
Diff to previous 1.32 (colored)

Remove register declarations.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Mar 30 02:40:37 2000 UTC (23 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.31: +1 -2 lines
Diff to previous 1.31 (colored)

Delete redundant decl of nfsv2_vnodeop_p, it's in <nfs/nfsnode.h>.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Mar 16 18:08:29 2000 UTC (23 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.30: +12 -1 lines
Diff to previous 1.30 (colored)

Add new VFS op routine - vfs_done and call it on filesystem detach
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading. This fixes random panics
when LKM for filesystem using pools was loaded and unloaded several
times.

For each leaf filesystem, add appropriate vfs_done routine.

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Wed Jan 5 23:39:14 2000 UTC (23 years, 5 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Pull up revision 1.30 (requested by fvdl):
  Insert an extra VOP_ACCESS check in nfs_lookup, preventing cached
  access mishaps for lookup and getattr.  Fixes PR#8884.

Revision 1.29.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:36:30 1999 UTC (23 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Pull up to last week's -current.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Nov 29 23:34:00 1999 UTC (23 years, 6 months ago) by fvdl
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

Insert an extra VOP_ACCESS check in nfs_lookup, to avoid cached access
mishaps for lookup and getattr. Closes PR 8884.

While at it, cache access RPCs.

Revision 1.28.8.2 / (download) - annotate - [select for diffs], Mon Aug 2 22:38:26 1999 UTC (23 years, 10 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.28.8.1: +2 -1 lines
Diff to previous 1.28.8.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Update from trunk.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jul 8 01:06:03 1999 UTC (23 years, 11 months ago) by wrstuden
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

Modify file systems to deal with struct lock in struct vnode. All leaf
fs's other than nfs use genfs_lock() for locking.

Modify lookup routines to set PDIRUNLOCK when they unlock the parrent.

Revision 1.28.8.1 / (download) - annotate - [select for diffs], Mon Jun 7 04:25:32 1999 UTC (24 years ago) by chs
Branch: chs-ubc2
Changes since 1.28: +12 -2 lines
Diff to previous 1.28 (colored)

merge everything from chs-ubc branch.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sun May 30 15:12:42 1999 UTC (24 years ago) by chs
Branch: chs-ubc
Changes since 1.28: +17 -1 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

there's a new rule that all vnodes must call uvm_vnp_setsize()
before anyone can possibly access them, so do this in nfs_nget().

Revision 1.28 / (download) - annotate - [select for diffs], Tue Sep 1 03:11:36 1998 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc-base
Branch point for: netbsd-1-4, chs-ubc2, chs-ubc
Changes since 1.27: +14 -6 lines
Diff to previous 1.27 (colored)

Use the pool allocator and the "nointr" pool page allocator for NFS nodes
and vattr structures.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Aug 9 21:19:50 1998 UTC (24 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)

bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.26 / (download) - annotate - [select for diffs], Sun Mar 1 02:24:27 1998 UTC (25 years, 3 months ago) by fvdl
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.25: +7 -80 lines
Diff to previous 1.25 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:46 1998 UTC (25 years, 3 months ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +66 -105 lines
Diff to previous 1.1.1.2 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:10:38 1998 UTC (25 years, 3 months ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1.1.1: +119 -150 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.25 / (download) - annotate - [select for diffs], Sat Feb 7 02:44:58 1998 UTC (25 years, 4 months ago) by chs
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

add flags arg to hashinit(), to pass to malloc().

Revision 1.24 / (download) - annotate - [select for diffs], Sun Oct 19 01:46:24 1997 UTC (25 years, 7 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.23: +6 -2 lines
Diff to previous 1.23 (colored)

* Implement optional 32 <-> 64 bit directory cookie translation. This uses
  the directory cache as translation table. See nfs_subs.c for comments.
  Makes the code a bit more complex to look at than I would have liked,
  but doesn't affect the speed of the default behavior.
* Optimize caching behavior a bit when buffers are invalidated.
* Save some RPCs in readdir operations by not bothering if there is
  a small amount left to do to fill the buffer. It'll be done in the
  next RPC with a larger chunk anyway. Wastes a bit of buffer space
  but is faster.
* Make n_vattr an allocated vattr struct. This avoids nfsnode bloat,
  and is friendlier to the malloc routines.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Tue Oct 14 15:58:24 1997 UTC (25 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.22: +4 -9 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Oct 10 01:53:19 1997 UTC (25 years, 8 months ago) by fvdl
Branch: MAIN
CVS Tags: marc-pcmcia-base
Changes since 1.22: +4 -9 lines
Diff to previous 1.22 (colored)

* New directory entry caching system. Provides full caching of any
  directory cookie that may be thrown back at us from userspace, up
  to a size limit. Fixes double entry problem.
* Split flags for internal and external use in the NFS mount structure.
* Fix some buffer structure fields that weren're being used correctly.
* Fix missing directory cache inval call in nfs_open.
* Limit on NFS_DIRBLKSIZ no longer needed, bumped to the more reasonable
  value of 8k.
* Various other things that I forget, all related to the dir caching
  somehow, though.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 7 23:34:55 1997 UTC (25 years, 11 months ago) by fvdl
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.21: +8 -3 lines
Diff to previous 1.21 (colored)

Do locking around nfsnode hashing (perhaps even right this time!)

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 7 11:50:49 1997 UTC (25 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.20: +3 -8 lines
Diff to previous 1.20 (colored)

Revert until I have time to fix it today (lock applied wrongly).

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jul 6 12:42:06 1997 UTC (25 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.19: +8 -3 lines
Diff to previous 1.19 (colored)

Put lock around nfs node hashing to avoid race conditions, as MALLOC
or getnewvnode may block.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Wed Mar 12 21:24:52 1997 UTC (26 years, 3 months ago) by is
Branch: is-newarp
Changes since 1.17: +31 -8 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Merge in changes from Trunk

Revision 1.19 / (download) - annotate - [select for diffs], Sat Feb 22 02:45:48 1997 UTC (26 years, 3 months ago) by fvdl
Branch: MAIN
CVS Tags: is-newarp-before-merge, bouyer-scsipi
Changes since 1.18: +28 -5 lines
Diff to previous 1.18 (colored)

Fixes from BSDI (thanks go to Keith Bostic). Original RCS messages:

date: 1996/09/06 03:00:31;  author: donn;  state: Exp;  lines: +1 -2
Because NFS doesn't implement vnode locking, nfs_inactive() doesn't really
have the vnode locked and hence it can't reliably access the vnode after
it performs a blocking operation.  We remove one blocking call and push
the no-op VOP_UNLOCK higher so that we don't access the vnode after we
delete the sillyrename file.  This should prevent crashes we've seen in
which the vnode turned into a UFS vnode and caused a panic in ufs_unlock()
when we tried to 'unlock' it.

date: 1996/09/25 19:15:21;  author: cp;  state: Exp;  lines: +4 -0
Kirk's change to not corrupt files after a delete.

date: 1996/11/08 19:53:45;  author: donn;  state: Exp;  lines: +16 -4
Krik's change to solve the paradox that vclean() calls nfs_inactive()
with VXLOCK set on the vnode, and nfs_inactive() was calling vget()
to get a reference on the vnode, which in turn hung on VXLOCK.
Nfs_inactive() now checks v_usecount to make sure that the vnode
is not coming from vclean() before it does a vget().

Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 12 17:26:56 1997 UTC (26 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

Don't set sillyrename field to 0 for directories, as it's in a union with
the head of the cookie list. Fixes PR 3215, fix supplied by
Hiroshi Tezuka <tezuka@trc.rwcp.or.jp>. Should also fix M_NFSDIROFF
memory leak.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Sep 1 23:49:00 1996 UTC (26 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Changes since 1.16: +1 -20 lines
Diff to previous 1.16 (colored)

Add a set of generic file system operations that most file systems use.
Also, fix some time stamp bogosities.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Feb 18 11:53:42 1996 UTC (27 years, 3 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.15: +66 -36 lines
Diff to previous 1.15 (colored)

Bring in a merge of Rick Macklem's NFSv3 code from Lite2

Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 9 21:48:24 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.14: +39 -22 lines
Diff to previous 1.14 (colored)

nfs prototype changes

Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 19 23:07:27 1995 UTC (27 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.13: +1 -5 lines
Diff to previous 1.13 (colored)

changes to make this work on systems where pointers & longs are 64 bits.
This is mostly just changes to make the stuff that goes over the wire
use fixed-size types.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Fri Aug 19 12:10:20 1994 UTC (28 years, 9 months ago) by mycroft
Branch: netbsd-1-0
CVS Tags: netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Changes since 1.12: +16 -31 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

update from trunk

Revision 1.13 / (download) - annotate - [select for diffs], Thu Aug 18 22:47:46 1994 UTC (28 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.12: +16 -31 lines
Diff to previous 1.12 (colored)

More LIST/CIRCLEQ migration.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 29 06:42:09 1994 UTC (28 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 13 15:39:13 1994 UTC (29 years ago) by mycroft
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Undo last change.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 13 15:33:32 1994 UTC (29 years ago) by gwr
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Fix unresolved:  prtactive

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 8 11:36:53 1994 UTC (29 years ago) by mycroft
Branch: MAIN
Changes since 1.8: +104 -105 lines
Diff to previous 1.8 (colored)

Update to 4.4-Lite fs code, with local changes.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 25 03:50:19 1994 UTC (29 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.7: +6 -4 lines
Diff to previous 1.7 (colored)

some prototype cleanup, eliminate/replace bogus types (e.g. quad and
u_quad) -> use better types (e.g. quad_t & u_quad_t in inodes),
some cleanup.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Apr 21 23:23:29 1994 UTC (29 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.6: +4 -38 lines
Diff to previous 1.6 (colored)

blow away all vestiges of nfsnode locking.
	(1) it's unnecessary
	(2) it causes machines to hang (yup!)
	(3) it'd be gone in a few days anyway (it'd been yanked out
		of 4.4-Lite by macklem long ago)
It was only there because macklem couldn't originally decide if things
should be locked, or not...

Revision 1.6 / (download) - annotate - [select for diffs], Tue Mar 1 20:31:09 1994 UTC (29 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Enable nfs_lock(); useful when IO_APPEND'ing.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 15 21:07:10 1994 UTC (29 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

Update {a,m}time vnode attributes on special files a la ufs_vnode.c,
but make it a non-urgent operation, to leave us some performance.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Dec 18 00:44:56 1993 UTC (29 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +13 -13 lines
Diff to previous 1.3 (colored)

Canonicalize all #includes.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Sun Nov 14 22:22:20 1993 UTC (29 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.3: +13 -13 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Canonicalize all #includes.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 28 02:22:25 1993 UTC (29 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: magnum-base
Branch point for: magnum
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

incorporate changes from 0-9-base to 0-9-ALPHA

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Sat Jul 24 20:26:40 1993 UTC (29 years, 10 months ago) by cgd
Branch: netbsd-0-9
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

clean the nfsnode's lockf field after getting a new vnode;
this probably explains some strange NFS-related lockf crashes on pain,
and UFS does it, so it can't hurt.

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 20 03:18:42 1993 UTC (30 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-base
Branch point for: netbsd-0-9
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

more rcs id adding and header cleanup.  i like vi macros!

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (30 years, 2 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (30 years, 2 months ago) by cgd
Branch: MAIN

Initial revision

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>