Up to [cvs.NetBSD.org] / src / sys / nfs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.299 / (download) - annotate - [select for diffs], Mon Mar 18 19:35:45 2013 UTC (2 months ago) by plunky
Branch: MAIN
CVS Tags: khorben-n900,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.298: +3 -3
lines
Diff to previous 1.298 (colored)
C99 section 6.7.2.3 (Tags) Note 3 states that: A type specifier of the form enum identifier without an enumerator list shall only appear after the type it specifies is complete. which means that we cannot pass an "enum vtype" argument to kauth_access_action() without fully specifying the type first. Unfortunately there is a complicated include file loop which makes that difficult, so convert this minimal function into a macro (and capitalize it). (ok elad@)
Revision 1.298 / (download) - annotate - [select for diffs], Wed Nov 7 02:31:48 2012 UTC (6 months, 2 weeks ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
tls-maxphys-nbase,
tls-maxphys-base
Changes since 1.297: +3 -2
lines
Diff to previous 1.297 (colored)
fix crash in nfs client lookups, dholland says 'my fault'
Revision 1.297 / (download) - annotate - [select for diffs], Mon Nov 5 17:27:39 2012 UTC (6 months, 2 weeks ago) by dholland
Branch: MAIN
Changes since 1.296: +16 -13
lines
Diff to previous 1.296 (colored)
Excise struct componentname from the namecache. This uglifies the interface, because several operations need to be passed the namei flags and cache_lookup also needs for the time being to be passed cnp->cn_nameiop. Nonetheless, it's a net benefit. The glop should be able to go away eventually but requires structural cleanup elsewhere first. This change requires a kernel bump.
Revision 1.296 / (download) - annotate - [select for diffs], Mon Nov 5 17:24:11 2012 UTC (6 months, 2 weeks ago) by dholland
Branch: MAIN
Changes since 1.295: +12 -22
lines
Diff to previous 1.295 (colored)
Disentangle the namecache from the internals of namei. - Move the namecache's hash computation to inside the namecache code, instead of being spread out all over the place. Remove cn_hash from struct componentname and delete all uses of it. - It is no longer necessary (if it ever was) for cache_lookup and cache_lookup_raw to clear MAKEENTRY from cnp->cn_flags for the cases that cache_enter already checks for. - Rearrange the interface of cache_lookup (and cache_lookup_raw) to make it somewhat simpler, to exclude certain nonexistent error conditions, and (most importantly) to make it not require write access to cnp->cn_flags. This change requires a kernel bump.
Revision 1.295 / (download) - annotate - [select for diffs], Sun Jul 22 00:53:21 2012 UTC (10 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.294: +9 -10
lines
Diff to previous 1.294 (colored)
Move some the test for MAKEENTRY into the cache_enter(9). Make some variables in vfs_cache.c static, __read_mostly, etc. No objection on tech-kern@.
Revision 1.294 / (download) - annotate - [select for diffs], Fri Apr 27 18:12:01 2012 UTC (12 months, 3 weeks ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
jmcneill-usbmp-base9,
jmcneill-usbmp-base10
Changes since 1.293: +5 -4
lines
Diff to previous 1.293 (colored)
fix access permission check which got broken by some kauth rework in March, affected mostly systems with NFS root fs
Revision 1.293 / (download) - annotate - [select for diffs], Mon Nov 28 08:05:06 2011 UTC (17 months, 3 weeks ago) by tls
Branch: MAIN
CVS Tags: yamt-pagecache-base4,
netbsd-6-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base
Branch point for: netbsd-6,
jmcneill-usbmp
Changes since 1.292: +5 -4
lines
Diff to previous 1.292 (colored)
Remove arc4random() and arc4randbytes() from the kernel API. Replace arc4random() hacks in rump with stubs that call the host arc4random() to get numbers that are hopefully actually random (arc4random() keyed with stack junk is not). This should fix some of the currently failing anita tests -- we should no longer generate duplicate "random" MAC addresses in the test environment.
Revision 1.292 / (download) - annotate - [select for diffs], Tue Sep 27 01:05:08 2011 UTC (19 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.291: +3 -3
lines
Diff to previous 1.291 (colored)
use NFS_MAXPATHLEN instead of MAXPATHLEN
Revision 1.291 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:59 2011 UTC (23 months, 1 week ago) by rmind
Branch: MAIN
Changes since 1.290: +3 -3
lines
Diff to previous 1.290 (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.290 / (download) - annotate - [select for diffs], Sun Apr 24 21:35:30 2011 UTC (2 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.289: +8 -15
lines
Diff to previous 1.289 (colored)
sys_link: prevent hard links on directories (cross-mount operations are already prevented). File systems are no longer responsible to check this. Clean up and add asserts (note that dvp == vp cannot happen in vop_link). OK dholland@
Revision 1.289 / (download) - annotate - [select for diffs], Tue Dec 14 16:58:58 2010 UTC (2 years, 5 months ago) by cegger
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.288: +8 -7
lines
Diff to previous 1.288 (colored)
Initialize mutex and cv after sanity checks
Revision 1.288 / (download) - annotate - [select for diffs], Tue Dec 14 16:25:18 2010 UTC (2 years, 5 months ago) by cegger
Branch: MAIN
Changes since 1.287: +2 -10
lines
Diff to previous 1.287 (colored)
back out rev. 1.285. The problem I try to hunt down in PR 42455 is not in the network stack as shown by PR 44206.
Revision 1.287 / (download) - annotate - [select for diffs], Tue Nov 30 10:43:05 2010 UTC (2 years, 5 months ago) by dholland
Branch: MAIN
Changes since 1.286: +2 -18
lines
Diff to previous 1.286 (colored)
Abolish the SAVENAME and HASBUF flags. There is now always a buffer, so the path in a struct componentname is now always valid during VOP calls.
Revision 1.286 / (download) - annotate - [select for diffs], Tue Nov 30 10:30:03 2010 UTC (2 years, 5 months ago) by dholland
Branch: MAIN
Changes since 1.285: +2 -10
lines
Diff to previous 1.285 (colored)
Abolish struct componentname's cn_pnbuf. Use the path buffer in the pathbuf object passed to namei as work space instead. (For now a pnbuf pointer appears in struct nameidata, to support certain unclean things that haven't been fixed yet, but it will be going away in the future.) This removes the need for the SAVENAME and HASBUF namei flags.
Revision 1.285 / (download) - annotate - [select for diffs], Tue Oct 26 11:44:53 2010 UTC (2 years, 6 months ago) by cegger
Branch: MAIN
CVS Tags: uebayasi-xip-base4
Changes since 1.284: +10 -2
lines
Diff to previous 1.284 (colored)
Add diagnostic check which hits when PR 42455 is reproduced. Idea from hans@
Revision 1.284 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:17 2010 UTC (2 years, 11 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base3,
uebayasi-xip-base2
Changes since 1.283: +5 -5
lines
Diff to previous 1.283 (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.283 / (download) - annotate - [select for diffs], Mon Mar 29 13:11:33 2010 UTC (3 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.282: +26 -26
lines
Diff to previous 1.282 (colored)
Stop exposing fifofs internals and leave only fifo_vnodeop_p visible.
Revision 1.282 / (download) - annotate - [select for diffs], Fri Jan 8 11:35:11 2010 UTC (3 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.281: +9 -9
lines
Diff to previous 1.281 (colored)
The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live years ago when the kernel was modified to not alter ABI based on DIAGNOSTIC, and now just call the respective function interfaces (in lowercase). Plenty of mix'n match upper/lowercase has creeped into the tree since then. Nuke the macros and convert all callsites to lowercase. no functional change
Revision 1.281 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:06 2009 UTC (3 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: matt-premerge-20091211,
jym-xensuspend-nbase
Changes since 1.280: +2 -8
lines
Diff to previous 1.280 (colored)
Remove uarea swap-out functionality: - Addresses the issue described in PR/38828. - Some simplification in threading and sleepq subsystems. - Eliminates pmap_collect() and, as a side note, allows pmap optimisations. - Eliminates XS_CTL_DATA_ONSTACK in scsipi code. - Avoids few scans on LWP list and thus potentially long holds of proc_lock. - Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k. - Removes __SWAP_BROKEN cases. Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on acorn26 (thanks to <bjh21>). Discussed on <tech-kern>, reviewed by <ad>.
Revision 1.280 / (download) - annotate - [select for diffs], Tue Jul 14 20:59:54 2009 UTC (3 years, 10 months ago) by apb
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
jymxensuspend-base
Changes since 1.279: +3 -3
lines
Diff to previous 1.279 (colored)
Use pid_t, not short, for a pid. Part of PR 41255 from Kurt Lidl.
Revision 1.279 / (download) - annotate - [select for diffs], Tue Jun 23 19:36:40 2009 UTC (3 years, 11 months ago) by elad
Branch: MAIN
Changes since 1.278: +3 -3
lines
Diff to previous 1.278 (colored)
Move the implementation of vaccess() to genfs_can_access(), in line with the other routines of the same spirit. Adjust file-system code to use it. Keep vaccess() for KPI compatibility and to keep element of least surprise. A "diagnostic" message warning that vaccess() is deprecated will be printed when it's used (obviously, only in DIAGNOSTIC kernels). No objections on tech-kern@: http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005310.html
Revision 1.278 / (download) - annotate - [select for diffs], Sun May 10 05:18:26 2009 UTC (4 years ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
jym-xensuspend-base
Changes since 1.277: +16 -17
lines
Diff to previous 1.277 (colored)
nfs_lookup: vn_lock the vnode returned by cache_lookup_raw before feeding it to VOP_GETATTR. it's necessary because the vnode might be being cleaned by getcleanvnode. it's an instance of more general races between vnode reclaim and unlocked VOPs. however, this one happens somewhat often because it can be triggered by getnewvnode rather than revoke.
Revision 1.277 / (download) - annotate - [select for diffs], Sun May 10 03:51:43 2009 UTC (4 years ago) by yamt
Branch: MAIN
Changes since 1.276: +4 -2
lines
Diff to previous 1.276 (colored)
restore lines, esp. a vrele() call, which i mistakenly removed in the previous. (rev.1.276)
Revision 1.276 / (download) - annotate - [select for diffs], Mon May 4 05:59:35 2009 UTC (4 years ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3
Changes since 1.275: +4 -6
lines
Diff to previous 1.275 (colored)
nfs_lookup: handle the case where the vnode returned cache_lookup_raw is being reclaimed by another thread. after recent changes in cache_lookup_raw, there's a race between cache_lookup_raw/vtryget and getcleanvnode/vclean. PR/41028.
Revision 1.275 / (download) - annotate - [select for diffs], Mon May 4 05:50:17 2009 UTC (4 years ago) by yamt
Branch: MAIN
Changes since 1.274: +3 -2
lines
Diff to previous 1.274 (colored)
nfs_lookup: add an assertion.
Revision 1.274 / (download) - annotate - [select for diffs], Mon May 4 05:49:00 2009 UTC (4 years ago) by yamt
Branch: MAIN
Changes since 1.273: +10 -10
lines
Diff to previous 1.273 (colored)
nfs_lookup: comments. no functional changes.
Revision 1.273 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:26 2009 UTC (4 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Changes since 1.272: +3 -6
lines
Diff to previous 1.272 (colored)
ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
Revision 1.272 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:24 2009 UTC (4 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.271: +46 -130
lines
Diff to previous 1.271 (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.271 / (download) - annotate - [select for diffs], Sat Mar 14 14:46:11 2009 UTC (4 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.270: +5 -5
lines
Diff to previous 1.270 (colored)
Remove all the __P() from sys (excluding sys/dist) Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build.
Revision 1.270 / (download) - annotate - [select for diffs], Fri Mar 13 15:01:29 2009 UTC (4 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.269: +4 -5
lines
Diff to previous 1.269 (colored)
nfs_lookup: fix a comment.
Revision 1.269 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:54 2009 UTC (4 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: nick-hppapmap-base2,
mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.268: +5 -4
lines
Diff to previous 1.268 (colored)
merge christos-time_t
Revision 1.268 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:10 2008 UTC (4 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
christos-time_t-nbase,
christos-time_t-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: christos-time_t
Changes since 1.267: +4 -2
lines
Diff to previous 1.267 (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.267 / (download) - annotate - [select for diffs], Wed Oct 15 14:21:35 2008 UTC (4 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
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-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap
Changes since 1.266: +4 -16
lines
Diff to previous 1.266 (colored)
For NFSV3CREATE_EXCLUSIVE verifier, just use arc4random() instead of the first inet address on INET systems (which is likely to be localhost).
Revision 1.266 / (download) - annotate - [select for diffs], Wed Feb 13 09:51:37 2008 UTC (5 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
mjf-devfs2,
haad-dm
Changes since 1.265: +5 -2
lines
Diff to previous 1.265 (colored)
reject files larger than nm_maxfilesize.
Revision 1.265 / (download) - annotate - [select for diffs], Fri Jan 25 14:32:16 2008 UTC (5 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.264: +2 -5
lines
Diff to previous 1.264 (colored)
Remove VOP_LEASE. Discussed on tech-kern.
Revision 1.264 / (download) - annotate - [select for diffs], Wed Jan 2 19:26:47 2008 UTC (5 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Changes since 1.263: +9 -9
lines
Diff to previous 1.263 (colored)
use kmem_alloc instead of malloc.
Revision 1.263 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:04 2008 UTC (5 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.262: +3 -3
lines
Diff to previous 1.262 (colored)
Merge vmlocking2 to head.
Revision 1.262 / (download) - annotate - [select for diffs], Mon Dec 17 16:04:31 2007 UTC (5 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.261: +18 -11
lines
Diff to previous 1.261 (colored)
nfs_create: try GUARDED if EXCLUSIVE is NOTSUPP.
Revision 1.261 / (download) - annotate - [select for diffs], Sat Dec 8 19:29:52 2007 UTC (5 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.260: +22 -22
lines
Diff to previous 1.260 (colored)
Remove cn_lwp from struct componentname. curlwp should be used from on. The NDINIT() macro no longer takes the lwp parameter and associates the credentials of the calling thread with the namei structure.
Revision 1.260 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:22 2007 UTC (5 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base
Branch point for: vmlocking2
Changes since 1.259: +23 -28
lines
Diff to previous 1.259 (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.259 / (download) - annotate - [select for diffs], Tue Nov 13 11:37:08 2007 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2,
bouyer-xenamd64-base
Changes since 1.258: +3 -3
lines
Diff to previous 1.258 (colored)
nfs_lookup: fix indent.
Revision 1.258 / (download) - annotate - [select for diffs], Wed Nov 7 00:23:39 2007 UTC (5 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.257: +3 -3
lines
Diff to previous 1.257 (colored)
Merge from vmlocking: - pool_cache changes. - Debugger/procfs locking fixes. - Other minor changes.
Revision 1.257 / (download) - annotate - [select for diffs], Sun Oct 28 22:24:29 2007 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.256: +3 -3
lines
Diff to previous 1.256 (colored)
make NFS_ATTRTIMEO a function.
Revision 1.256 / (download) - annotate - [select for diffs], Mon Jul 9 21:11:31 2007 UTC (5 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6,
jmcneill-pm,
bouyer-xenamd64
Changes since 1.255: +4 -4
lines
Diff to previous 1.255 (colored)
Merge some of the less invasive changes from the vmlocking branch: - kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
Revision 1.255 / (download) - annotate - [select for diffs], Sun Apr 29 15:30:26 2007 UTC (6 years ago) by yamt
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.254: +2 -0
lines
Diff to previous 1.254 (colored)
don't forget to destroy mutex and condvar.
Revision 1.254 / (download) - annotate - [select for diffs], Sun Apr 29 10:30:19 2007 UTC (6 years ago) by yamt
Branch: MAIN
Changes since 1.253: +7 -7
lines
Diff to previous 1.253 (colored)
use mutex and condver.
Revision 1.253 / (download) - annotate - [select for diffs], Sun Apr 29 08:41:10 2007 UTC (6 years ago) by yamt
Branch: MAIN
Changes since 1.252: +18 -18
lines
Diff to previous 1.252 (colored)
use mutex and condvar.
Revision 1.252 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:38 2007 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Changes since 1.251: +57 -57
lines
Diff to previous 1.251 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.251 / (download) - annotate - [select for diffs], Thu Feb 22 06:14:29 2007 UTC (6 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base,
ad-audiomp
Changes since 1.250: +15 -15
lines
Diff to previous 1.250 (colored)
TRUE -> true, FALSE -> false
Revision 1.250 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:09 2007 UTC (6 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.249: +6 -6
lines
Diff to previous 1.249 (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.249 / (download) - annotate - [select for diffs], Wed Jan 24 13:08:15 2007 UTC (6 years, 4 months ago) by hubertf
Branch: MAIN
CVS Tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base
Branch point for: yamt-idlelwp
Changes since 1.248: +2 -3
lines
Diff to previous 1.248 (colored)
Remove duplicate #includes, patch contributed in private mail by Slava Semushin <slava.semushin@gmail.com>. To verify that no nasty side effects of duplicate includes (or their removal) have an effect here, I've compiled an i386/ALL kernel with and without the patch, and the only difference in the resulting .o files was in shifted line numbers in some assert() calls. The comparison of the .o files was based on the output of "objdump -D". Thanks to martin@ for the input on testing.
Revision 1.248 / (download) - annotate - [select for diffs], Wed Dec 27 12:51:22 2006 UTC (6 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.247: +3 -7
lines
Diff to previous 1.247 (colored)
- remove the rest of nqnfs. - reject NFSMNT_MNTD and NFSMNT_KERB. (no users in tree.)
Revision 1.247 / (download) - annotate - [select for diffs], Wed Dec 27 12:10:09 2006 UTC (6 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.246: +8 -33
lines
Diff to previous 1.246 (colored)
remove nqnfs.
Revision 1.246 / (download) - annotate - [select for diffs], Sat Dec 9 16:11:52 2006 UTC (6 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3
Changes since 1.245: +14 -46
lines
Diff to previous 1.245 (colored)
a smorgasbord of improvements to vnode locking and path lookup: - LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP(). these now always return the parent vnode locked. namei() works as before. lookup() and various other paths no longer acquire vnode locks in the wrong order via vrele(). fixes PR 32535. as a nice side effect, path lookup is also up to 25% faster. - the above allows us to get rid of PDIRUNLOCK. - also get rid of WANTPARENT (just use LOCKPARENT and unlock it). - remove an assumption in layer_node_find() that all file systems implement a recursive VOP_LOCK() (unionfs doesn't). - require that all file systems supply vfs_vptofh and vfs_fhtovp routines. fill in eopnotsupp() for file systems that don't support being exported and remove the checks for NULL. (layerfs calls these without checking.) - in union_lookup1(), don't change refcounts in the ISDOTDOT case, just adjust which vnode is locked. fixes PR 33374. - apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().
Revision 1.245 / (download) - annotate - [select for diffs], Thu Nov 9 09:53:57 2006 UTC (6 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.244: +5 -11
lines
Diff to previous 1.244 (colored)
remove some __unused in function parameters.
Revision 1.244 / (download) - annotate - [select for diffs], Sat Oct 14 09:18:57 2006 UTC (6 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.243: +13 -7
lines
Diff to previous 1.243 (colored)
grab glock when calling uvm_unp_setsize, so that it doesn't interfere
mmap'ed accesses. this fixes an assertion failure in in nfs_doio_read.
("vp->v_size >= uiop->uio_offset + uiop->uio_resid")
Revision 1.243 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:47 2006 UTC (6 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.242: +11 -9
lines
Diff to previous 1.242 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.242 / (download) - annotate - [select for diffs], Fri Sep 29 16:19:50 2006 UTC (6 years, 7 months ago) by drochner
Branch: MAIN
Changes since 1.241: +15 -8
lines
Diff to previous 1.241 (colored)
Flush regular files before setattr also if the mode bits are going to be set. Linux NFS servers (at least) reset suid/sgid bits if a write happens afterwards. Add a comment why this is done. This fixes system builds on diskless systems for me where suid bits were missing after install(1). Approved by yamt.
Revision 1.241 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:14 2006 UTC (6 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.240: +4 -4
lines
Diff to previous 1.240 (colored)
Use the LWP cached credentials where sane.
Revision 1.240 / (download) - annotate - [select for diffs], Sat Jul 1 11:30:44 2006 UTC (6 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.239: +9 -0
lines
Diff to previous 1.239 (colored)
some comments taken from Jed Davis's patch.
Revision 1.239 / (download) - annotate - [select for diffs], Sat Jul 1 11:29:42 2006 UTC (6 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.238: +71 -45
lines
Diff to previous 1.238 (colored)
if a file is sillyrename'ed because it's a destination of rename,
make sillyrename (try to) use LINK operation rather than RENAME.
PR/33861 from Jed Davis. he provided the almost same patch.
according to him, it also happen to be what opensolaris does in this case.
from the PR:
> In nfs_rename(), if the destination appears to exist and is "in use"
> (this check is apparently satisfied even if the file isn't in use by
> anything except the rename itself), it will sillyrename it, then delete
> the sillyrenamed file even if the rename fails -- for instance, because
> the "from" file no longer exists on the server.
> mkdir a b; touch a/x; perl -e 'fork(); rename("a/x","b/x") or die "$!\n"'
>
> Afterwards, neither a/x nor b/x will exist.
> 1) Lookup of b/x; fails with NOENT.
> 2) Rename from a/x to b/x; succeeds.
> 3) Lookup of b/x; fails with NOENT.
> 4) Rename from b/x to b/.nfsA23a3; succeeds.
> 5) Rename from a/x to b/x; fails with NOENT.
> 6) Remove of b/.nfsA23a3; succeeds.
Revision 1.238 / (download) - annotate - [select for diffs], Fri Jun 30 09:55:34 2006 UTC (6 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.237: +6 -3
lines
Diff to previous 1.237 (colored)
fix handling of NFSERR_NOTSUPP and NFSERR_BAD_COOKIE, which have been broken since nfs_socket.c rev.1.115.
Revision 1.237 / (download) - annotate - [select for diffs], Wed Jun 7 22:34:18 2006 UTC (6 years, 11 months ago) by kardel
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6,
gdamore-uart-base,
chap-midi-nbase,
chap-midi-base
Branch point for: gdamore-uart
Changes since 1.236: +22 -29
lines
Diff to previous 1.236 (colored)
merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
time.tv_sec -> time_second
- struct timeval mono_time is gone
mono_time.tv_sec -> time_uptime
- access to time via
{get,}{micro,nano,bin}time()
get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
Revision 1.236 / (download) - annotate - [select for diffs], Sun May 14 21:32:21 2006 UTC (7 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5,
simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.235: +40 -39
lines
Diff to previous 1.235 (colored)
integrate kauth.
Revision 1.235 / (download) - annotate - [select for diffs], Sat Apr 15 01:51:47 2006 UTC (7 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.234: +6 -3
lines
Diff to previous 1.234 (colored)
Coverity CID 744: Conditionally define out dead code (only if it is dead)
Revision 1.234 / (download) - annotate - [select for diffs], Sat Apr 15 00:40:20 2006 UTC (7 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.233: +7 -7
lines
Diff to previous 1.233 (colored)
Coverity CID 2515-2519: Initialize rexmit on error path.
Revision 1.233 / (download) - annotate - [select for diffs], Sat Apr 15 00:36:23 2006 UTC (7 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.232: +3 -3
lines
Diff to previous 1.232 (colored)
Coverity CID 2520: rexmit can be uninitialized on error path.
Revision 1.232 / (download) - annotate - [select for diffs], Fri Apr 14 13:09:06 2006 UTC (7 years, 1 month ago) by blymn
Branch: MAIN
Changes since 1.231: +13 -4
lines
Diff to previous 1.231 (colored)
Make i/o statistics collection more generic, include tape drives and nfs mounts in the set of devices that statistics will be reported on.
Revision 1.231 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:32 2006 UTC (7 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
peter-altq,
elad-kernelauth
Changes since 1.230: +9 -8
lines
Diff to previous 1.230 (colored)
merge yamt-uio_vmspace branch. - use vmspace rather than proc or lwp where appropriate. the latter is more natural to specify an address space. (and less likely to be abused for random purposes.) - fix a swdmover race.
Revision 1.230 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:17 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Changes since 1.229: +80 -80
lines
Diff to previous 1.229 (colored)
merge ktrace-lwp.
Revision 1.229 / (download) - annotate - [select for diffs], Sat Nov 5 19:21:14 2005 UTC (7 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
ktrace-lwp-base
Branch point for: yamt-readahead
Changes since 1.228: +3 -3
lines
Diff to previous 1.228 (colored)
nfs_read: return EISDIR rather than EPERM for !VREG files.
Revision 1.228 / (download) - annotate - [select for diffs], Wed Nov 2 12:38:59 2005 UTC (7 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.227: +2 -17
lines
Diff to previous 1.227 (colored)
merge yamt-vop branch. remove following VOPs. VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
Revision 1.227 / (download) - annotate - [select for diffs], Mon Sep 19 00:49:52 2005 UTC (7 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.226: +4 -3
lines
Diff to previous 1.226 (colored)
ATTRTIMEO takes 2 args.
Revision 1.226 / (download) - annotate - [select for diffs], Fri Aug 19 10:08:48 2005 UTC (7 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.225: +3 -3
lines
Diff to previous 1.225 (colored)
fix some simple bugs in the 64bit ino_t changes. - edp -> dp - * -> +
Revision 1.225 / (download) - annotate - [select for diffs], Fri Aug 19 02:04:04 2005 UTC (7 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.224: +40 -78
lines
Diff to previous 1.224 (colored)
64 bit inode changes.
Revision 1.224 / (download) - annotate - [select for diffs], Thu Jul 21 10:39:46 2005 UTC (7 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.223: +10 -2
lines
Diff to previous 1.223 (colored)
use a correct credential for readlink. discussed on source-changes@.
Revision 1.223 / (download) - annotate - [select for diffs], Thu Jul 7 02:05:03 2005 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.222: +4 -11
lines
Diff to previous 1.222 (colored)
1. use p = uio->uio_procp consistently and eliminate suspicious uses of curproc (where uio->uio_procp should be used?). Don't do this for nfs_commit(), because yamt says it is possibly wrong. 2. nfs_doio() does not use struct proc; remove it and the code to compute it. 3. use copyin_proc() and copyout_proc() instead of copyin() and copyout(). 4. check return of copyout_proc(). and mark return from copyin_proc() XXX 5. Eliminate check p == curproc assertion check from nfs_write; nfs_read does not have it and we might be called in a different process context anyway (PR 20138).
Revision 1.222 / (download) - annotate - [select for diffs], Sun May 29 20:58:13 2005 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.221: +6 -6
lines
Diff to previous 1.221 (colored)
- sprinkle const - avoid shadowed variables - mark bad const use with XXXUNCONST
Revision 1.221 / (download) - annotate - [select for diffs], Tue May 17 04:14:58 2005 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.220: +6 -8
lines
Diff to previous 1.220 (colored)
Yes, it was a cool trick >20 years ago to use "0123456789abcdef"[a] to implement, xtoa(), but I think defining the samestring 50 times is a bit too much. Defined HEXDIGITS and hexdigits in subr_prf.c and use it...
Revision 1.220 / (download) - annotate - [select for diffs], Sat Feb 26 22:39:50 2005 UTC (8 years, 2 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.219: +14 -14
lines
Diff to previous 1.219 (colored)
nuke trailing whitespace
Revision 1.219 / (download) - annotate - [select for diffs], Wed Jan 26 10:33:54 2005 UTC (8 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base2,
matt-timespec
Changes since 1.218: +22 -4
lines
Diff to previous 1.218 (colored)
nfs_readdirrpc, nfs_readdirplusrpc: avoid infinite loops when getting readdir response without any entries or eof. PR/28971.
Revision 1.218 / (download) - annotate - [select for diffs], Wed Jan 26 10:30:58 2005 UTC (8 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.217: +8 -4
lines
Diff to previous 1.217 (colored)
handle a really empty directory, which doesn't have even the dot entry.
Revision 1.217 / (download) - annotate - [select for diffs], Fri Jan 21 14:31:29 2005 UTC (8 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base
Branch point for: yamt-km
Changes since 1.216: +4 -4
lines
Diff to previous 1.216 (colored)
s/time/mono_time/ for n_attrstamp and n_accstamp. (parts of) PR/25641.
Revision 1.216 / (download) - annotate - [select for diffs], Wed Jan 19 16:22:19 2005 UTC (8 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.215: +14 -14
lines
Diff to previous 1.215 (colored)
implement inaccurate mtime/ctime detection. namely, if mtime or ctime are same between pre_op_attr and post_op_attr when we expected them to be changed, don't trust the server.
Revision 1.215 / (download) - annotate - [select for diffs], Sat Jan 8 03:12:30 2005 UTC (8 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-beforemerge
Branch point for: kent-audio2
Changes since 1.214: +16 -12
lines
Diff to previous 1.214 (colored)
nfs_lookup: check n_nctime for positive entries as well to improve cache consistency.
Revision 1.214 / (download) - annotate - [select for diffs], Fri Dec 17 03:31:20 2004 UTC (8 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.213: +3 -3
lines
Diff to previous 1.213 (colored)
revive spec vop_bwrite as it's needed for block devices. PR/28684 from Jukka Salmi.
Revision 1.213 / (download) - annotate - [select for diffs], Tue Dec 14 09:15:23 2004 UTC (8 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.212: +20 -55
lines
Diff to previous 1.212 (colored)
redirect some VOPs which shouldn't be used for nfs to genfs_badop (ie. panic).
Revision 1.212 / (download) - annotate - [select for diffs], Tue Dec 14 09:13:13 2004 UTC (8 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.211: +5 -31
lines
Diff to previous 1.211 (colored)
- centerize code to invalidate stale cache. - don't ignore errors when invalidating buffers in nfs_open.
Revision 1.211 / (download) - annotate - [select for diffs], Sun Oct 3 10:17:33 2004 UTC (8 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-base,
kent-audio1
Changes since 1.210: +12 -6
lines
Diff to previous 1.210 (colored)
nfs_readdirrpc, nfs_readdirplusrpc: don't expose kernel garbage data to userland.
Revision 1.210 / (download) - annotate - [select for diffs], Fri Oct 1 01:08:01 2004 UTC (8 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.209: +3 -3
lines
Diff to previous 1.209 (colored)
nfs_writerpc: fix PHOLD leak on error.
Revision 1.209 / (download) - annotate - [select for diffs], Thu Sep 23 10:46:44 2004 UTC (8 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.208: +3 -2
lines
Diff to previous 1.208 (colored)
nfs_readdirplusrpc: fix spurious EBUSYs.
Revision 1.208 / (download) - annotate - [select for diffs], Tue Jul 20 22:02:21 2004 UTC (8 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.207: +15 -11
lines
Diff to previous 1.207 (colored)
nfs_readdirplusrpc: fix a very long-standing cache corruption bug. in the case of !bigenough, don't fill d_type or dnlc with bogus data.
Revision 1.207 / (download) - annotate - [select for diffs], Tue Jul 20 22:00:29 2004 UTC (8 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.206: +3 -5
lines
Diff to previous 1.206 (colored)
revert nfs_vnops.c rev.1.189. it's no longer needed because cache_enter() has been changed to handle duplicated entries by itsself.
Revision 1.206 / (download) - annotate - [select for diffs], Sun Jul 18 07:41:42 2004 UTC (8 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.205: +3 -3
lines
Diff to previous 1.205 (colored)
nfs_commit: use NAC_NOTRUNC when loading an attribute as we're called holding pages locked.
Revision 1.205 / (download) - annotate - [select for diffs], Thu Jul 8 11:21:35 2004 UTC (8 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.204: +6 -4
lines
Diff to previous 1.204 (colored)
- include opt_inet.h for INET. - catchup to in_ifaddr -> in_ifaddrhead rename. XXX the address on the top of in_ifaddrhead is likely 127.0.0.1. using it to construct the verifier doesn't make much sense. maybe it's better to use some uuid or ip_randomid-like method.
Revision 1.204 / (download) - annotate - [select for diffs], Thu Jul 8 11:12:14 2004 UTC (8 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.203: +25 -3
lines
Diff to previous 1.203 (colored)
nfs_create: after an exclusive create rpc, make sure to update timestamps, which were likely used to store the verifier. reported by Mark Davies. PR/26200
Revision 1.203 / (download) - annotate - [select for diffs], Sun Jun 27 08:53:03 2004 UTC (8 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.202: +65 -42
lines
Diff to previous 1.202 (colored)
nfs_lookup: use cache_lookup_raw() so that: - "intrusive" dirops now have more chances to get benefits from dnlc. - fixes a deadlock due to vnode locking order inversion. nfs_create and others: purge stale dnlc entries as nfs_lookup() no longer does it automatically.
Revision 1.202 / (download) - annotate - [select for diffs], Wed Jun 16 23:55:30 2004 UTC (8 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.201: +5 -3
lines
Diff to previous 1.201 (colored)
nfs_lookup: maintain PDIRUNLOCK even in the case of success to make layered filesystems happy.
Revision 1.201 / (download) - annotate - [select for diffs], Thu May 27 12:55:07 2004 UTC (8 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.200: +2 -25
lines
Diff to previous 1.200 (colored)
remove an unused instance of VOP_UPDATE.
Revision 1.200 / (download) - annotate - [select for diffs], Sun May 23 05:53:01 2004 UTC (9 years ago) by christos
Branch: MAIN
Changes since 1.199: +157 -30
lines
Diff to previous 1.199 (colored)
cut down another 7K by more NFS_V2_ONLY ifdefs.
Revision 1.199 / (download) - annotate - [select for diffs], Mon May 17 12:17:18 2004 UTC (9 years ago) by yamt
Branch: MAIN
Changes since 1.198: +4 -2
lines
Diff to previous 1.198 (colored)
#if 0 out CREATE optimization for now because it has a problem in the case of O_CREAT|O_TRUNC, which is hard to be fixed without changing upper layer.
Revision 1.198 / (download) - annotate - [select for diffs], Mon May 10 12:43:51 2004 UTC (9 years ago) by yamt
Branch: MAIN
Changes since 1.197: +18 -2
lines
Diff to previous 1.197 (colored)
nfs_lookup: handle "." by ourselves as RFC1813 3.2 says.
Revision 1.197 / (download) - annotate - [select for diffs], Mon May 10 10:40:42 2004 UTC (9 years ago) by yamt
Branch: MAIN
Changes since 1.196: +32 -25
lines
Diff to previous 1.196 (colored)
don't do kludge for a reply to a retransmitted request unless we actually retransmitted the request.
Revision 1.196 / (download) - annotate - [select for diffs], Sat May 8 21:35:13 2004 UTC (9 years ago) by yamt
Branch: MAIN
Changes since 1.195: +4 -3
lines
Diff to previous 1.195 (colored)
nfs_lookup: avoid CREATE optimization for DOTDOT. creating a DOTDOT entry has no sense and will fail anyway.
Revision 1.195 / (download) - annotate - [select for diffs], Sat May 8 21:33:41 2004 UTC (9 years ago) by yamt
Branch: MAIN
Changes since 1.194: +9 -5
lines
Diff to previous 1.194 (colored)
nfs_mkdir: handle the "." case.
Revision 1.194 / (download) - annotate - [select for diffs], Sat May 8 21:32:34 2004 UTC (9 years ago) by yamt
Branch: MAIN
Changes since 1.193: +3 -2
lines
Diff to previous 1.193 (colored)
nfs_lookitup: handle "." correctly rather than returning garbage on the stack.
Revision 1.193 / (download) - annotate - [select for diffs], Fri May 7 16:09:46 2004 UTC (9 years ago) by yamt
Branch: MAIN
Changes since 1.192: +4 -3
lines
Diff to previous 1.192 (colored)
check read only mount appropriately. (fix a bug of nfs_vnops.c rev.1.192.) pointed by Rob Quinn on current-users@.
Revision 1.192 / (download) - annotate - [select for diffs], Thu May 6 21:58:17 2004 UTC (9 years ago) by yamt
Branch: MAIN
Changes since 1.191: +16 -2
lines
Diff to previous 1.191 (colored)
because nfsv3 has the same CREATE semantics as ours, we don't have to issue LOOKUP RPCs beforehand.
Revision 1.191 / (download) - annotate - [select for diffs], Mon Apr 5 10:44:09 2004 UTC (9 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.190: +4 -4
lines
Diff to previous 1.190 (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.190 / (download) - annotate - [select for diffs], Mon Apr 5 10:40:56 2004 UTC (9 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.189: +22 -3
lines
Diff to previous 1.189 (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.189 / (download) - annotate - [select for diffs], Mon Apr 5 10:36:32 2004 UTC (9 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.188: +5 -3
lines
Diff to previous 1.188 (colored)
nfs_readdirplusrpc: purge existing namecache entry before entering a new one. otherwise we'll get duplicated entries.
Revision 1.188 / (download) - annotate - [select for diffs], Mon Apr 5 10:35:12 2004 UTC (9 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.187: +30 -13
lines
Diff to previous 1.187 (colored)
when entering a namecache entry for nfs, ensure to update the appropriate timestamp in the nfsnode so that we don't get namecache-miss when looking up the node we just created.
Revision 1.187 / (download) - annotate - [select for diffs], Mon Apr 5 10:27:11 2004 UTC (9 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.186: +4 -5
lines
Diff to previous 1.186 (colored)
avoid unnecessary namecache purges in some places.
Revision 1.186 / (download) - annotate - [select for diffs], Fri Mar 12 16:52:37 2004 UTC (9 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.185: +8 -3
lines
Diff to previous 1.185 (colored)
shrink sizeof struct nfsnode by putting exclusive members into union.
Revision 1.185 / (download) - annotate - [select for diffs], Fri Mar 12 16:52:14 2004 UTC (9 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.184: +16 -16
lines
Diff to previous 1.184 (colored)
introduce a macro NFS_INVALIDATE_ATTRCACHE and use it instead of "n_attrstamp = 0".
Revision 1.184 / (download) - annotate - [select for diffs], Sun Dec 7 21:15:47 2003 UTC (9 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.183: +7 -16
lines
Diff to previous 1.183 (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.183 / (download) - annotate - [select for diffs], Sat Nov 29 19:27:57 2003 UTC (9 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.182: +3 -2
lines
Diff to previous 1.182 (colored)
pad requests correctly in the zerocopy case of write rpc.
Revision 1.182 / (download) - annotate - [select for diffs], Sat Oct 25 08:48:11 2003 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.181: +3 -3
lines
Diff to previous 1.181 (colored)
fix uninitialized variable
Revision 1.181 / (download) - annotate - [select for diffs], Fri Sep 26 14:08:45 2003 UTC (9 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.180: +8 -2
lines
Diff to previous 1.180 (colored)
do delayed truncation in nfs_getattr.
Revision 1.180 / (download) - annotate - [select for diffs], Fri Sep 26 11:51:53 2003 UTC (9 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.179: +6 -7
lines
Diff to previous 1.179 (colored)
change n_mtime from time_t to timespec in order to improve cache consistency. (1 second granularity is too loose these days.)
Revision 1.179 / (download) - annotate - [select for diffs], Thu Sep 25 23:10:58 2003 UTC (9 years, 8 months ago) by enami
Branch: MAIN
Changes since 1.178: +3 -3
lines
Diff to previous 1.178 (colored)
Make negative name cache works again.
Revision 1.178 / (download) - annotate - [select for diffs], Wed Sep 17 09:10:00 2003 UTC (9 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.177: +8 -7
lines
Diff to previous 1.177 (colored)
change nctime to timespec from time_t. there can be too many activities in a second.
Revision 1.177 / (download) - annotate - [select for diffs], Thu Aug 7 16:33:55 2003 UTC (9 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.176: +3 -7
lines
Diff to previous 1.176 (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.176 / (download) - annotate - [select for diffs], Wed Jul 30 12:25:39 2003 UTC (9 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.175: +6 -2
lines
Diff to previous 1.175 (colored)
vrecycle removed nfs vnodes. not perfect, but enough for most cases.
Revision 1.175 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:20 2003 UTC (9 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.174: +93 -93
lines
Diff to previous 1.174 (colored)
Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
Revision 1.174 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:19 2003 UTC (9 years, 10 months ago) by darrenr
Branch: MAIN
Changes since 1.173: +95 -95
lines
Diff to previous 1.173 (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.173 / (download) - annotate - [select for diffs], Fri Jun 27 14:00:55 2003 UTC (9 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.172: +44 -8
lines
Diff to previous 1.172 (colored)
if nfs_writerpc() splitted an unstable write into some rpcs and write verifier was changed, we should restart from the first.
Revision 1.172 / (download) - annotate - [select for diffs], Fri Jun 27 13:58:36 2003 UTC (9 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.171: +5 -4
lines
Diff to previous 1.171 (colored)
indent.
Revision 1.171 / (download) - annotate - [select for diffs], Tue Jun 3 14:27:48 2003 UTC (9 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.170: +47 -3
lines
Diff to previous 1.170 (colored)
fix a problem in 'protected' case of writerpc. retransmitted mbufs can survive even after requests themselves finished. so, before unbusy pages, make sure that mbufs referring them go away. pointed by enami tsugutomo on port-mips.
Revision 1.170 / (download) - annotate - [select for diffs], Tue May 27 14:41:06 2003 UTC (9 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.169: +11 -7
lines
Diff to previous 1.169 (colored)
fix a memory leak bug that i introduced in rev.1.167. patch provided by enami tsugutomo on current-users.
Revision 1.169 / (download) - annotate - [select for diffs], Mon May 26 13:34:38 2003 UTC (10 years ago) by yamt
Branch: MAIN
Changes since 1.168: +19 -4
lines
Diff to previous 1.168 (colored)
when a result of NFSv3 READLINK is too long for us, return ENAMETOOLONG rather than EBADRPC. (it's our implementation limit, not protocol limit.)
Revision 1.168 / (download) - annotate - [select for diffs], Wed May 21 13:50:55 2003 UTC (10 years ago) by yamt
Branch: MAIN
Changes since 1.167: +2 -6
lines
Diff to previous 1.167 (colored)
remove local definitions of TRUE and FALSE.
Revision 1.167 / (download) - annotate - [select for diffs], Wed May 21 13:27:20 2003 UTC (10 years ago) by yamt
Branch: MAIN
Changes since 1.166: +47 -5
lines
Diff to previous 1.166 (colored)
eliminate memcpy in the common and easy case of write.
Revision 1.166 / (download) - annotate - [select for diffs], Sat May 3 16:28:59 2003 UTC (10 years ago) by yamt
Branch: MAIN
Changes since 1.165: +30 -17
lines
Diff to previous 1.165 (colored)
better handling of write verifier change.
Revision 1.165 / (download) - annotate - [select for diffs], Thu Apr 24 21:21:06 2003 UTC (10 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.164: +86 -69
lines
Diff to previous 1.164 (colored)
Change some subordinate functions to take a "struct nfsnode" argument instead of "struct vnode". This saves a number of pointer dereferences; it sums up to about half a kB for me. And it paves the way for future fixes. While cleaning up, eliminate a write-only member of "struct nfsreq" and a pointless assignment in the NFS_V2_ONLY case.
Revision 1.164 / (download) - annotate - [select for diffs], Wed Apr 9 14:30:30 2003 UTC (10 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.163: +6 -6
lines
Diff to previous 1.163 (colored)
rename a very confusing variable name. (must_commit -> stalewriteverf)
Revision 1.163 / (download) - annotate - [select for diffs], Wed Apr 9 14:22:33 2003 UTC (10 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.162: +2 -4
lines
Diff to previous 1.162 (colored)
make per-iod datas together.
Revision 1.162 / (download) - annotate - [select for diffs], Wed Apr 9 14:21:24 2003 UTC (10 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.161: +7 -7
lines
Diff to previous 1.161 (colored)
rename nm_verf to nm_writeverf because it's confusing with nm_verf{str,len}.
Revision 1.161 / (download) - annotate - [select for diffs], Wed Apr 2 15:14:25 2003 UTC (10 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.160: +4 -4
lines
Diff to previous 1.160 (colored)
use queue manipulation macros.
Revision 1.160 / (download) - annotate - [select for diffs], Mon Mar 31 14:47:03 2003 UTC (10 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.159: +3 -3
lines
Diff to previous 1.159 (colored)
rename fvdl_debug to NFS_DEBUG_COMMIT. ok'ed by fvdl.
Revision 1.159 / (download) - annotate - [select for diffs], Wed Feb 26 06:31:20 2003 UTC (10 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.158: +22 -22
lines
Diff to previous 1.158 (colored)
Add MBUFTRACE kernel option. Do a little mbuf rework while here. Change all uses of MGET*(*, M_WAIT, *) to m_get*(M_WAIT, *). These are not performance critical and making them call m_get saves considerable space. Add m_clget analogue of MCLGET and make corresponding change for M_WAIT uses. Modify netinet, gem, fxp, tulip, nfs to support MBUFTRACE. Begin to change netstat to use sysctl.
Revision 1.158 / (download) - annotate - [select for diffs], Tue Feb 18 14:37:08 2003 UTC (10 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.157: +3 -3
lines
Diff to previous 1.157 (colored)
add missing dot in comment
Revision 1.157 / (download) - annotate - [select for diffs], Sun Dec 1 23:02:11 2002 UTC (10 years, 5 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.156: +3 -3
lines
Diff to previous 1.156 (colored)
Make sure these all agree on the same definitons of various variables.
Revision 1.156 / (download) - annotate - [select for diffs], Wed Oct 23 09:14:51 2002 UTC (10 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge
Changes since 1.155: +19 -2
lines
Diff to previous 1.155 (colored)
merge kqueue branch into -current kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2) based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
Revision 1.155 / (download) - annotate - [select for diffs], Tue Oct 22 10:10:28 2002 UTC (10 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: kqueue-beforemerge
Changes since 1.154: +9 -3
lines
Diff to previous 1.154 (colored)
fix panic introduced by my previous commit. for device special files, VOP_UNLOCK is called by nfs_loadattrcache with v_data == 0. reported and tested by Matthias Drochner.
Revision 1.154 / (download) - annotate - [select for diffs], Tue Oct 22 02:19:57 2002 UTC (10 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.153: +2 -4
lines
Diff to previous 1.153 (colored)
"nmp" in nfs_lookup() is set but not used, remove it.
Revision 1.153 / (download) - annotate - [select for diffs], Mon Oct 21 12:52:35 2002 UTC (10 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.152: +58 -41
lines
Diff to previous 1.152 (colored)
fix a page locking deadlock problem for nfs. add a flag that specify if the file can be truncated safely or not to nfsm_loadattr and friends. when it isn't safe, just mark the nfsnode as "should be truncated later". ok'ed by Frank van der Linden and Chuck Silvers. close kern/18036.
Revision 1.152 / (download) - annotate - [select for diffs], Fri Oct 18 19:08:15 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.151: +6 -3
lines
Diff to previous 1.151 (colored)
nfs_remove(): Don't vput() the vnode twice if vp == dvp, vrele() and vput() instead.
Revision 1.151 / (download) - annotate - [select for diffs], Sun May 19 20:51:04 2002 UTC (11 years ago) by tls
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
kqueue-base,
gehenna-devsw-base
Branch point for: netbsd-1-6
Changes since 1.150: +10 -8
lines
Diff to previous 1.150 (colored)
Fix client-side lockmgr: locking against myself panic immediately upon an attempt to NFS-mount a filesystem with the -l (use ReaddirPlus RPC) option. Fix from Bill Sommerfeld.
Revision 1.150 / (download) - annotate - [select for diffs], Sun May 12 23:04:37 2002 UTC (11 years ago) by matt
Branch: MAIN
Branch point for: gehenna-devsw
Changes since 1.149: +3 -3
lines
Diff to previous 1.149 (colored)
Eliminate commons
Revision 1.149 / (download) - annotate - [select for diffs], Thu Feb 28 21:38:08 2002 UTC (11 years, 2 months ago) by fvdl
Branch: MAIN
CVS Tags: newlock-base,
newlock,
ifpoll-base,
ifpoll,
eeh-devprop-base,
eeh-devprop
Changes since 1.148: +4 -3
lines
Diff to previous 1.148 (colored)
Invalidate the access cache when loading a new set of attributes into the atribute cache. Fixes access cache problem seen by Nathan Funk of the UofS, relayed by Greg Oster.
Revision 1.148 / (download) - annotate - [select for diffs], Sat Dec 15 00:32:49 2001 UTC (11 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.147: +6 -5
lines
Diff to previous 1.147 (colored)
Set np->n_size before calling nfs_vinvalbuf, to avoid recursion and confusion about the actual filesize. From Matt Dillon's similar change in FreeBSD. XXX n_size is really redundant in -current and must die. This commit XXX is more of a placeholder for a pullup into the 1.5 branch.
Revision 1.147 / (download) - annotate - [select for diffs], Sat Dec 8 04:10:00 2001 UTC (11 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.146: +8 -7
lines
Diff to previous 1.146 (colored)
- Implement uint32_t namei_hash(const char *p, const char **ep) which determines the equivalent MI hash32_str() hash for p. If *ep != NULL, calculate the hash to the character before ep. If *ep == NULL, calculate the has to the first / or NUL found, and point *ep to that location. - Use namei_hash() to calculate cn_hash in lookup() and relookup(). Hash distribution goes from 35-40% to 55-70%, with similar profiled time spent in cache_lookup() and cache_enter() on my P3-600. - Use namei_hash() to calculate cn_hash in nfs_readdirplusrpc(), insetad of homegrown code (that differed from that in lookup() !) namei_hash() has better spread and is faster than previous code (which used a non-constant multiplication).
Revision 1.146 / (download) - annotate - [select for diffs], Tue Dec 4 18:38:09 2001 UTC (11 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.145: +9 -4
lines
Diff to previous 1.145 (colored)
PR/14817: Gregory McGarry: NFS_V2_ONLY doesn't seem to work.
Revision 1.145 / (download) - annotate - [select for diffs], Fri Nov 30 07:08:53 2001 UTC (11 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.144: +4 -5
lines
Diff to previous 1.144 (colored)
call VOP_PUTPAGES() directly instead of indirecting through the UVM pager op vector.
Revision 1.144 / (download) - annotate - [select for diffs], Thu Nov 29 22:32:53 2001 UTC (11 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.143: +3 -3
lines
Diff to previous 1.143 (colored)
PR/14776: Emmanuel Dreyfus: cross device hard link causes panic. Call VOP_ABORTOP on the right vnode damnit!
Revision 1.143 / (download) - annotate - [select for diffs], Sat Nov 10 10:59:10 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.142: +4 -1
lines
Diff to previous 1.142 (colored)
add RCSIDs
Revision 1.142 / (download) - annotate - [select for diffs], Wed Nov 7 20:04:52 2001 UTC (11 years, 6 months ago) by bjh21
Branch: MAIN
Changes since 1.141: +2 -2
lines
Diff to previous 1.141 (colored)
Diagnostic panics should be enabled when DIAGNOSTIC is defined, not undefined.
Revision 1.141 / (download) - annotate - [select for diffs], Sat Oct 13 23:25:58 2001 UTC (11 years, 7 months ago) by simonb
Branch: MAIN
Branch point for: thorpej-mips-cache
Changes since 1.140: +1 -3
lines
Diff to previous 1.140 (colored)
Remove so variables that are only ever set and never referenced.
Revision 1.140 / (download) - annotate - [select for diffs], Sat Sep 22 22:35:19 2001 UTC (11 years, 8 months ago) by sommerfeld
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2
Changes since 1.139: +2 -1
lines
Diff to previous 1.139 (colored)
Add fifo_putpages() placebo so that the vnode's uobj is unlocked.
Revision 1.139 / (download) - annotate - [select for diffs], Thu Sep 20 08:22:04 2001 UTC (11 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.138: +3 -2
lines
Diff to previous 1.138 (colored)
fix nfs_bmap() so that it works for both genfs_{get,put}pages() and swap/vnd.
Revision 1.138 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:40 2001 UTC (11 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: post-chs-ubcperf
Changes since 1.137: +7 -15
lines
Diff to previous 1.137 (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.137 / (download) - annotate - [select for diffs], Fri Aug 17 05:54:36 2001 UTC (11 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base,
pre-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.136: +4 -1
lines
Diff to previous 1.136 (colored)
add getpages/putpages entries for spec vnodes.
Revision 1.136 / (download) - annotate - [select for diffs], Tue Aug 14 05:31:55 2001 UTC (11 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.135: +2 -3
lines
Diff to previous 1.135 (colored)
don't panic on mknod(2) over NFS. PR 13705.
Revision 1.135 / (download) - annotate - [select for diffs], Tue Jul 24 15:39:33 2001 UTC (11 years, 10 months ago) by assar
Branch: MAIN
Changes since 1.134: +21 -10
lines
Diff to previous 1.134 (colored)
change vop_symlink and vop_mknod to return vpp (the created node) refed, so that the caller can actually use it. update callers and file systems that implement these vnode operations
Revision 1.134 / (download) - annotate - [select for diffs], Thu Jun 7 01:04:40 2001 UTC (11 years, 11 months ago) by lukem
Branch: MAIN
Branch point for: kqueue
Changes since 1.133: +20 -10
lines
Diff to previous 1.133 (colored)
delint lvalue cast abuse
Revision 1.133 / (download) - annotate - [select for diffs], Mon May 28 02:50:53 2001 UTC (11 years, 11 months ago) by chs
Branch: MAIN
Changes since 1.132: +1 -23
lines
Diff to previous 1.132 (colored)
add a genfs_mmap() and change all of the disk-based filesystems to implement VOP_MMAP() with the genfs version, in preparation for actually using this VOP.
Revision 1.132 / (download) - annotate - [select for diffs], Mon May 14 18:51:33 2001 UTC (12 years ago) by fvdl
Branch: MAIN
Changes since 1.131: +11 -1
lines
Diff to previous 1.131 (colored)
Lock vp in nfs_link while we're busy with it (doing VOP_FSYNC, etc).
Revision 1.131 / (download) - annotate - [select for diffs], Fri Apr 20 11:22:02 2001 UTC (12 years, 1 month ago) by fvdl
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Changes since 1.130: +11 -8
lines
Diff to previous 1.130 (colored)
Don't forget to unlock the vnode returned by cache_lookup if the subsequent access check fails. Don't overwrite the error code returned by cache_lookup. Remove a piece of redundant code. Should fix kern/12680.
Revision 1.130 / (download) - annotate - [select for diffs], Sun Feb 11 01:09:04 2001 UTC (12 years, 3 months ago) by enami
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.129: +2 -2
lines
Diff to previous 1.129 (colored)
Unlock the rename target vnode after sillyrename'ing it.
Revision 1.129 / (download) - annotate - [select for diffs], Tue Feb 6 15:26:25 2001 UTC (12 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.128: +4 -21
lines
Diff to previous 1.128 (colored)
Get locking in rmdir right. Don't unlock a vnode when passing its associated nfsnode to nfs_lookitup, it is not needed, and fixes nfs_remove.
Revision 1.128 / (download) - annotate - [select for diffs], Tue Feb 6 11:40:02 2001 UTC (12 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.127: +142 -46
lines
Diff to previous 1.127 (colored)
Do actual vnode locking for NFS.
Revision 1.127 / (download) - annotate - [select for diffs], Mon Jan 22 12:17:42 2001 UTC (12 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.126: +7 -7
lines
Diff to previous 1.126 (colored)
make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const
Revision 1.126 / (download) - annotate - [select for diffs], Tue Dec 12 17:13:17 2000 UTC (12 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.125: +10 -3
lines
Diff to previous 1.125 (colored)
initialize read creds in nfs_open() too.
Revision 1.125 / (download) - annotate - [select for diffs], Thu Nov 30 07:24:12 2000 UTC (12 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.124: +18 -1
lines
Diff to previous 1.124 (colored)
in nfs_open(), initialize the write creds if we're opening for writing. otherwise we would never set them if we only modify the file via mmap().
Revision 1.124 / (download) - annotate - [select for diffs], Mon Nov 27 08:39:51 2000 UTC (12 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.123: +40 -131
lines
Diff to previous 1.123 (colored)
Initial integration of the Unified Buffer Cache project.
Revision 1.123 / (download) - annotate - [select for diffs], Wed Nov 8 05:20:32 2000 UTC (12 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.122: +2 -2
lines
Diff to previous 1.122 (colored)
in nfs_flush(), only play games with B_NOCACHE for VREG vnodes. if we do this for VBLK vnodes which are in use by softdep mounts, brelse() will mark the buffer B_INVAL as well, which makes the softdep code very unhappy.
Revision 1.122 / (download) - annotate - [select for diffs], Mon Oct 2 04:28:13 2000 UTC (12 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.121: +5 -1
lines
Diff to previous 1.121 (colored)
check in_ifaddr only if INET is compiled
Revision 1.121 / (download) - annotate - [select for diffs], Tue Sep 19 23:26:26 2000 UTC (12 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.120: +5 -2
lines
Diff to previous 1.120 (colored)
Extend NFS_V2_ONLY to remove NQNFS lease support as well. Saves another 10k.
Revision 1.120 / (download) - annotate - [select for diffs], Tue Sep 19 22:18:03 2000 UTC (12 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.119: +67 -225
lines
Diff to previous 1.119 (colored)
Update for VOP_FSYNC parameter change. Simplify nfs_flush.
Revision 1.119 / (download) - annotate - [select for diffs], Tue Sep 19 17:04:51 2000 UTC (12 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.118: +22 -18
lines
Diff to previous 1.118 (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.118 / (download) - annotate - [select for diffs], Tue Sep 19 00:00:18 2000 UTC (12 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.117: +14 -6
lines
Diff to previous 1.117 (colored)
Fix bug in access cache that might result in permission being denied needlessly. From Matthias Drochner.
Revision 1.117 / (download) - annotate - [select for diffs], Thu Aug 3 20:41:33 2000 UTC (12 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.116: +9 -9
lines
Diff to previous 1.116 (colored)
Convert namei pathname buffer allocation to use the pool allocator.
Revision 1.116 / (download) - annotate - [select for diffs], Thu Aug 3 06:15:06 2000 UTC (12 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.115: +2 -3
lines
Diff to previous 1.115 (colored)
MALLOC()/FREE() are not to be used for variable size allocations.
Revision 1.115 / (download) - annotate - [select for diffs], Sat Jul 22 15:26:14 2000 UTC (12 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.114: +2 -3
lines
Diff to previous 1.114 (colored)
change the lf_advlock() arguments from
int lf_advlock __P((struct lockf **,
off_t, caddr_t, int, struct flock *, int));
to
int lf_advlock __P((struct vop_advlock_args *, struct lockf **, off_t));
This matches common usage and is also compatible with similar change
in FreeBSD (though they use u_quad_t as last arg).
Revision 1.114 / (download) - annotate - [select for diffs], Tue Jun 27 17:52:36 2000 UTC (12 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.113: +1 -3
lines
Diff to previous 1.113 (colored)
remove include of <vm/vm.h>
Revision 1.113 / (download) - annotate - [select for diffs], Fri May 26 08:36:48 2000 UTC (13 years ago) by enami
Branch: MAIN
CVS Tags: netbsd-1-5-base,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.112: +7 -5
lines
Diff to previous 1.112 (colored)
- Try to commit another buffer even if previous commit failed except the case that write verf is changed. Suggested by mycroft@netbsd.org. - Reset wcred to NULL (i.e., write credential isn't decieded) everytime before gathering buffer for new commit, so that there is a chance to the commit request is merged.
Revision 1.112 / (download) - annotate - [select for diffs], Thu May 25 23:28:44 2000 UTC (13 years ago) by enami
Branch: MAIN
Changes since 1.111: +11 -2
lines
Diff to previous 1.111 (colored)
In nfs_flush, if the previous commit succeeded and we may have more uncommitted dirty buffer, attempt to commit them.
Revision 1.111 / (download) - annotate - [select for diffs], Thu Mar 30 13:44:53 2000 UTC (13 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.110: +86 -86
lines
Diff to previous 1.110 (colored)
Remove more register declarations.
Revision 1.110 / (download) - annotate - [select for diffs], Thu Mar 30 12:51:17 2000 UTC (13 years, 1 month ago) by augustss
Branch: MAIN
Changes since 1.109: +59 -59
lines
Diff to previous 1.109 (colored)
Remove register declarations.
Revision 1.109 / (download) - annotate - [select for diffs], Thu Mar 30 02:45:19 2000 UTC (13 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.108: +1 -5
lines
Diff to previous 1.108 (colored)
Delete redundant decls of fifo_vnodeop_p - it's in <miscfs/fifofs/fifo.h>. Don't need <sys/conf.h> here.
Revision 1.108 / (download) - annotate - [select for diffs], Mon Nov 29 23:34:00 1999 UTC (13 years, 5 months ago) by fvdl
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
chs-ubc2-newbase
Changes since 1.107: +51 -9
lines
Diff to previous 1.107 (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.107 / (download) - annotate - [select for diffs], Mon Nov 15 18:49:12 1999 UTC (13 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.106: +12 -2
lines
Diff to previous 1.106 (colored)
Add Kirk McKusick's soft updates code to the trunk. Not enabled by default, as the copyright on the main file (ffs_softdep.c) is such that is has been put into gnusrc. options SOFTDEP will pull this in. This code also contains the trickle syncer. Bump version number to 1.4O
Revision 1.106 / (download) - annotate - [select for diffs], Sun Sep 5 14:28:26 1999 UTC (13 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: fvdl-softdep-base,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Changes since 1.105: +28 -28
lines
Diff to previous 1.105 (colored)
Adapt to cache_lookup() changes. XXX I had no chance to actually test the changes for nfs, but hopefully I got it right. Tested by: jdolecek Rewieved by: wrstuden
Revision 1.105 / (download) - annotate - [select for diffs], Tue Aug 3 20:19:20 1999 UTC (13 years, 9 months ago) by wrstuden
Branch: MAIN
Changes since 1.104: +4 -1
lines
Diff to previous 1.104 (colored)
Add support for fcntl(2) to generate VOP_FCNTL calls. Any fcntl call with F_FSCTL set and F_SETFL calls generate calls to a new fileop fo_fcntl. Add genfs_fcntl() and soo_fcntl() which return 0 for F_SETFL and EOPNOTSUPP otherwise. Have all leaf filesystems use genfs_fcntl(). Reviewed by: thorpej Tested by: wrstuden
Revision 1.104 / (download) - annotate - [select for diffs], Mon Aug 2 18:58:23 1999 UTC (13 years, 9 months ago) by wrstuden
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.103: +8 -1
lines
Diff to previous 1.103 (colored)
Teach nfs_lookup() to set PDIRUNLOCK when appropriate. Should resolve PR 8051 by Konrad Schroder.
Revision 1.103 / (download) - annotate - [select for diffs], Thu Jul 29 17:01:21 1999 UTC (13 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.102: +3 -2
lines
Diff to previous 1.102 (colored)
In nfs_create(), make sure error is reset to 0 if we restart the operation.
Revision 1.102 / (download) - annotate - [select for diffs], Thu Jul 8 22:53:08 1999 UTC (13 years, 10 months ago) by wrstuden
Branch: MAIN
Changes since 1.101: +4 -2
lines
Diff to previous 1.101 (colored)
Teach nfs_lookup to clear PDIRUNLOCK.
Revision 1.101 / (download) - annotate - [select for diffs], Sat May 29 01:22:03 1999 UTC (13 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.100: +16 -83
lines
Diff to previous 1.100 (colored)
Be more correct with attribute structures for setattr RPCs and friends, so that picky servers (e.g. Solaris 7) don't refuse our requests. Move some code into a macro, and a bit of KNF. From OpenBSD.
Revision 1.100 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:29 1999 UTC (14 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
kame_14_19990705,
kame_14_19990628
Branch point for: netbsd-1-4,
kame,
chs-ubc2
Changes since 1.99: +1 -29
lines
Diff to previous 1.99 (colored)
completely remove Mach VM support. all that is left is the all the header files as UVM still uses (most of) these.
Revision 1.99 / (download) - annotate - [select for diffs], Mon Mar 22 19:21:09 1999 UTC (14 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.98: +19 -1
lines
Diff to previous 1.98 (colored)
Add _PC_FILESIZEBITS to pathconf vnop.
Revision 1.98 / (download) - annotate - [select for diffs], Sat Mar 6 05:34:42 1999 UTC (14 years, 2 months ago) by fair
Branch: MAIN
Changes since 1.97: +7 -7
lines
Diff to previous 1.97 (colored)
Snatch a patch from OpenBSD to fix PRs 6529 and 7074. Adjust fxdr_hyper() and txdr_hyper() macros.
Revision 1.97 / (download) - annotate - [select for diffs], Sun Aug 9 21:19:52 1998 UTC (14 years, 9 months ago) by perry
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base
Branch point for: chs-ubc
Changes since 1.96: +10 -10
lines
Diff to previous 1.96 (colored)
bzero->memset, bcopy->memcpy, bcmp->memcmp
Revision 1.96 / (download) - annotate - [select for diffs], Sat Aug 8 11:39:20 1998 UTC (14 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.95: +2 -7
lines
Diff to previous 1.95 (colored)
Pathconf: for V2 mounts, revert back to failing with EINVAL if an RPC would be necessary to obtain the information, as this fits the pathconf semantics of `no association supported' better than `no limit available.'
Revision 1.95 / (download) - annotate - [select for diffs], Fri Aug 7 11:02:39 1998 UTC (14 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.94: +69 -6
lines
Diff to previous 1.94 (colored)
Add client pathconf support.
Revision 1.94 / (download) - annotate - [select for diffs], Wed Jun 24 20:58:47 1998 UTC (14 years, 11 months ago) by sommerfe
Branch: MAIN
CVS Tags: eeh-paddr_t-base,
eeh-paddr_t
Changes since 1.93: +1 -8
lines
Diff to previous 1.93 (colored)
Always include fifos; "not an option any more".
Revision 1.93 / (download) - annotate - [select for diffs], Mon Jun 22 22:01:07 1998 UTC (14 years, 11 months ago) by sommerfe
Branch: MAIN
Changes since 1.92: +2 -1
lines
Diff to previous 1.92 (colored)
defopt for options FIFO
Revision 1.92 / (download) - annotate - [select for diffs], Fri Jun 5 19:53:02 1998 UTC (14 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.91: +5 -4
lines
Diff to previous 1.91 (colored)
Convert fsync vnode operator implementations and usage from the old `waitfor' argument and MNT_WAIT/MNT_NOWAIT to `flags' and FSYNC_WAIT.
Revision 1.91 / (download) - annotate - [select for diffs], Fri May 8 18:26:55 1998 UTC (15 years ago) by kleink
Branch: MAIN
Changes since 1.90: +17 -13
lines
Diff to previous 1.90 (colored)
Fix some arithmetics lossage on typeless pointers.
Revision 1.90 / (download) - annotate - [select for diffs], Tue Mar 3 00:17:04 1998 UTC (15 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.89: +15 -11
lines
Diff to previous 1.89 (colored)
Fix cookie handling I messed up totally when doing the Lite2 thing. (Hello McFly? Anybody home?)
Revision 1.89 / (download) - annotate - [select for diffs], Sun Mar 1 02:24:29 1998 UTC (15 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.88: +20 -25
lines
Diff to previous 1.88 (colored)
Merge with Lite2 + local changes
Revision 1.88 / (download) - annotate - [select for diffs], Tue Feb 10 14:10:19 1998 UTC (15 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.87: +2 -1
lines
Diff to previous 1.87 (colored)
- add defopt's for UVM, UVMHIST and PMAP_NEW. - remove unnecessary UVMHIST_DECL's.
Revision 1.87 / (download) - annotate - [select for diffs], Thu Feb 5 08:00:26 1998 UTC (15 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.86: +29 -1
lines
Diff to previous 1.86 (colored)
initial import of the new virtual memory system, UVM, into -current. UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some minor portions derived from the old Mach code. i provided some help getting swap and paging working, and other bug fixes/ideas. chuck silvers <chuq@chuq.com> also provided some other fixes. this is the rest of the MI portion changes. this will be KNF'd shortly. :-)
Revision 1.86 / (download) - annotate - [select for diffs], Mon Oct 20 22:08:44 1997 UTC (15 years, 7 months ago) by thorpej
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.85: +17 -11
lines
Diff to previous 1.85 (colored)
Fix alignment problems. From Frank van der Linden <fvdl@NetBSD.ORG>.
Revision 1.85 / (download) - annotate - [select for diffs], Sun Oct 19 01:46:47 1997 UTC (15 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.84: +34 -37
lines
Diff to previous 1.84 (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.84 / (download) - annotate - [select for diffs], Fri Oct 17 00:00:41 1997 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.83: +4 -4
lines
Diff to previous 1.83 (colored)
u_short -> mode_t
Revision 1.83 / (download) - annotate - [select for diffs], Mon Oct 13 08:35:53 1997 UTC (15 years, 7 months ago) by fvdl
Branch: MAIN
CVS Tags: marc-pcmcia-base
Changes since 1.82: +3 -7
lines
Diff to previous 1.82 (colored)
Get rid of some MARKCACHED calls I thought better of. Make sure d_reclen is aligned for off_t access, or things will break on the Alpha.
Revision 1.82 / (download) - annotate - [select for diffs], Sun Oct 12 23:13:35 1997 UTC (15 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.81: +24 -3
lines
Diff to previous 1.81 (colored)
Do negative lookup caching. Use a timestamp of the oldest negative cache entry, so it can be checked against directory modification time for validity.
Revision 1.81 / (download) - annotate - [select for diffs], Fri Oct 10 01:53:30 1997 UTC (15 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.80: +104 -86
lines
Diff to previous 1.80 (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.80 / (download) - annotate - [select for diffs], Thu Jul 17 23:54:32 1997 UTC (15 years, 10 months ago) by fvdl
Branch: MAIN
CVS Tags: thorpej-signal-base,
thorpej-signal,
marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.79: +6 -3
lines
Diff to previous 1.79 (colored)
* Deal with servers that don't give complete FSINFO (like NT) From Olaf Seibert <rhialto@polder.ubc.kun.nl> (PR 3687) * Make an attempt to check the maximum filesize before attempting a write to the server, as write RPCs will typically happen asynchronously, and the process will not see the error. Fixes problems with unexpectly truncated files at 4G * Pass up errors in nfs_writerpc correctly
Revision 1.79 / (download) - annotate - [select for diffs], Mon Jul 14 20:46:23 1997 UTC (15 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.78: +22 -29
lines
Diff to previous 1.78 (colored)
Don't assume that pointers into mbuf data remain valid across nfsm_dissect. In readdirplus, don't keep such pointers but store the file attributes in a variable instead until they are needed. Change nfsm_loadattr* a bit so it can accept a direct pointer to an nfs_fattr structure.
Revision 1.78 / (download) - annotate - [select for diffs], Fri Jul 4 20:22:12 1997 UTC (15 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.77: +4 -4
lines
Diff to previous 1.77 (colored)
Don't cast 64bit (off_t) file sizes to vm_offset_t (32bit on many architectures), truncate them intelligently instead. The truncation is done centralized in vnode_pager.c. This prevents from wrap-over effects when parts of large (>2^32 byte) files are mmapped. Don't allow to mmap above the numerical range of vm_offset_t. This is considered a temporary solution until the vm system handles the object sizes/offsets more cleanly.
Revision 1.77 / (download) - annotate - [select for diffs], Mon Jun 30 20:23:56 1997 UTC (15 years, 10 months ago) by fvdl
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.76: +4 -2
lines
Diff to previous 1.76 (colored)
Immediately return EPERM for a VOP_REMOVE on a directory.
Revision 1.76 / (download) - annotate - [select for diffs], Mon May 12 23:42:11 1997 UTC (16 years ago) by fvdl
Branch: MAIN
Changes since 1.75: +2 -2
lines
Diff to previous 1.75 (colored)
clear B_AGE for non-flush writes, buffers seem to be reused too quickly, disturbing NFS performance (XXXX needs further analysis and a _real_ fix)
Revision 1.75 / (download) - annotate - [select for diffs], Thu May 8 17:17:29 1997 UTC (16 years ago) by mycroft
Branch: MAIN
Changes since 1.74: +2 -1
lines
Diff to previous 1.74 (colored)
Need stat.h.
Revision 1.74 / (download) - annotate - [select for diffs], Thu May 8 16:20:38 1997 UTC (16 years ago) by mycroft
Branch: MAIN
Changes since 1.73: +10 -10
lines
Diff to previous 1.73 (colored)
Pass the vnode type to vaccess(), and use it when checking VEXEC. Make sure that the mode bits passed to vaccess() and returned by foo_getattr() contain only permission bits.
Revision 1.73 / (download) - annotate - [select for diffs], Thu May 8 10:57:44 1997 UTC (16 years ago) by mycroft
Branch: MAIN
Changes since 1.72: +2 -2
lines
Diff to previous 1.72 (colored)
VEXEC -> VLOOKUP, as appropriate.
Revision 1.72 / (download) - annotate - [select for diffs], Wed Mar 5 02:08:06 1997 UTC (16 years, 2 months ago) by mycroft
Branch: MAIN
CVS Tags: is-newarp-before-merge
Changes since 1.71: +3 -3
lines
Diff to previous 1.71 (colored)
In nfs_link(), check for a cross-device mount *before* looking in the v_data field.
Revision 1.71 / (download) - annotate - [select for diffs], Sat Feb 22 03:08:47 1997 UTC (16 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.70: +37 -30
lines
Diff to previous 1.70 (colored)
Fixes from BSDI (thanks go to Keith Bostic). Original RCS messages: date: 1996/07/23 17:14:46; author: donn; state: Exp; lines: +6 -4 Be sure to push out the last page of the file before truncating it. date: 1996/10/14 22:41:20; author: donn; state: Exp; lines: +2 -2 From Chris: Nfs_link() called vput() on the wrong vnode when aborting from a cross-device link, which could (and did) lead to crashes. date: 1996/10/24 16:43:43; author: pjd; state: Exp; lines: +6 -2 Return EOPNOTSUPP when trying to do a setattr with flags. === Also (from BSDI too, but the RCS message did not quite describe the change to this particular file well): move the EROFS a bit further down to let VOP_ACCESS do it's work and return an 'expected' error value to a possible layered filesystem.
Revision 1.70 / (download) - annotate - [select for diffs], Sun Feb 9 21:19:06 1997 UTC (16 years, 3 months ago) by fvdl
Branch: MAIN
CVS Tags: mrg-vm-swap
Changes since 1.69: +2 -2
lines
Diff to previous 1.69 (colored)
* Fix some bugs in NQNFS (malformed RPC requests, no directory lease eviction) * Avoid possible NULL ptr ref in nfs_reply * Don't ever try to sillyrename directories (from FreeBSD)
Revision 1.69 / (download) - annotate - [select for diffs], Mon Dec 2 22:55:45 1996 UTC (16 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-setroot,
is-newarp-base
Branch point for: is-newarp
Changes since 1.68: +2 -1
lines
Diff to previous 1.68 (colored)
NFS performance improvement from Doug Rabson/FreeBSD: Improve the queuing algorithms used by NFS' asynchronous i/o. The existing mechanism uses a global queue for some buffers and the vp->b_dirtyblkhd queue for others. This turns sequential writes into randomly ordered writes to the server, affecting both read and write performance. The existing mechanism also copes badly with hung servers, tending to block accesses to other servers when all the iods are waiting for a hung server. The new mechanism uses a queue for each mount point. All asynchronous i/o goes through this queue which preserves the ordering of requests. A simple mechanism ensures that the iods are shared out fairly between active mount points. Reviewed/integrated/approved by Frank van der Linden <fvdl@netbsd.org>
Revision 1.68 / (download) - annotate - [select for diffs], Fri Oct 25 23:14:12 1996 UTC (16 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.67: +9 -8
lines
Diff to previous 1.67 (colored)
make the namei struct members ni_dirp and ni_next, and the componentname struct member cn_nameptr 'const', since they should never be used to modify the path name. (Only the pathname buffer, cn_pnbuf, should be modified.) Propagate the const poisoning to code that uses the namei and componentname structs.
Revision 1.67 / (download) - annotate - [select for diffs], Sun Oct 13 01:39:11 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.66: +7 -7
lines
Diff to previous 1.66 (colored)
revert kprintf changes
Revision 1.66 / (download) - annotate - [select for diffs], Thu Oct 10 23:31:26 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.65: +8 -8
lines
Diff to previous 1.65 (colored)
printf -> kprintf, sprintf -> ksprintf
Revision 1.65 / (download) - annotate - [select for diffs], Sat Sep 7 12:41:29 1996 UTC (16 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.64: +4 -4
lines
Diff to previous 1.64 (colored)
Implement poll(2).
Revision 1.64 / (download) - annotate - [select for diffs], Sun Sep 1 23:49:10 1996 UTC (16 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.63: +130 -188
lines
Diff to previous 1.63 (colored)
Add a set of generic file system operations that most file systems use. Also, fix some time stamp bogosities.
Revision 1.63 / (download) - annotate - [select for diffs], Sun Jul 7 12:25:47 1996 UTC (16 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.62: +2 -2
lines
Diff to previous 1.62 (colored)
Use the right time for v3 setattr operation.
Revision 1.62 / (download) - annotate - [select for diffs], Sat May 11 18:26:49 1996 UTC (17 years ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-2-base,
netbsd-1-2-BETA
Branch point for: netbsd-1-2
Changes since 1.61: +3 -3
lines
Diff to previous 1.61 (colored)
Change VOP_UPDATE() semantics: * Make 2nd and 3rd args timespecs, not timevals. * Consistently pass a Boolean as the 4th arg (except in LFS). Also, fix ffs_update() and lfs_update() to actually change the nsec fields.
Revision 1.61 / (download) - annotate - [select for diffs], Wed Apr 3 23:25:42 1996 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.60: +7 -1
lines
Diff to previous 1.60 (colored)
Make these link in the absense of "options FIFO".
Revision 1.60 / (download) - annotate - [select for diffs], Tue Mar 5 05:30:09 1996 UTC (17 years, 2 months ago) by jtk
Branch: MAIN
Changes since 1.59: +2 -2
lines
Diff to previous 1.59 (colored)
fix panic "leaf should be empty" on diagnostic kernels when unlinking on a read-only file system.
Revision 1.59 / (download) - annotate - [select for diffs], Sun Feb 18 11:53:58 1996 UTC (17 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.58: +1538 -819
lines
Diff to previous 1.58 (colored)
Bring in a merge of Rick Macklem's NFSv3 code from Lite2
Revision 1.58 / (download) - annotate - [select for diffs], Fri Feb 9 21:48:41 1996 UTC (17 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.57: +197 -142
lines
Diff to previous 1.57 (colored)
nfs prototype changes
Revision 1.57 / (download) - annotate - [select for diffs], Fri Feb 9 14:46:03 1996 UTC (17 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.56: +15 -15
lines
Diff to previous 1.56 (colored)
Fix vop_link, vop_symlink, and vop_remove semantics in several ways: * Change the argument names to vop_link so they actually make sense. * Implement vop_link and vop_symlink for all file systems, so they do proper cleanup. * Require the file system to decide whether or not linking and unlinking of directories is allowed, and disable it for all current file systems.
Revision 1.56 / (download) - annotate - [select for diffs], Thu Feb 1 00:41:19 1996 UTC (17 years, 3 months ago) by jtc
Branch: MAIN
Changes since 1.55: +20 -20
lines
Diff to previous 1.55 (colored)
Rename struct timespec fields to conform to POSIX.1b
Revision 1.55 / (download) - annotate - [select for diffs], Wed Jan 31 05:13:33 1996 UTC (17 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.54: +10 -27
lines
Diff to previous 1.54 (colored)
Don't specify a uid or gid in create operations; let the server fill it in.
Revision 1.54 / (download) - annotate - [select for diffs], Wed Jan 31 04:24:35 1996 UTC (17 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.53: +11 -11
lines
Diff to previous 1.53 (colored)
Correct some uses of -1 and VNOVAL.
Revision 1.53 / (download) - annotate - [select for diffs], Tue Dec 19 23:07:54 1995 UTC (17 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.52: +67 -67
lines
Diff to previous 1.52 (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.52 / (download) - annotate - [select for diffs], Sat Oct 14 00:56:07 1995 UTC (17 years, 7 months ago) by ghudson
Branch: MAIN
Changes since 1.51: +35 -8
lines
Diff to previous 1.51 (colored)
Add cookie support. Stash cookies in the word prior to the end of each entry, and read them out in nfs_readdir(). Caveat: our current caching method for directory blocks uses the server offset of the first directory entry as an identifier, so a Linux emulation getdirentries() will wind up retrieving one block from the NFS server for each directory entry, unnecessarily thrashing the cache. The situation isn't as bad for other emulations. Instead of getblk(), we need to write a routine to scan each cache block associated with vp to find a cookie that matches at some directory entry. Some later time.
Revision 1.51 / (download) - annotate - [select for diffs], Mon Oct 9 11:25:30 1995 UTC (17 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base
Branch point for: netbsd-1-1
Changes since 1.50: +4 -4
lines
Diff to previous 1.50 (colored)
For now, return EINVAL if the client needs cookies.
Revision 1.50 / (download) - annotate - [select for diffs], Sat Mar 18 05:56:32 1995 UTC (18 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.49: +10 -4
lines
Diff to previous 1.49 (colored)
Initialize fields in the RPC data where we were sending garbage.
Revision 1.49 / (download) - annotate - [select for diffs], Tue Jan 10 06:50:07 1995 UTC (18 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.48: +5 -2
lines
Diff to previous 1.48 (colored)
Make sure readdir requests are only truncated on block boundaries.
Revision 1.48 / (download) - annotate - [select for diffs], Thu Dec 29 22:21:37 1994 UTC (18 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.47: +3 -3
lines
Diff to previous 1.47 (colored)
Minor consistency nits.
Revision 1.47 / (download) - annotate - [select for diffs], Thu Dec 29 22:16:19 1994 UTC (18 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.46: +7 -16
lines
Diff to previous 1.46 (colored)
Remove a bit of redundant code.
Revision 1.46 / (download) - annotate - [select for diffs], Tue Dec 27 19:13:21 1994 UTC (18 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.45: +6 -7
lines
Diff to previous 1.45 (colored)
Format police.
Revision 1.45 / (download) - annotate - [select for diffs], Tue Dec 27 19:00:20 1994 UTC (18 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.44: +3 -3
lines
Diff to previous 1.44 (colored)
Fix typos in last change.
Revision 1.44 / (download) - annotate - [select for diffs], Sat Dec 24 16:44:33 1994 UTC (18 years, 5 months ago) by ws
Branch: MAIN
Changes since 1.43: +3 -27
lines
Diff to previous 1.43 (colored)
Implement and use a common access checking routine
Revision 1.43 / (download) - annotate - [select for diffs], Tue Dec 13 20:15:47 1994 UTC (18 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.42: +5 -2
lines
Diff to previous 1.42 (colored)
Turn lease_check() into a vnode op, per CSRG.
Revision 1.42 / (download) - annotate - [select for diffs], Tue Dec 13 16:18:48 1994 UTC (18 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.41: +2 -7
lines
Diff to previous 1.41 (colored)
Remove an old `#ifdef notyet'.
Revision 1.41 / (download) - annotate - [select for diffs], Thu Oct 20 04:28:13 1994 UTC (18 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.40: +2 -2
lines
Diff to previous 1.40 (colored)
update for new syscall args description mechanism
Revision 1.40 / (download) - annotate - [select for diffs], Tue Aug 30 19:42:22 1994 UTC (18 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.39: +3 -0
lines
Diff to previous 1.39 (colored)
mknod() must release its new vnode.
Revision 1.39 / (download) - annotate - [select for diffs], Sun Aug 21 15:10:44 1994 UTC (18 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.38: +3 -1
lines
Diff to previous 1.38 (colored)
Don't attempt to use IO_APPEND for NQNFS, as suggested by Rick Macklem.
Revision 1.38 / (download) - annotate - [select for diffs], Sat Aug 13 08:46:53 1994 UTC (18 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.37: +12 -0
lines
Diff to previous 1.37 (colored)
Files with > 1 links can always be removed on the server, even if a "silly name" exists.
Revision 1.37 / (download) - annotate - [select for diffs], Mon Aug 8 19:29:29 1994 UTC (18 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.36: +1 -2
lines
Diff to previous 1.36 (colored)
delete unused extern decl
Revision 1.36 / (download) - annotate - [select for diffs], Tue Jul 12 19:46:36 1994 UTC (18 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.35: +9 -2
lines
Diff to previous 1.35 (colored)
Bug fix from Rick Macklem for a problem with linking to an open file.
Revision 1.35 / (download) - annotate - [select for diffs], Sun Jul 3 09:22:37 1994 UTC (18 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.34: +29 -15
lines
Diff to previous 1.34 (colored)
Fix problem with O_TRUNC and NFS device nodes.
Revision 1.34 / (download) - annotate - [select for diffs], Wed Jun 29 06:42:29 1994 UTC (18 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.33: +3 -2
lines
Diff to previous 1.33 (colored)
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.33 / (download) - annotate - [select for diffs], Wed Jun 22 14:01:47 1994 UTC (18 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.32: +3 -3
lines
Diff to previous 1.32 (colored)
straighten out diskless swap code somewhat.
Revision 1.32 / (download) - annotate - [select for diffs], Wed Jun 8 11:37:05 1994 UTC (18 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.31: +1592 -1102
lines
Diff to previous 1.31 (colored)
Update to 4.4-Lite fs code, with local changes.
Revision 1.31 / (download) - annotate - [select for diffs], Thu May 19 05:04:09 1994 UTC (19 years ago) by cgd
Branch: MAIN
Changes since 1.30: +4 -5
lines
Diff to previous 1.30 (colored)
stupidity for prototypes...
Revision 1.30 / (download) - annotate - [select for diffs], Mon Apr 25 03:50:21 1994 UTC (19 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.29: +29 -30
lines
Diff to previous 1.29 (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.29 / (download) - annotate - [select for diffs], Thu Apr 21 23:23:37 1994 UTC (19 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.28: +1 -7
lines
Diff to previous 1.28 (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.28 / (download) - annotate - [select for diffs], Thu Apr 21 07:49:12 1994 UTC (19 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.27: +2 -2
lines
Diff to previous 1.27 (colored)
Convert mount, vnode, and buf structs to use <sys/queue.h>. Also, some knf and structure frobbing to do along with it.
Revision 1.27 / (download) - annotate - [select for diffs], Thu Apr 14 10:27:46 1994 UTC (19 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.26: +6 -3
lines
Diff to previous 1.26 (colored)
Remove bogus type translation; in stead, use IFTOVT again to go from `NFS mode bits' to `vnode type'. Use aliased vnode consistently.
Revision 1.26 / (download) - annotate - [select for diffs], Sun Mar 27 09:09:21 1994 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.25: +4 -4
lines
Diff to previous 1.25 (colored)
expand uid_t/gid_t/off_t
Revision 1.25 / (download) - annotate - [select for diffs], Wed Mar 9 21:24:40 1994 UTC (19 years, 2 months ago) by ws
Branch: MAIN
Changes since 1.24: +9 -12
lines
Diff to previous 1.24 (colored)
Make FFS optional
Revision 1.24 / (download) - annotate - [select for diffs], Tue Feb 15 21:43:09 1994 UTC (19 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.23: +7 -5
lines
Diff to previous 1.23 (colored)
Macros bite again.
Revision 1.23 / (download) - annotate - [select for diffs], Tue Feb 15 21:26:01 1994 UTC (19 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.22: +8 -11
lines
Diff to previous 1.22 (colored)
Format police.
Revision 1.22 / (download) - annotate - [select for diffs], Tue Feb 15 21:07:14 1994 UTC (19 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.21: +146 -11
lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Sun Feb 6 11:28:40 1994 UTC (19 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +5 -10
lines
Diff to previous 1.20 (colored)
Eliminate some more uses of b_actl.
Revision 1.20 / (download) - annotate - [select for diffs], Mon Jan 10 13:29:26 1994 UTC (19 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.19: +4 -4
lines
Diff to previous 1.19 (colored)
reparations...
Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 10 09:37:05 1994 UTC (19 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.18: +9 -1
lines
Diff to previous 1.18 (colored)
Don't deny unlink()s of files with the "silly" bit on, but still have > 1 links, but avoid doing gratuitous (possibly expensive) get_attr() calls.
Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 4 14:11:04 1994 UTC (19 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.17: +8 -2
lines
Diff to previous 1.17 (colored)
add support for union and loopback mounts, from jsp
Revision 1.17 / (download) - annotate - [select for diffs], Wed Dec 22 13:03:22 1993 UTC (19 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.16: +22 -7
lines
Diff to previous 1.16 (colored)
fix nfs_print, add cross-device link checking (From jsp)
Revision 1.16 / (download) - annotate - [select for diffs], Sat Dec 18 00:45:55 1993 UTC (19 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +24 -24
lines
Diff to previous 1.15 (colored)
Canonicalize all #includes.
Revision 1.15 / (download) - annotate - [select for diffs], Thu Dec 16 16:43:36 1993 UTC (19 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.14: +19 -29
lines
Diff to previous 1.14 (colored)
Avoid dereferencing NULL pointer in nfs_doio() when B_PHYS is on. Remove comment talking about nfsiomaps that we don't have. Always use credentials that are in the buffer header, in stead of trying to get them from pageproc, which may once have been necessary to push pages to swap (cannot imaging anyone having exercised this over NFS though).
Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 7 04:47:41 1993 UTC (19 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.13: +4 -3
lines
Diff to previous 1.13 (colored)
fix a goof that i made; return *before* nfs_lock() is called...
Revision 1.13 / (download) - annotate - [select for diffs], Sat Nov 20 09:40:55 1993 UTC (19 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.12: +3 -1
lines
Diff to previous 1.12 (colored)
do something better with lookup return values; suggested by BSDI's msdosfs mod
Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 12 05:56:50 1993 UTC (19 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.11: +3 -3
lines
Diff to previous 1.11 (colored)
new specfs.h and fifo.h locations
Revision 1.11 / (download) - annotate - [select for diffs], Tue Sep 7 15:41:46 1993 UTC (19 years, 8 months ago) by ws
Branch: MAIN
CVS Tags: magnum-base
Branch point for: magnum
Changes since 1.10: +12 -3
lines
Diff to previous 1.10 (colored)
Changes to VFS readdir semantics NFS changes for better cookie support ISOFS changes for better Rockridge support and support for generation numbers
Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 2 23:12:31 1993 UTC (19 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +2 -1
lines
Diff to previous 1.9 (colored)
Make return type of nfs_print be a void, not an int.
Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 13 10:50:06 1993 UTC (19 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001,
netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
get rid of some more bogus changes from a week ago
Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 13 10:04:31 1993 UTC (19 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.7: +3 -3
lines
Diff to previous 1.7 (colored)
diskless changes made last time were hosed; were using NULL for "no credentials" rather than NOCRED.
Revision 1.7 / (download) - annotate - [select for diffs], Wed Jul 7 12:06:37 1993 UTC (19 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.6: +4 -3
lines
Diff to previous 1.6 (colored)
changes from ws to support diskless booting... these are "OK" on inspection and after testing... (actually, currently, none of the changed code is even used...)
Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 3 01:12:44 1993 UTC (19 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.5: +15 -1
lines
Diff to previous 1.5 (colored)
fix for macklem's bogus use of the va_flags field, supplied by John Woods, jfwfrom: @ksr.com. also, fixes the following problems: the va_gen field is in a similar position (Suns are going to be reporting the change-date microseconds as their "generation"), I've supplied my own set of diffs below for your inspection. Note these aren't even compiled, but they're pretty similar to what I had to do to our older version of OSF/1 here. (There's also an unrelated change supplied for xdr_subs.h; the pointer types supplied to the fxdr_time() and txdr_time() macros are not, in fact, both struct timevals. That turns out to be one of many tips-of-the-iceberg facing those porting the (old) Berkeley NFS code to 64-bit machines...)
Revision 1.5 / (download) - annotate - [select for diffs], Sat May 22 09:00:49 1993 UTC (20 years ago) by cgd
Branch: MAIN
Changes since 1.4: +3 -2
lines
Diff to previous 1.4 (colored)
add Yuval Yarom's changes (originally for BSD/386) for advisory record locking on NFS files. Note that this DOES NOT support network locking, only local advisory locks.
Revision 1.4 / (download) - annotate - [select for diffs], Fri May 21 07:38:07 1993 UTC (20 years ago) by cgd
Branch: MAIN
Changes since 1.3: +2 -9
lines
Diff to previous 1.3 (colored)
add rcsid again; fix RCS+crash fuckup
Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 10 20:19:27 1993 UTC (20 years, 1 month ago) by glass
Branch: MAIN
CVS Tags: netbsd-alpha-1,
netbsd-0-8
Changes since 1.2: +157 -0
lines
Diff to previous 1.2 (colored)
migrated code to make split possible
Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 21 18:04:42 1993 UTC (20 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: patchkit-0-2-2
Changes since 1.1: +9 -1
lines
Diff to previous 1.1 (colored)
after 0.2.2 "stable" patches applied
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (20 years, 2 months ago) by cgd
Branch: MAIN
Initial revision