CVS log for src/sys/nfs/nfs_vfsops.c
Up to [cvs.NetBSD.org] / src / sys / nfs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.243.10.2: download - view: text, markup, annotated - select for diffs
Fri Sep 20 11:44:58 2024 UTC (4 months ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.243.10.1: preferred, colored; branchpoint 1.243: preferred, colored; next MAIN 1.244: preferred, colored
Changes since revision 1.243.10.1: +4 -4
lines
Pull up following revision(s) (requested by rin in ticket #880):
sys/nfs/nfs_iod.c: revision 1.9
sys/nfs/nfs_vfsops.c: revision 1.245
sys/nfs/nfs_clntsubs.c: revision 1.7
PR/57279: Izumi Tsutsui: Fix some {int,long} -> time_t. Still things will
break eventually because parts of the nfs protocol assume time_t will fit
in 32 bits.
Revision 1.243.10.1: download - view: text, markup, annotated - select for diffs
Fri Sep 20 10:29:41 2024 UTC (4 months ago) by martin
Branches: netbsd-10
Diff to: previous 1.243: preferred, colored
Changes since revision 1.243: +5 -3
lines
Pull up following revision(s) (requested by rin in ticket #879):
sys/nfs/nfs_vfsops.c: revision 1.244
Avoid overflow of nfs_commitsize on machines with > 32GB RAM.
Revision 1.246: download - view: text, markup, annotated - select for diffs
Mon May 13 00:11:22 2024 UTC (8 months, 2 weeks ago) by msaitoh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.245: preferred, colored
Changes since revision 1.245: +3 -3
lines
ficticious -> fictitious in comment.
Revision 1.245: download - view: text, markup, annotated - select for diffs
Tue Mar 21 15:47:46 2023 UTC (22 months, 1 week ago) by christos
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation
Diff to: previous 1.244: preferred, colored
Changes since revision 1.244: +4 -4
lines
PR/57279: Izumi Tsutsui: Fix some {int,long} -> time_t. Still things will
break eventually because parts of the nfs protocol assume time_t will fit
in 32 bits.
Revision 1.244: download - view: text, markup, annotated - select for diffs
Fri Mar 17 00:46:35 2023 UTC (22 months, 1 week ago) by mlelstv
Branches: MAIN
Diff to: previous 1.243: preferred, colored
Changes since revision 1.243: +5 -3
lines
Avoid overflow of nfs_commitsize on machines with > 32GB RAM.
Revision 1.237.4.1: download - view: text, markup, annotated - select for diffs
Wed May 4 17:51:20 2022 UTC (2 years, 8 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE
Diff to: previous 1.237: preferred, colored; next MAIN 1.238: preferred, colored
Changes since revision 1.237: +3 -4
lines
Pull up following revision(s) (requested by gavan in ticket #1441):
sys/nfs/nfs_vfsops.c: revision 1.243
Don't pretend that files are limited to 1TB on NFSv3.
Revision 1.242.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:35 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.242: preferred, colored; next MAIN 1.243: preferred, colored
Changes since revision 1.242: +3 -4
lines
Sync w/ HEAD.
Revision 1.243: download - view: text, markup, annotated - select for diffs
Sun Jun 13 10:25:11 2021 UTC (3 years, 7 months ago) by mlelstv
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.242: preferred, colored
Changes since revision 1.242: +3 -4
lines
Don't pretend that files are limited to 1TB on NFSv3.
Revision 1.241.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:29:02 2021 UTC (3 years, 9 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.241: preferred, colored; next MAIN 1.242: preferred, colored
Changes since revision 1.241: +15 -16
lines
Sync with HEAD.
Revision 1.241.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 21:45:01 2021 UTC (3 years, 9 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.241: preferred, colored; next MAIN 1.242: preferred, colored
Changes since revision 1.241: +15 -16
lines
Sync with HEAD.
Revision 1.242: download - view: text, markup, annotated - select for diffs
Fri Apr 2 03:07:54 2021 UTC (3 years, 9 months ago) by christos
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-cfargs-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.241: preferred, colored
Changes since revision 1.241: +15 -16
lines
Set f_namemax during mount time like all the other filesystems so that
it does gets the right data in copy_statvfs_info(). Otherwise f_namemax
can end up being 0. To reproduce: unmount the remote filesystem, remount
it, and kill -HUP mountd to refresh exports.
Revision 1.236.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:42:44 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.236.2.2: preferred, colored; branchpoint 1.236: preferred, colored; next MAIN 1.237: preferred, colored
Changes since revision 1.236.2.2: +1 -1
lines
Sync with HEAD
Revision 1.240.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:12 2020 UTC (4 years, 9 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.240: preferred, colored; next MAIN 1.241: preferred, colored
Changes since revision 1.240: +3 -3
lines
Sync with HEAD
Revision 1.241: download - view: text, markup, annotated - select for diffs
Mon Apr 13 19:23:20 2020 UTC (4 years, 9 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1
Branch point for: thorpej-futex,
thorpej-cfargs
Diff to: previous 1.240: preferred, colored
Changes since revision 1.240: +3 -3
lines
Replace most uses of vp->v_usecount with a call to vrefcnt(vp), a function
that hides the details and does atomic_load_relaxed(). Signature matches
FreeBSD.
Revision 1.236.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:59 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.236.2.1: preferred, colored; branchpoint 1.236: preferred, colored
Changes since revision 1.236.2.1: +13 -28
lines
Merge changes from current as of 20200406
Revision 1.240: download - view: text, markup, annotated - select for diffs
Mon Mar 16 21:20:11 2020 UTC (4 years, 10 months ago) by pgoyette
Branches: MAIN
CVS tags: phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Diff to: previous 1.239: preferred, colored
Changes since revision 1.239: +6 -23
lines
Use the module subsystem's ability to process SYSCTL_SETUP() entries to
automate installation of sysctl nodes.
Note that there are still a number of device and pseudo-device modules
that create entries tied to individual device units, rather than to the
module itself. These are not changed.
Revision 1.237.6.2: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:08 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.237.6.1: preferred, colored; branchpoint 1.237: preferred, colored; next MAIN 1.238: preferred, colored
Changes since revision 1.237.6.1: +4 -3
lines
Sync with head.
Revision 1.239: download - view: text, markup, annotated - select for diffs
Thu Feb 27 22:12:54 2020 UTC (4 years, 10 months ago) by ad
Branches: MAIN
CVS tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3
Diff to: previous 1.238: preferred, colored
Changes since revision 1.238: +4 -3
lines
Tighten up the locking around vp->v_iflag a little more after the recent
split of vmobjlock & v_interlock.
Revision 1.237.6.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:36 2020 UTC (5 years ago) by ad
Branches: ad-namecache
Diff to: previous 1.237: preferred, colored
Changes since revision 1.237: +7 -6
lines
Sync with head.
Revision 1.238: download - view: text, markup, annotated - select for diffs
Fri Jan 17 20:08:09 2020 UTC (5 years ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base2,
ad-namecache-base1
Diff to: previous 1.237: preferred, colored
Changes since revision 1.237: +7 -6
lines
VFS_VGET(), VFS_ROOT(), VFS_FHTOVP(): give them a "int lktype" argument, to
allow us to get shared locks (or no lock) on the returned vnode. Matches
FreeBSD.
Revision 1.236.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:49 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.236: preferred, colored
Changes since revision 1.236: +3 -3
lines
Sync with HEAD
Revision 1.235.10.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:45 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.235.10.1: preferred, colored; branchpoint 1.235: preferred, colored; next MAIN 1.236: preferred, colored
Changes since revision 1.235.10.1: +3 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.237: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:36 2018 UTC (6 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
netbsd-9-base,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
isaki-audio2-base,
isaki-audio2,
ad-namecache-base
Branch point for: netbsd-9,
ad-namecache
Diff to: previous 1.236: preferred, colored
Changes since revision 1.236: +3 -3
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.235.10.1: download - view: text, markup, annotated - select for diffs
Thu Mar 22 01:44:52 2018 UTC (6 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.235: preferred, colored
Changes since revision 1.235: +4 -3
lines
Synch with HEAD, resolve conflicts
Revision 1.236: download - view: text, markup, annotated - select for diffs
Fri Mar 16 17:25:04 2018 UTC (6 years, 10 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322
Branch point for: phil-wifi
Diff to: previous 1.235: preferred, colored
Changes since revision 1.235: +4 -3
lines
PR/53103: Timo Buhrmester: linux emulation of sendto(2) broken
The sockargs refactoring broke it, because sockargs only works with a user
address. Added an argument to sockargs to indicate where the address is
coming from. Welcome to 8.99.14.
Revision 1.220.12.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:06 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.220.12.2: preferred, colored; branchpoint 1.220: preferred, colored; next MAIN 1.221: preferred, colored
Changes since revision 1.220.12.2: +35 -10
lines
update from HEAD
Revision 1.229.4.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:13 2017 UTC (7 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.229.4.2: preferred, colored; branchpoint 1.229: preferred, colored; next MAIN 1.230: preferred, colored
Changes since revision 1.229.4.2: +8 -6
lines
Sync with HEAD
Revision 1.231.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:30 2017 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.231.2.1: preferred, colored; branchpoint 1.231: preferred, colored; next MAIN 1.232: preferred, colored
Changes since revision 1.231.2.1: +7 -5
lines
Sync with HEAD
Revision 1.231.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:07 2017 UTC (7 years, 9 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.231: preferred, colored; next MAIN 1.232: preferred, colored
Changes since revision 1.231: +8 -6
lines
Sync with HEAD
Revision 1.235: download - view: text, markup, annotated - select for diffs
Mon Apr 17 08:32:01 2017 UTC (7 years, 9 months ago) by hannken
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-compat-base,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
bouyer-socketcan-base1
Branch point for: pgoyette-compat
Diff to: previous 1.234: preferred, colored
Changes since revision 1.234: +4 -4
lines
Remove unused argument "nextp" from vfs_busy() and vfs_unbusy().
Remove argument "keepref" from vfs_unbusy() and add vfs_ref() where needed.
Revision 1.234: download - view: text, markup, annotated - select for diffs
Mon Apr 17 08:31:02 2017 UTC (7 years, 9 months ago) by hannken
Branches: MAIN
Diff to: previous 1.233: preferred, colored
Changes since revision 1.233: +3 -3
lines
Add vfs_ref(mp) and vfs_rele(mp) to add or remove a reference to
struct mount. Rename vfs_destroy(mp) to vfs_rele(mp) and replace
incrementing mp->mnt_refcnt with vfs_ref(mp).
Revision 1.233: download - view: text, markup, annotated - select for diffs
Sat Apr 1 19:35:57 2017 UTC (7 years, 9 months ago) by riastradh
Branches: MAIN
CVS tags: jdolecek-ncq-base,
jdolecek-ncq
Diff to: previous 1.232: preferred, colored
Changes since revision 1.232: +4 -2
lines
KASSERT(mutex_owned(vp->v_interlock)) in vnode iterator selector.
Revision 1.231.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:52 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.231: preferred, colored
Changes since revision 1.231: +3 -3
lines
Sync with HEAD
Revision 1.232: download - view: text, markup, annotated - select for diffs
Fri Feb 17 08:31:25 2017 UTC (7 years, 11 months ago) by hannken
Branches: MAIN
CVS tags: pgoyette-localcount-20170320
Diff to: previous 1.231: preferred, colored
Changes since revision 1.231: +3 -3
lines
Add generic genfs_suspendctl() and use it for all file systems.
Layered file systems need work.
Revision 1.229.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:10:08 2015 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.229.4.1: preferred, colored; branchpoint 1.229: preferred, colored
Changes since revision 1.229.4.1: +3 -2
lines
Sync with HEAD (as of 26th Dec)
Revision 1.229.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 8 01:14:20 2015 UTC (9 years, 2 months ago) by riz
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1
Diff to: previous 1.229.2.1: preferred, colored; branchpoint 1.229: preferred, colored; next MAIN 1.230: preferred, colored
Changes since revision 1.229.2.1: +3 -2
lines
Pull up following revision(s) (requested by pgoyette in ticket #1021):
sys/nfs/nfs_vfsops.c: revision 1.231
Don't forget to call nfs_fini() when we're finished. Without this,
we leave a dangling pool nfsrvdescpl around.
Revision 1.229.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 17:32:00 2015 UTC (9 years, 2 months ago) by riz
Branches: netbsd-7
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +30 -8
lines
Pull up following revision(s) (requested by manu in ticket #882):
sbin/umount/umount.c: revision 1.48
sys/nfs/nfsmount.h: revision 1.53
sys/nfs/nfs_var.h: revision 1.94
sys/nfs/nfs_iod.c: revision 1.7
sys/nfs/nfs_socket.c: revision 1.197
sys/nfs/nfs_bio.c: revision 1.191
sys/nfs/nfs_vfsops.c: revision 1.230
sys/nfs/nfs_clntsocket.c: revision 1.3
Remove useless and harmful sync(2) call in umount(8)
Remove sync(2) call before unmount(2) in umount(8). This sync(2) is useless
since unmount(2) will perform a VFS_SYNC anyway.
But moreover, this sync(2) may be harmful, as there are some situation where
it cannot return (unreachable NFS server, for instance), causing umount -f
to be uneffective.
Fix soft NFS force unmount
For many reasons, forcibly unmounting a soft NFS mount could hang forever.
Here are the fixes:
- Introduce decents timeouts in operation that awaited NFS server reply.
- On timeout, fails operations on soft mounts with EIO.
- Introduce NFSMNT_DISMNTFORCE to let the filesystem know that a
force unmount is ongoing. This causes timeouts to be reduced and
prevents the NFS client to attempt reconnecting to the NFS server.
Also fix a race condition where some asynchronous I/O could reference
destroyed mount structures. We fix this by awaiting asynchronous I/O
to drain before proceeding.
Reviewed by Chuck Silvers.
Revision 1.231: download - view: text, markup, annotated - select for diffs
Mon Nov 2 09:57:43 2015 UTC (9 years, 2 months ago) by pgoyette
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
localcount-20160914,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
bouyer-socketcan
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +3 -2
lines
Don't forget to call nfs_fini() when we're finished. Without this,
we leave a dangling pool nfsrvdescpl around.
Revision 1.229.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:12 2015 UTC (9 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +30 -8
lines
Sync with HEAD
Revision 1.230: download - view: text, markup, annotated - select for diffs
Wed Jul 15 03:28:55 2015 UTC (9 years, 6 months ago) by manu
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +30 -8
lines
Fix soft NFS force unmount
For many reasons, forcibly unmounting a soft NFS mount could hang forever.
Here are the fixes:
- Introduce decents timeouts in operation that awaited NFS server reply.
- On timeout, fails operations on soft mounts with EIO.
- Introduce NFSMNT_DISMNTFORCE to let the filesystem know that a
force unmount is ongoing. This causes timeouts to be reduced and
prevents the NFS client to attempt reconnecting to the NFS server.
Also fix a race condition where some asynchronous I/O could reference
destroyed mount structures. We fix this by awaiting asynchronous I/O
to drain before proceeding.
Reviewed by Chuck Silvers.
Revision 1.220.12.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:36 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.220.12.1: preferred, colored; branchpoint 1.220: preferred, colored
Changes since revision 1.220.12.1: +46 -73
lines
Rebase to HEAD as of a few days ago.
Revision 1.226.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:45 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.226: preferred, colored; next MAIN 1.227: preferred, colored
Changes since revision 1.226: +15 -12
lines
Rebase.
Revision 1.229: download - view: text, markup, annotated - select for diffs
Fri May 30 08:47:45 2014 UTC (10 years, 8 months ago) by hannken
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-base,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Branch point for: nick-nhusb,
netbsd-7
Diff to: previous 1.228: preferred, colored
Changes since revision 1.228: +3 -6
lines
Change NFS from rbtree to vcache.
Revision 1.228: download - view: text, markup, annotated - select for diffs
Sat May 24 16:34:04 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +12 -8
lines
Introduce a selector function to the vfs vnode iterator so that we don't
need to vget() vnodes that we are not interested at, and optimize locking
a bit. Iterator changes reviewed by Hannken (thanks), the rest of the bugs
are mine.
Revision 1.220.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:11 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.220.2.1: preferred, colored; branchpoint 1.220: preferred, colored; next MAIN 1.221: preferred, colored
Changes since revision 1.220.2.1: +40 -68
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.221.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:14 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.221: preferred, colored; next MAIN 1.222: preferred, colored
Changes since revision 1.221: +40 -68
lines
sync with head
Revision 1.203.14.1: download - view: text, markup, annotated - select for diffs
Mon Apr 28 16:05:37 2014 UTC (10 years, 9 months ago) by sborrill
Branches: netbsd-5-2
CVS tags: netbsd-5-2-3-RELEASE
Diff to: previous 1.203: preferred, colored; next MAIN 1.204: preferred, colored
Changes since revision 1.203: +4 -2
lines
Pull up the following revisions(s) (requested by maxv in ticket #1901):
sys/kern/vfs_syscalls.c: revision 1.478, 1.480 via patch
sys/coda/coda_vfsops.c: revision 1.81
sys/fs/adosfs/advfsops.c: revision 1.70
sys/fs/cd9660/cd9660_vfsops.c: revision 1.84
sys/fs/efs/efs_vfsops.c: revision 1.25
sys/fs/filecorefs/filecore_vfsops.c: revision 1.76
sys/fs/hfs/hfs_vfsops.c: revision 1.31
sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107
sys/fs/ntfs/ntfs_vfsops.c: revision 1.94
sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 via patch
sys/fs/puffs/puffs_vfsops.c: revision 1.110 via patch
sys/fs/smbfs/smbfs_vfsops.c: revision 1.100
sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43
sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 via patch
sys/fs/udf/udf_vfsops.c: revision 1.67
sys/fs/union/union_vfsops.c: revision 1.72
sys/fs/unionfs/unionfs_vfsops.c: revision 1.13
sys/kern/vfs_syscalls.c: revision 1.479
sys/miscfs/nullfs/null_vfsops.c: revision 1.88 via patch
sys/miscfs/overlay/overlay_vfsops.c: revision 1.61
sys/miscfs/procfs/procfs_vfsops.c: revision 1.91
sys/miscfs/umapfs/umap_vfsops.c: revision 1.92
sys/nfs/nfs_vfsops.c: revision 1.227
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180
sys/ufs/ffs/ffs_vfsops.c: revision 1.297
sys/ufs/lfs/lfs_vfsops.c: revision 1.321
sys/ufs/mfs/mfs_vfsops.c: revision 1.107
Due to missing checks in the mount syscall, and a wrong assumption on the
file systems side, the kernel could allocate an unbounded or zero-sized
memory buffer, and could dereference a NULL pointer when particular
arguments are given by a user.
Revision 1.203.10.1: download - view: text, markup, annotated - select for diffs
Mon Apr 28 16:03:16 2014 UTC (10 years, 9 months ago) by sborrill
Branches: netbsd-5-1
CVS tags: netbsd-5-1-5-RELEASE
Diff to: previous 1.203: preferred, colored; next MAIN 1.204: preferred, colored
Changes since revision 1.203: +4 -2
lines
Pull up the following revisions(s) (requested by maxv in ticket #1901):
sys/kern/vfs_syscalls.c: revision 1.478, 1.480 via patch
sys/coda/coda_vfsops.c: revision 1.81
sys/fs/adosfs/advfsops.c: revision 1.70
sys/fs/cd9660/cd9660_vfsops.c: revision 1.84
sys/fs/efs/efs_vfsops.c: revision 1.25
sys/fs/filecorefs/filecore_vfsops.c: revision 1.76
sys/fs/hfs/hfs_vfsops.c: revision 1.31
sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107
sys/fs/ntfs/ntfs_vfsops.c: revision 1.94
sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 via patch
sys/fs/puffs/puffs_vfsops.c: revision 1.110 via patch
sys/fs/smbfs/smbfs_vfsops.c: revision 1.100
sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43
sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 via patch
sys/fs/udf/udf_vfsops.c: revision 1.67
sys/fs/union/union_vfsops.c: revision 1.72
sys/fs/unionfs/unionfs_vfsops.c: revision 1.13
sys/kern/vfs_syscalls.c: revision 1.479
sys/miscfs/nullfs/null_vfsops.c: revision 1.88 via patch
sys/miscfs/overlay/overlay_vfsops.c: revision 1.61
sys/miscfs/procfs/procfs_vfsops.c: revision 1.91
sys/miscfs/umapfs/umap_vfsops.c: revision 1.92
sys/nfs/nfs_vfsops.c: revision 1.227
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180
sys/ufs/ffs/ffs_vfsops.c: revision 1.297
sys/ufs/lfs/lfs_vfsops.c: revision 1.321
sys/ufs/mfs/mfs_vfsops.c: revision 1.107
Due to missing checks in the mount syscall, and a wrong assumption on the
file systems side, the kernel could allocate an unbounded or zero-sized
memory buffer, and could dereference a NULL pointer when particular
arguments are given by a user.
Revision 1.203.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 25 15:43:51 2014 UTC (10 years, 9 months ago) by sborrill
Branches: netbsd-5
Diff to: previous 1.203: preferred, colored; next MAIN 1.204: preferred, colored
Changes since revision 1.203: +4 -2
lines
Pull up the following revisions(s) (requested by maxv in ticket #1901):
sys/kern/vfs_syscalls.c: revision 1.478, 1.480 via patch
sys/coda/coda_vfsops.c: revision 1.81
sys/fs/adosfs/advfsops.c: revision 1.70
sys/fs/cd9660/cd9660_vfsops.c: revision 1.84
sys/fs/efs/efs_vfsops.c: revision 1.25
sys/fs/filecorefs/filecore_vfsops.c: revision 1.76
sys/fs/hfs/hfs_vfsops.c: revision 1.31
sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107
sys/fs/ntfs/ntfs_vfsops.c: revision 1.94
sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 via patch
sys/fs/puffs/puffs_vfsops.c: revision 1.110 via patch
sys/fs/smbfs/smbfs_vfsops.c: revision 1.100
sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43
sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 via patch
sys/fs/udf/udf_vfsops.c: revision 1.67
sys/fs/union/union_vfsops.c: revision 1.72
sys/fs/unionfs/unionfs_vfsops.c: revision 1.13
sys/kern/vfs_syscalls.c: revision 1.479
sys/miscfs/nullfs/null_vfsops.c: revision 1.88 via patch
sys/miscfs/overlay/overlay_vfsops.c: revision 1.61
sys/miscfs/procfs/procfs_vfsops.c: revision 1.91
sys/miscfs/umapfs/umap_vfsops.c: revision 1.92
sys/nfs/nfs_vfsops.c: revision 1.227
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180
sys/ufs/ffs/ffs_vfsops.c: revision 1.297
sys/ufs/lfs/lfs_vfsops.c: revision 1.321
sys/ufs/mfs/mfs_vfsops.c: revision 1.107
Due to missing checks in the mount syscall, and a wrong assumption on the
file systems side, the kernel could allocate an unbounded or zero-sized
memory buffer, and could dereference a NULL pointer when particular
arguments are given by a user.
Revision 1.220.16.1: download - view: text, markup, annotated - select for diffs
Mon Apr 21 10:17:47 2014 UTC (10 years, 9 months ago) by bouyer
Branches: netbsd-6-1
CVS tags: netbsd-6-1-5-RELEASE
Diff to: previous 1.220: preferred, colored; next MAIN 1.221: preferred, colored
Changes since revision 1.220: +4 -2
lines
Pull up following revision(s) (requested by maxv in ticket #1050):
sys/ufs/chfs/chfs_vfsops.c: revision 1.11
sys/fs/unionfs/unionfs_vfsops.c: revision 1.13
sys/fs/nilfs/nilfs_vfsops.c: revision 1.16
sys/ufs/mfs/mfs_vfsops.c: revision 1.107
sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43
sys/ufs/ffs/ffs_vfsops.c: revision 1.297
sys/kern/vfs_syscalls.c: revision 1.478
sys/kern/vfs_syscalls.c: revision 1.479
sys/fs/puffs/puffs_vfsops.c: revision 1.110
sys/fs/cd9660/cd9660_vfsops.c: revision 1.84
sys/nfs/nfs_vfsops.c: revision 1.227
sys/fs/v7fs/v7fs_vfsops.c: revision 1.10
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180
sys/miscfs/umapfs/umap_vfsops.c: revision 1.92
sys/fs/filecorefs/filecore_vfsops.c: revision 1.76
sys/miscfs/nullfs/null_vfsops.c: revision 1.88
sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50
sys/coda/coda_vfsops.c: revision 1.81
sys/ufs/lfs/lfs_vfsops.c: revision 1.321
sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59
sys/fs/hfs/hfs_vfsops.c: revision 1.31
sys/miscfs/overlay/overlay_vfsops.c: revision 1.61
sys/fs/union/union_vfsops.c: revision 1.72
sys/fs/ntfs/ntfs_vfsops.c: revision 1.94
sys/kern/vfs_syscalls.c: revision 1.480
sys/fs/efs/efs_vfsops.c: revision 1.25
sys/kern/vfs_syscalls.c: revision 1.482
sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.12
sys/miscfs/procfs/procfs_vfsops.c: revision 1.91
sys/fs/smbfs/smbfs_vfsops.c: revision 1.100
sys/fs/adosfs/advfsops.c: revision 1.70
sys/fs/udf/udf_vfsops.c: revision 1.67
Limit check for 'data_len'. Otherwise a (un)privileged user can easily
panic the system by passing a huge size.
ok christos@
An (un)privileged user can easily make the kernel dereference a NULL
pointer.
The kernel allows 'data' to be NULL; it's the fs's responsibility to
ensure that it isn't NULL (if the fs actually needs data).
ok christos@
Some fs's - like kernfs - set their vfs_min_mount_data to zero. Add a check
to prevent an (un)privileged user from requesting a zero-sized allocation
(and thus a panic).
This thing is totally buggy: 'data_len' is modified by the fs, so calling
kmem_free with it while its value has changed since the kmem_alloc is far
from being a good idea.
If the kernel figures out that something mismatches, it will panic
(typically with kernfs).
Revision 1.220.14.1: download - view: text, markup, annotated - select for diffs
Mon Apr 21 10:15:36 2014 UTC (10 years, 9 months ago) by bouyer
Branches: netbsd-6-0
CVS tags: netbsd-6-0-6-RELEASE
Diff to: previous 1.220: preferred, colored; next MAIN 1.221: preferred, colored
Changes since revision 1.220: +4 -2
lines
Pull up following revision(s) (requested by maxv in ticket #1050):
sys/ufs/chfs/chfs_vfsops.c: revision 1.11
sys/fs/unionfs/unionfs_vfsops.c: revision 1.13
sys/fs/nilfs/nilfs_vfsops.c: revision 1.16
sys/ufs/mfs/mfs_vfsops.c: revision 1.107
sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43
sys/ufs/ffs/ffs_vfsops.c: revision 1.297
sys/kern/vfs_syscalls.c: revision 1.478
sys/kern/vfs_syscalls.c: revision 1.479
sys/fs/puffs/puffs_vfsops.c: revision 1.110
sys/fs/cd9660/cd9660_vfsops.c: revision 1.84
sys/nfs/nfs_vfsops.c: revision 1.227
sys/fs/v7fs/v7fs_vfsops.c: revision 1.10
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180
sys/miscfs/umapfs/umap_vfsops.c: revision 1.92
sys/fs/filecorefs/filecore_vfsops.c: revision 1.76
sys/miscfs/nullfs/null_vfsops.c: revision 1.88
sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50
sys/coda/coda_vfsops.c: revision 1.81
sys/ufs/lfs/lfs_vfsops.c: revision 1.321
sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59
sys/fs/hfs/hfs_vfsops.c: revision 1.31
sys/miscfs/overlay/overlay_vfsops.c: revision 1.61
sys/fs/union/union_vfsops.c: revision 1.72
sys/fs/ntfs/ntfs_vfsops.c: revision 1.94
sys/kern/vfs_syscalls.c: revision 1.480
sys/fs/efs/efs_vfsops.c: revision 1.25
sys/kern/vfs_syscalls.c: revision 1.482
sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.12
sys/miscfs/procfs/procfs_vfsops.c: revision 1.91
sys/fs/smbfs/smbfs_vfsops.c: revision 1.100
sys/fs/adosfs/advfsops.c: revision 1.70
sys/fs/udf/udf_vfsops.c: revision 1.67
Limit check for 'data_len'. Otherwise a (un)privileged user can easily
panic the system by passing a huge size.
ok christos@
An (un)privileged user can easily make the kernel dereference a NULL
pointer.
The kernel allows 'data' to be NULL; it's the fs's responsibility to
ensure that it isn't NULL (if the fs actually needs data).
ok christos@
Some fs's - like kernfs - set their vfs_min_mount_data to zero. Add a check
to prevent an (un)privileged user from requesting a zero-sized allocation
(and thus a panic).
This thing is totally buggy: 'data_len' is modified by the fs, so calling
kmem_free with it while its value has changed since the kmem_alloc is far
from being a good idea.
If the kernel figures out that something mismatches, it will panic
(typically with kernfs).
Revision 1.220.8.1: download - view: text, markup, annotated - select for diffs
Mon Apr 21 10:14:18 2014 UTC (10 years, 9 months ago) by bouyer
Branches: netbsd-6
Diff to: previous 1.220: preferred, colored; next MAIN 1.221: preferred, colored
Changes since revision 1.220: +4 -2
lines
Pull up following revision(s) (requested by maxv in ticket #1050):
sys/ufs/chfs/chfs_vfsops.c: revision 1.11
sys/fs/unionfs/unionfs_vfsops.c: revision 1.13
sys/fs/nilfs/nilfs_vfsops.c: revision 1.16
sys/ufs/mfs/mfs_vfsops.c: revision 1.107
sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43
sys/ufs/ffs/ffs_vfsops.c: revision 1.297
sys/kern/vfs_syscalls.c: revision 1.478
sys/kern/vfs_syscalls.c: revision 1.479
sys/fs/puffs/puffs_vfsops.c: revision 1.110
sys/fs/cd9660/cd9660_vfsops.c: revision 1.84
sys/nfs/nfs_vfsops.c: revision 1.227
sys/fs/v7fs/v7fs_vfsops.c: revision 1.10
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180
sys/miscfs/umapfs/umap_vfsops.c: revision 1.92
sys/fs/filecorefs/filecore_vfsops.c: revision 1.76
sys/miscfs/nullfs/null_vfsops.c: revision 1.88
sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50
sys/coda/coda_vfsops.c: revision 1.81
sys/ufs/lfs/lfs_vfsops.c: revision 1.321
sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59
sys/fs/hfs/hfs_vfsops.c: revision 1.31
sys/miscfs/overlay/overlay_vfsops.c: revision 1.61
sys/fs/union/union_vfsops.c: revision 1.72
sys/fs/ntfs/ntfs_vfsops.c: revision 1.94
sys/kern/vfs_syscalls.c: revision 1.480
sys/fs/efs/efs_vfsops.c: revision 1.25
sys/kern/vfs_syscalls.c: revision 1.482
sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.12
sys/miscfs/procfs/procfs_vfsops.c: revision 1.91
sys/fs/smbfs/smbfs_vfsops.c: revision 1.100
sys/fs/adosfs/advfsops.c: revision 1.70
sys/fs/udf/udf_vfsops.c: revision 1.67
Limit check for 'data_len'. Otherwise a (un)privileged user can easily
panic the system by passing a huge size.
ok christos@
An (un)privileged user can easily make the kernel dereference a NULL
pointer.
The kernel allows 'data' to be NULL; it's the fs's responsibility to
ensure that it isn't NULL (if the fs actually needs data).
ok christos@
Some fs's - like kernfs - set their vfs_min_mount_data to zero. Add a check
to prevent an (un)privileged user from requesting a zero-sized allocation
(and thus a panic).
This thing is totally buggy: 'data_len' is modified by the fs, so calling
kmem_free with it while its value has changed since the kmem_alloc is far
from being a good idea.
If the kernel figures out that something mismatches, it will panic
(typically with kernfs).
Revision 1.227: download - view: text, markup, annotated - select for diffs
Wed Apr 16 18:55:17 2014 UTC (10 years, 9 months ago) by maxv
Branches: MAIN
CVS tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +4 -2
lines
An (un)privileged user can easily make the kernel dereference a NULL
pointer.
The kernel allows 'data' to be NULL; it's the fs's responsibility to
ensure that it isn't NULL (if the fs actually needs data).
ok christos@
Revision 1.226: download - view: text, markup, annotated - select for diffs
Sun Mar 23 15:21:16 2014 UTC (10 years, 10 months ago) by hannken
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +24 -27
lines
Change all vfsops to use C99 designated initializers.
No functional changes intended.
Revision 1.225: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:34:51 2014 UTC (10 years, 10 months ago) by hannken
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +15 -33
lines
Change nfs_sync() to use vfs_vnode_iterator.
Revision 1.224: download - view: text, markup, annotated - select for diffs
Tue Feb 25 18:30:12 2014 UTC (10 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +2 -7
lines
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.
Revision 1.223: download - view: text, markup, annotated - select for diffs
Sat Nov 23 13:35:36 2013 UTC (11 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.222: preferred, colored
Changes since revision 1.222: +3 -5
lines
change the mountlist CIRCLEQ into a TAILQ
Revision 1.222: download - view: text, markup, annotated - select for diffs
Sat Sep 14 22:27:01 2013 UTC (11 years, 4 months ago) by martin
Branches: MAIN
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +2 -4
lines
Remove unused variable
Revision 1.220.12.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:07 2013 UTC (11 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +3 -3
lines
resync with head
Revision 1.220.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:27 2013 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +3 -3
lines
sync with head
Revision 1.221: download - view: text, markup, annotated - select for diffs
Tue Jan 22 09:39:14 2013 UTC (12 years ago) by dholland
Branches: MAIN
CVS tags: yamt-pagecache-base8,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +3 -3
lines
Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
ROOTINO -> UFS_ROOTINO
WINO -> UFS_WINO
NXADDR -> UFS_NXADDR
NDADDR -> UFS_NDADDR
NIADDR -> UFS_NIADDR
MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.
No functional change intended.
Revision 1.220: download - view: text, markup, annotated - select for diffs
Mon Oct 24 11:43:30 2011 UTC (13 years, 3 months ago) by hannken
Branches: MAIN
CVS tags: yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
tls-maxphys,
netbsd-6-1,
netbsd-6-0,
netbsd-6
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +4 -2
lines
VOP_GETATTR() needs a shared lock at least.
As nfs_kqpoll() ignores the return value from VOP_GETATTR() initialize
the attrributes to zero -- nfs_kqfilter() does the same.
Revision 1.219: download - view: text, markup, annotated - select for diffs
Fri Oct 7 09:35:06 2011 UTC (13 years, 3 months ago) by hannken
Branches: MAIN
Diff to: previous 1.218: preferred, colored
Changes since revision 1.218: +3 -4
lines
As vnalloc() always allocates with PR_WAITOK there is no longer the need
to test its result for NULL.
Revision 1.217.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:27 2011 UTC (13 years, 7 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.217: preferred, colored; next MAIN 1.218: preferred, colored
Changes since revision 1.217: +4 -4
lines
Catchup with rmind-uvmplock merge.
Revision 1.218: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:35:59 2011 UTC (13 years, 7 months ago) by rmind
Branches: MAIN
Diff to: previous 1.217: preferred, colored
Changes since revision 1.217: +4 -4
lines
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.211.2.4: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:56:04 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.211.2.3: preferred, colored; branchpoint 1.211: preferred, colored; next MAIN 1.212: preferred, colored
Changes since revision 1.211.2.3: +16 -13
lines
sync with head
Revision 1.196.10.8: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:40 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.196.10.7: preferred, colored; branchpoint 1.196: preferred, colored; next MAIN 1.197: preferred, colored
Changes since revision 1.196.10.7: +3 -2
lines
sync with head
Revision 1.210.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:47:51 2010 UTC (14 years, 5 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.210.2.1: preferred, colored; branchpoint 1.210: preferred, colored; next MAIN 1.211: preferred, colored
Changes since revision 1.210.2.1: +23 -15
lines
Sync with HEAD.
Revision 1.217: download - view: text, markup, annotated - select for diffs
Thu Aug 12 09:41:10 2010 UTC (14 years, 5 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: cherry-xenmp
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +3 -2
lines
Do not return a garbage vnode in vpp if fhtovp fails.
Fixes PR kern/43745 for nfs.
Revision 1.196.10.7: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:59 2010 UTC (14 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.196.10.6: preferred, colored; branchpoint 1.196: preferred, colored
Changes since revision 1.196.10.6: +25 -18
lines
sync with head.
Revision 1.216: download - view: text, markup, annotated - select for diffs
Wed Jul 21 17:52:13 2010 UTC (14 years, 6 months ago) by hannken
Branches: MAIN
CVS tags: yamt-nfs-mp-base10
Diff to: previous 1.215: preferred, colored
Changes since revision 1.215: +3 -3
lines
Make holding v_interlock mandatory for callers of vget().
Announced some time ago on tech-kern.
Revision 1.215: download - view: text, markup, annotated - select for diffs
Fri Jul 9 08:25:57 2010 UTC (14 years, 6 months ago) by hannken
Branches: MAIN
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +14 -12
lines
nfs_unmount(): No need to take a second reference for the root node.
nfs_root(): Replace vget() with vref()/vn_lock(), this node already
has a reference.
Revision 1.211.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:20:00 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.211.2.2: preferred, colored; branchpoint 1.211: preferred, colored
Changes since revision 1.211.2.2: +10 -5
lines
sync with head
Revision 1.214: download - view: text, markup, annotated - select for diffs
Thu Jun 24 13:03:17 2010 UTC (14 years, 7 months ago) by hannken
Branches: MAIN
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +3 -3
lines
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.213: download - view: text, markup, annotated - select for diffs
Thu Jun 24 07:54:47 2010 UTC (14 years, 7 months ago) by hannken
Branches: MAIN
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +9 -4
lines
Clean up vnode lock operations:
- VOP_LOCK(vp, flags): Limit the set of allowed flags to LK_EXCLUSIVE,
LK_SHARED and LK_NOWAIT. LK_INTERLOCK is no longer allowed as it
makes no sense here.
- VOP_ISLOCKED(vp): Remove the for some time unused return value
LK_EXCLOTHER. Mark this operation as "diagnostic only".
Making a lock decision based on this operation is no longer allowed.
Discussed on tech-kern.
Revision 1.211.2.2: download - view: text, markup, annotated - select for diffs
Sun May 30 05:18:03 2010 UTC (14 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.211.2.1: preferred, colored; branchpoint 1.211: preferred, colored
Changes since revision 1.211.2.1: +4 -4
lines
sync with head
Revision 1.212: download - view: text, markup, annotated - select for diffs
Sat May 15 20:24:57 2010 UTC (14 years, 8 months ago) by dholland
Branches: MAIN
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +4 -4
lines
nfs_statvfs should return NFS_MAXNAMLEN, not MAXNAMLEN.
(Compile-tested only, but that should be ok)
Revision 1.210.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:44:22 2010 UTC (14 years, 9 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +32 -2
lines
Sync with HEAD.
Revision 1.211.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 16 15:38:12 2010 UTC (14 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +4 -4
lines
Change struct uvm_object::vmobjlock to be dynamically allocated with
mutex_obj_alloc(). It allows us to share the locks among UVM objects.
Revision 1.196.10.6: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:32 2010 UTC (14 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.196.10.5: preferred, colored; branchpoint 1.196: preferred, colored
Changes since revision 1.196.10.5: +32 -2
lines
sync with head
Revision 1.211: download - view: text, markup, annotated - select for diffs
Tue Mar 2 23:19:09 2010 UTC (14 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +32 -2
lines
Get rid of dependency on fs_nfs.h, i.e. source modules with
conditional content depending on if the NFS client is wanted or
not. The server can now be made an independent module not depending
on the nfs client.
Tested with rump_nfs (standalone client), rump_nfsd (standalone
nfsd) and a qemu installation with both the client and the server.
Revision 1.196.10.5: download - view: text, markup, annotated - select for diffs
Wed Jun 24 14:21:43 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.196.10.4: preferred, colored; branchpoint 1.196: preferred, colored
Changes since revision 1.196.10.4: +4 -0
lines
lock vnode when calling VOP_GETATTR because there's no reasonable way for
an implementation of VOP_GETATTR to prevent the vnode from being revoked.
Revision 1.196.10.4: download - view: text, markup, annotated - select for diffs
Wed Jun 24 14:15:35 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.196.10.3: preferred, colored; branchpoint 1.196: preferred, colored
Changes since revision 1.196.10.3: +4 -6
lines
nfs_mount: re-enable MNT_UPDATE. it's broken as it is in trunk.
Revision 1.206.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:22:51 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.206: preferred, colored; next MAIN 1.207: preferred, colored
Changes since revision 1.206: +13 -37
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.196.10.3: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:22 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.196.10.2: preferred, colored; branchpoint 1.196: preferred, colored
Changes since revision 1.196.10.2: +66 -67
lines
sync with head.
Revision 1.203.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:37:45 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.203.2.1: preferred, colored; branchpoint 1.203: preferred, colored; next MAIN 1.204: preferred, colored
Changes since revision 1.203.2.1: +13 -37
lines
Sync with HEAD.
Revision 1.210: download - view: text, markup, annotated - select for diffs
Sun Mar 15 17:20:10 2009 UTC (15 years, 10 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
uebayasi-xip-base,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base
Branch point for: uebayasi-xip
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +3 -3
lines
ansify function definitions
Revision 1.209: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:04:25 2009 UTC (15 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +5 -15
lines
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.208: download - view: text, markup, annotated - select for diffs
Sat Mar 14 15:36:24 2009 UTC (15 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +7 -21
lines
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.207: download - view: text, markup, annotated - select for diffs
Sat Mar 14 14:46:11 2009 UTC (15 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +4 -4
lines
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.203.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:20 2009 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +43 -26
lines
Sync with HEAD.
Revision 1.196.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:34 2009 UTC (16 years ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.196.6.2: preferred, colored; branchpoint 1.196: preferred, colored; next MAIN 1.197: preferred, colored
Changes since revision 1.196.6.2: +46 -25
lines
Sync with HEAD.
Revision 1.206: download - view: text, markup, annotated - select for diffs
Wed Dec 17 20:51:38 2008 UTC (16 years, 1 month ago) by cegger
Branches: MAIN
CVS tags: nick-hppapmap-base2,
mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +10 -10
lines
kill MALLOC and FREE macros.
Revision 1.200.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:28 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.200.4.1: preferred, colored; branchpoint 1.200: preferred, colored; next MAIN 1.201: preferred, colored
Changes since revision 1.200.4.1: +40 -19
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.205: download - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:10 2008 UTC (16 years, 2 months ago) by ad
Branches: MAIN
CVS tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +35 -15
lines
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.204: download - view: text, markup, annotated - select for diffs
Fri Nov 14 13:33:56 2008 UTC (16 years, 2 months ago) by ad
Branches: MAIN
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +2 -5
lines
Remove COMPAT ifdefs that might as well be comments (i.e., they cost us
almost nothing).
Revision 1.203: download - view: text, markup, annotated - select for diffs
Wed Oct 22 12:29:35 2008 UTC (16 years, 3 months ago) by matt
Branches: MAIN
CVS tags: netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
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,
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
Branch point for: nick-hppapmap,
netbsd-5-2,
netbsd-5-1,
netbsd-5
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +3 -3
lines
Don't need nfs_vfs_reinit anymore since we don't resize tables anymore.
Move reinit code to init case.
Revision 1.202: download - view: text, markup, annotated - select for diffs
Wed Oct 22 11:36:06 2008 UTC (16 years, 3 months ago) by matt
Branches: MAIN
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +6 -2
lines
Change NFS to use a RB-tree for its FH->nfsnode lookups.
Revision 1.200.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:17:59 2008 UTC (16 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +13 -11
lines
Sync with HEAD.
Revision 1.199.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:35:43 2008 UTC (16 years, 3 months ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.199.2.1: preferred, colored; next MAIN 1.200: preferred, colored
Changes since revision 1.199.2.1: +13 -11
lines
Sync with HEAD.
Revision 1.196.6.2: download - view: text, markup, annotated - select for diffs
Sun Oct 5 20:11:33 2008 UTC (16 years, 3 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.196.6.1: preferred, colored; branchpoint 1.196: preferred, colored
Changes since revision 1.196.6.1: +11 -9
lines
Sync with HEAD.
Revision 1.201: download - view: text, markup, annotated - select for diffs
Tue Sep 30 21:12:48 2008 UTC (16 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
haad-dm-base1
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +13 -11
lines
Since the nfs root vnode is eternally constant, fully initialize
it in mountfs instead of deferring part of the initialization to
VFS_ROOT(). Fixes theoretical future bugs for nfs roots.
Revision 1.199.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:32:01 2008 UTC (16 years, 7 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +19 -3
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.196.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:30 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +22 -5
lines
Sync with HEAD.
Revision 1.196.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:45 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.196: preferred, colored; next MAIN 1.197: preferred, colored
Changes since revision 1.196: +22 -5
lines
sync with head.
Revision 1.196.10.2: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:49 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.196.10.1: preferred, colored; branchpoint 1.196: preferred, colored
Changes since revision 1.196.10.1: +22 -5
lines
sync with head.
Revision 1.200: download - view: text, markup, annotated - select for diffs
Sat May 10 02:26:10 2008 UTC (16 years, 8 months ago) by rumble
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
hpcarm-cleanup-nbase
Branch point for: haad-dm
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +19 -3
lines
Convert file systems to dynamically attach with the new module interface.
Make VFS hooks dynamic while we're here and say farewell to VFS_ATTACH and
VFS_HOOKS_ATTACH linksets.
As a consequence, most of the file systems can now be loaded as new style
modules.
Quick sanity check by ad@.
Revision 1.199: download - view: text, markup, annotated - select for diffs
Tue May 6 18:43:44 2008 UTC (16 years, 8 months ago) by ad
Branches: MAIN
Branch point for: wrstuden-revivesa
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +3 -4
lines
PR kern/38141 lookup/vfs_busy acquire rwlock recursively
Simplify the mount locking. Remove all the crud to deal with recursion on
the mount lock, and crud to deal with unmount as another weirdo lock.
Hopefully this will once and for all fix the deadlocks with this. With this
commit there are two locks on each mount:
- krwlock_t mnt_unmounting. This is used to prevent unmount across critical
sections like getnewvnode(). It's only ever read locked with rw_tryenter(),
and is only ever write locked in dounmount(). A write hold can't be taken
on this lock if the current LWP could hold a vnode lock.
- kmutex_t mnt_updating. This is taken by threads updating the mount, for
example when going r/o -> r/w, and is only present to serialize updates.
In order to take this lock, a read hold must first be taken on
mnt_unmounting, and the two need to be held across the operation.
One effect of this change: previously if an unmount failed, we would make a
half hearted attempt to back out of it gracefully, but that was unlikely to
work in a lot of cases. Now while an unmount that will be aborted is in
progress, new file operations within the mount will fail instead of being
delayed. That is unlikely to be a problem though, because if the admin
requests unmount of a file system then s(he) has made a decision to deny
access to the resource.
Revision 1.198: download - view: text, markup, annotated - select for diffs
Wed Apr 30 12:49:17 2008 UTC (16 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +6 -5
lines
PR kern/38135 vfs_busy/vfs_trybusy confusion
The previous fix worked, but it opened a window where mounts could have
disappeared from mountlist while the caller was traversing it using
vfs_trybusy(). Fix that.
Revision 1.197: download - view: text, markup, annotated - select for diffs
Tue Apr 29 18:18:09 2008 UTC (16 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +3 -2
lines
PR kern/38057 ffs makes assuptions about devvp file system
PR kern/33406 softdeps get stuck in endless loop
Introduce VFS_FSYNC() and call it when syncing a block device, if it
has a mounted file system.
Revision 1.196.10.1: download - view: text, markup, annotated - select for diffs
Sun Apr 27 12:52:50 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +26 -9
lines
commit some work-in-progress changes to make nfs client mp-safe to a branch,
so that they won't get lost.
- sprinkle some locking
- mark the filesystem, nfstimer callout, and kq kthread mp-safe
- add assertions and comments
- disable upgrade mount for now
- some unrelated cosmetic changes
Revision 1.184.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:08 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.184.2.2: preferred, colored; next MAIN 1.185: preferred, colored
Changes since revision 1.184.2.2: +14 -19
lines
sync with HEAD
Revision 1.148.2.12: download - view: text, markup, annotated - select for diffs
Wed Feb 27 09:10:57 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.148.2.11: preferred, colored; next MAIN 1.149: preferred, colored
Changes since revision 1.148.2.11: +7 -6
lines
revert incomplete nfs client locking for now.
Revision 1.148.2.11: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:37:05 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.148.2.10: preferred, colored
Changes since revision 1.148.2.10: +9 -9
lines
sync with head.
Revision 1.187.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:18 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.187.2.1: preferred, colored; branchpoint 1.187: preferred, colored; next MAIN 1.188: preferred, colored
Changes since revision 1.187.2.1: +39 -40
lines
Sync with HEAD.
Revision 1.148.2.10: download - view: text, markup, annotated - select for diffs
Fri Feb 15 10:40:08 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.148.2.9: preferred, colored
Changes since revision 1.148.2.9: +6 -7
lines
- sprinkle some locks.
- disable MNT_UPDATE because it involves too much locking headache.
- don't overwrite other bits in v_vflags when setting VV_ROOT.
Revision 1.196: download - view: text, markup, annotated - select for diffs
Wed Feb 13 09:51:37 2008 UTC (16 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +8 -7
lines
reject files larger than nm_maxfilesize.
Revision 1.195: download - view: text, markup, annotated - select for diffs
Wed Feb 13 09:47:12 2008 UTC (16 years, 11 months ago) by yamt
Branches: MAIN
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +3 -4
lines
nfs_mountroot: kmem_alloc+memset -> kmem_zalloc
Revision 1.148.2.9: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:24:45 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.148.2.8: preferred, colored
Changes since revision 1.148.2.8: +7 -6
lines
sync with head.
Revision 1.194: download - view: text, markup, annotated - select for diffs
Wed Jan 30 11:47:03 2008 UTC (17 years ago) by ad
Branches: MAIN
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +5 -6
lines
PR kern/37706 (forced unmount of file systems is unsafe):
- Do reference counting for 'struct mount'. Each vnode associated with a
mount takes a reference, and in turn the mount takes a reference to the
vfsops.
- Now that mounts are reference counted, replace the overcomplicated mount
locking inherited from 4.4BSD with a recursable rwlock.
Revision 1.193: download - view: text, markup, annotated - select for diffs
Mon Jan 28 14:31:20 2008 UTC (17 years ago) by dholland
Branches: MAIN
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +4 -2
lines
Fix some race conditions in rename.
Introduce a per-FS rename lock and new vfsops to manipulate it.
Get this lock while renaming. Also add another relookup() in do_sys_rename,
which is a hack to kludge around some of the worst deficiencies of
ufs_rename.
reviewed-by: pooka (and an earlier rev by ad)
posted on tech-kern with no objections.
Revision 1.188.6.3: download - view: text, markup, annotated - select for diffs
Wed Jan 23 19:27:45 2008 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.188.6.2: preferred, colored; branchpoint 1.188: preferred, colored; next MAIN 1.189: preferred, colored
Changes since revision 1.188.6.2: +0 -6
lines
Sync with HEAD.
Revision 1.148.2.8: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:47:37 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.148.2.7: preferred, colored
Changes since revision 1.148.2.7: +28 -30
lines
sync with head
Revision 1.192: download - view: text, markup, annotated - select for diffs
Sun Jan 20 18:09:13 2008 UTC (17 years ago) by joerg
Branches: MAIN
CVS tags: bouyer-xeni386-nbase
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +2 -8
lines
Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.
Revision 1.184.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:57:55 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.184.2.1: preferred, colored
Changes since revision 1.184.2.1: +40 -48
lines
sync with HEAD
Revision 1.188.6.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:11:51 2008 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.188.6.1: preferred, colored; branchpoint 1.188: preferred, colored
Changes since revision 1.188.6.1: +2 -2
lines
Sync with HEAD
Revision 1.191: download - view: text, markup, annotated - select for diffs
Thu Jan 3 01:26:30 2008 UTC (17 years ago) by pooka
Branches: MAIN
CVS tags: matt-armv6-base,
bouyer-xeni386-base
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +4 -4
lines
valloc -> vnalloc, vfree -> vnfree
Avoids collision with userland valloc(3).
no functional change
ad ok
Revision 1.188.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:57:45 2008 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +28 -24
lines
Sync with HEAD
Revision 1.190: download - view: text, markup, annotated - select for diffs
Wed Jan 2 19:26:46 2008 UTC (17 years ago) by yamt
Branches: MAIN
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +8 -12
lines
use kmem_alloc instead of malloc.
Revision 1.189: download - view: text, markup, annotated - select for diffs
Wed Jan 2 11:49:04 2008 UTC (17 years ago) by ad
Branches: MAIN
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +22 -14
lines
Merge vmlocking2 to head.
Revision 1.187.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:21:25 2007 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +14 -26
lines
Sync with HEAD.
Revision 1.148.2.7: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:34:45 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.148.2.6: preferred, colored
Changes since revision 1.148.2.6: +14 -26
lines
sync with head
Revision 1.188.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 4 13:03:36 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking2
Diff to: previous 1.188: preferred, colored; next MAIN 1.189: preferred, colored
Changes since revision 1.188: +22 -14
lines
Pull the vmlocking changes into a new branch.
Revision 1.182.2.6: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:39:03 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.182.2.5: preferred, colored; next MAIN 1.183: preferred, colored
Changes since revision 1.182.2.5: +14 -26
lines
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.188: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:02:21 2007 UTC (17 years, 2 months ago) by pooka
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: vmlocking2,
bouyer-xeni386
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +14 -26
lines
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.148.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:45:21 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.148.2.5: preferred, colored
Changes since revision 1.148.2.5: +3 -3
lines
sync with head.
Revision 1.186.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:03:09 2007 UTC (17 years, 2 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.186: preferred, colored; next MAIN 1.187: preferred, colored
Changes since revision 1.186: +3 -3
lines
Sync with HEAD
Revision 1.184.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:34:24 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +9 -9
lines
sync with HEAD
Revision 1.182.2.5: download - view: text, markup, annotated - select for diffs
Mon Oct 29 02:57:27 2007 UTC (17 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.182.2.4: preferred, colored
Changes since revision 1.182.2.4: +3 -3
lines
Sync with HEAD.
Revision 1.187: download - view: text, markup, annotated - select for diffs
Sun Oct 28 22:24:29 2007 UTC (17 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +3 -3
lines
make NFS_ATTRTIMEO a function.
Revision 1.148.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:36:18 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.148.2.4: preferred, colored
Changes since revision 1.148.2.4: +8 -8
lines
sync with head.
Revision 1.182.2.4: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:49:14 2007 UTC (17 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.182.2.3: preferred, colored
Changes since revision 1.182.2.3: +5 -5
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.174.2.10: download - view: text, markup, annotated - select for diffs
Thu Oct 25 20:52:17 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.174.2.9: preferred, colored; branchpoint 1.174: preferred, colored; next MAIN 1.175: preferred, colored
Changes since revision 1.174.2.9: +5 -8
lines
Fix up mnt_vnodelist handling.
Revision 1.174.2.9: download - view: text, markup, annotated - select for diffs
Wed Oct 24 16:47:03 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.174.2.8: preferred, colored; branchpoint 1.174: preferred, colored
Changes since revision 1.174.2.8: +19 -7
lines
Do locking / use marker vnodes when traversing mountpoint vnode lists.
Revision 1.185.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:49:04 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.185: preferred, colored; next MAIN 1.186: preferred, colored
Changes since revision 1.185: +5 -5
lines
sync with head.
Revision 1.186: download - view: text, markup, annotated - select for diffs
Wed Oct 10 20:42:31 2007 UTC (17 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base
Branch point for: bouyer-xenamd64
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +5 -5
lines
Merge from vmlocking:
- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.
Revision 1.174.2.8: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:44:59 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.174.2.7: preferred, colored; branchpoint 1.174: preferred, colored
Changes since revision 1.174.2.7: +5 -5
lines
Sync with head.
Revision 1.182.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:29:24 2007 UTC (17 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.182.2.2: preferred, colored
Changes since revision 1.182.2.2: +5 -5
lines
Sync with HEAD.
Revision 1.174.2.7: download - view: text, markup, annotated - select for diffs
Sun Sep 16 19:04:39 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.174.2.6: preferred, colored; branchpoint 1.174: preferred, colored
Changes since revision 1.174.2.6: +2 -3
lines
Checkpoint work in progress on the vnode lifecycle and reference counting
stuff. This makes it work properly without kernel_lock and fixes a few
quite old bugs. See vfs_subr.c 1.283.2.17 for details.
Revision 1.179.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 10 10:56:16 2007 UTC (17 years, 4 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.179.2.1: preferred, colored; branchpoint 1.179: preferred, colored; next MAIN 1.180: preferred, colored
Changes since revision 1.179.2.1: +5 -5
lines
Sync with HEAD.
Revision 1.185: download - view: text, markup, annotated - select for diffs
Thu Sep 6 01:11:44 2007 UTC (17 years, 4 months ago) by rmind
Branches: MAIN
CVS tags: yamt-x86pmap-base2,
yamt-x86pmap-base,
nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +5 -5
lines
nfs_mount: Plug a possible leaks.
Invented in 1.114 rev.
From CID: 4534
Revision 1.148.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:44:20 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.148.2.3: preferred, colored
Changes since revision 1.148.2.3: +78 -61
lines
sync with head.
Revision 1.174.2.6: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:28:13 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.174.2.5: preferred, colored; branchpoint 1.174: preferred, colored
Changes since revision 1.174.2.5: +18 -16
lines
Sync with HEAD.
Revision 1.182.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 16 11:03:51 2007 UTC (17 years, 5 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.182.2.1: preferred, colored
Changes since revision 1.182.2.1: +12 -10
lines
Sync with HEAD.
Revision 1.179.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:50:05 2007 UTC (17 years, 5 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +16 -15
lines
Sync with HEAD.
Revision 1.184: download - view: text, markup, annotated - select for diffs
Fri Aug 10 15:12:56 2007 UTC (17 years, 5 months ago) by yamt
Branches: MAIN
Branch point for: matt-armv6
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +12 -10
lines
- instead of scanning an array of iods, maintain a list of idle iods.
- make nfs_getset_niothreads MP friendly.
Revision 1.182.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 9 02:37:28 2007 UTC (17 years, 5 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +3 -4
lines
Sync with HEAD.
Revision 1.183.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 5 09:40:41 2007 UTC (17 years, 5 months ago) by yamt
Branches: matt-mips64
Diff to: previous 1.183.2.1: preferred, colored; branchpoint 1.183: preferred, colored; next MAIN 1.184: preferred, colored
Changes since revision 1.183.2.1: +1133 -0
lines
use kpause rather than lbolt.
Revision 1.183.2.1
Sun Aug 5 09:40:40 2007 UTC (17 years, 5 months ago) by yamt
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.183: +0 -1133
lines
file nfs_vfsops.c was added on branch matt-mips64 on 2007-08-05 09:40:41 +0000
Revision 1.183: download - view: text, markup, annotated - select for diffs
Sun Aug 5 09:40:40 2007 UTC (17 years, 5 months ago) by yamt
Branches: MAIN
CVS tags: matt-mips64-base
Branch point for: matt-mips64
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +3 -4
lines
use kpause rather than lbolt.
Revision 1.182: download - view: text, markup, annotated - select for diffs
Tue Jul 31 21:14:19 2007 UTC (17 years, 6 months ago) by pooka
Branches: MAIN
Branch point for: jmcneill-pm
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +3 -3
lines
* nuke the nameidata parameter from VFS_MOUNT(). Nobody on tech-kern
knew what it was supposed to be used for and wrstuden gave a go-ahead
* while rototilling, convert file systems which went easily to
use VFS_PROTOS() instead of manually prototyping the methods
Revision 1.181: download - view: text, markup, annotated - select for diffs
Thu Jul 26 22:57:36 2007 UTC (17 years, 6 months ago) by pooka
Branches: MAIN
CVS tags: hpcarm-cleanup
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +3 -3
lines
Use eopnotsupp() instead of vfs_stdsuspendctl() and retire the latter.
Revision 1.180: download - view: text, markup, annotated - select for diffs
Fri Jul 20 16:46:44 2007 UTC (17 years, 6 months ago) by pooka
Branches: MAIN
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +3 -3
lines
In sync, skip over vnodes based on if they are clean rather than
if they have pages.
Revision 1.179: download - view: text, markup, annotated - select for diffs
Tue Jul 17 11:19:35 2007 UTC (17 years, 6 months ago) by pooka
Branches: MAIN
CVS tags: nick-csl-alignment-base
Branch point for: nick-csl-alignment
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +4 -3
lines
Make set_statvfs_info() take a parameter for the vfs name instead
of always retrieving it from mp->mnt_op->vfs_name
christos ok
Revision 1.174.2.5: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:28:06 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.174.2.4: preferred, colored; branchpoint 1.174: preferred, colored
Changes since revision 1.174.2.4: +43 -42
lines
Sync with head.
Revision 1.178: download - view: text, markup, annotated - select for diffs
Thu Jul 12 19:35:35 2007 UTC (17 years, 6 months ago) by dsl
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +43 -42
lines
Change the VFS_MOUNT() interface so that the 'data' buffer passed to the
fs code is a kernel buffer, pass though the length of the buffer as well.
Since the length of the userspace buffer isn'it (yet) passed through the mount
system call, add a field to the vfsops structure containing the default length.
Split sys_mount() for calls from compat code.
Ride one of the recent kernel version changes - old fs LKMs will load, but
sys_mount() will reject any attempt to use them.
Revision 1.174.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:12:15 2007 UTC (17 years, 6 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.174: preferred, colored; next MAIN 1.175: preferred, colored
Changes since revision 1.174: +18 -4
lines
Sync with head.
Revision 1.174.2.4: download - view: text, markup, annotated - select for diffs
Mon Jun 18 13:38:19 2007 UTC (17 years, 7 months ago) by yamt
Branches: vmlocking
Diff to: previous 1.174.2.3: preferred, colored; branchpoint 1.174: preferred, colored
Changes since revision 1.174.2.3: +11 -3
lines
fix merge botches.
Revision 1.174.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 17 21:31:57 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.174.2.2: preferred, colored; branchpoint 1.174: preferred, colored
Changes since revision 1.174.2.2: +3 -3
lines
- Increase the number of thread priorities from 128 to 256. How the space
is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
is provided, with hooks for fast-path MD code that can run the interrupt
threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.
Revision 1.174.2.2: download - view: text, markup, annotated - select for diffs
Fri Jun 8 14:18:07 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.174.2.1: preferred, colored; branchpoint 1.174: preferred, colored
Changes since revision 1.174.2.1: +7 -2
lines
Sync with head.
Revision 1.172.2.3: download - view: text, markup, annotated - select for diffs
Mon May 7 10:56:12 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.172.2.2: preferred, colored; next MAIN 1.173: preferred, colored
Changes since revision 1.172.2.2: +18 -4
lines
sync with head.
Revision 1.177: download - view: text, markup, annotated - select for diffs
Sun Apr 29 15:31:08 2007 UTC (17 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
mjf-ufs-trans-base
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +11 -1
lines
don't forget to destroy mutex and condvar.
Revision 1.176: download - view: text, markup, annotated - select for diffs
Sun Apr 29 14:57:00 2007 UTC (17 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +1 -0
lines
use condvar.
Revision 1.175: download - view: text, markup, annotated - select for diffs
Sun Apr 29 10:30:19 2007 UTC (17 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +6 -3
lines
use mutex and condver.
Revision 1.174.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 17:51:14 2007 UTC (17 years, 10 months ago) by ad
Branches: vmlocking
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +6 -5
lines
Pull in the initial set of changes for the vmlocking branch.
Revision 1.172.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 06:00:37 2007 UTC (17 years, 10 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.172.2.1: preferred, colored
Changes since revision 1.172.2.1: +14 -14
lines
Sync with HEAD.
Revision 1.174: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:38 2007 UTC (17 years, 10 months ago) by christos
Branches: MAIN
CVS tags: thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +14 -14
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.172.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 28 09:35:40 2007 UTC (17 years, 11 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +3 -3
lines
sync with head. (somehow missed in the previous)
Revision 1.148.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:12:07 2007 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.148.2.2: preferred, colored
Changes since revision 1.148.2.2: +7 -4
lines
sync with head.
Revision 1.173: download - view: text, markup, annotated - select for diffs
Thu Feb 22 06:14:29 2007 UTC (17 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +3 -3
lines
TRUE -> true, FALSE -> false
Revision 1.172: download - view: text, markup, annotated - select for diffs
Thu Feb 15 16:01:51 2007 UTC (17 years, 11 months ago) by yamt
Branches: MAIN
Branch point for: yamt-idlelwp
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +5 -3
lines
use mutex and rwlock rather than lockmgr.
Revision 1.164.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:48:46 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.164.2.2: preferred, colored; branchpoint 1.164: preferred, colored; next MAIN 1.165: preferred, colored
Changes since revision 1.164.2.2: +3 -2
lines
Sync with head.
Revision 1.171: download - view: text, markup, annotated - select for diffs
Fri Jan 19 14:49:11 2007 UTC (18 years ago) by hannken
Branches: MAIN
CVS tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +3 -2
lines
New file system suspension API to replace vn_start_write and vn_finished_write.
The suspension helpers are now put into file system specific operations.
This means every file system not supporting these helpers cannot be suspended
and therefore snapshots are no longer possible.
Implemented for file systems of type ffs.
The new API is enabled on a kernel option NEWVNGATE. This option is
not enabled by default in any kernel config.
Presented and discussed on tech-kern with much input from
Bill Studenmund <wrstuden@netbsd.org> and YAMAMOTO Takashi <yamt@netbsd.org>.
Welcome to 4.99.9 (new vfs op vfs_suspendctl).
Revision 1.164.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:20 2007 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.164.2.1: preferred, colored; branchpoint 1.164: preferred, colored
Changes since revision 1.164.2.1: +11 -36
lines
Sync with head.
Revision 1.148.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:52 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.148.2.1: preferred, colored
Changes since revision 1.148.2.1: +85 -88
lines
sync with head.
Revision 1.170: download - view: text, markup, annotated - select for diffs
Wed Dec 27 12:51:22 2006 UTC (18 years, 1 month ago) by yamt
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +8 -19
lines
- remove the rest of nqnfs.
- reject NFSMNT_MNTD and NFSMNT_KERB. (no users in tree.)
Revision 1.169: download - view: text, markup, annotated - select for diffs
Wed Dec 27 12:10:09 2006 UTC (18 years, 1 month ago) by yamt
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +5 -19
lines
remove nqnfs.
Revision 1.164.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:19:24 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.164.4.1: preferred, colored; branchpoint 1.164: preferred, colored; next MAIN 1.165: preferred, colored
Changes since revision 1.164.4.1: +15 -17
lines
sync with head.
Revision 1.164.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:44 2006 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +15 -28
lines
Sync with head.
Revision 1.168: download - view: text, markup, annotated - select for diffs
Thu Nov 9 09:53:57 2006 UTC (18 years, 2 months ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +8 -15
lines
remove some __unused in function parameters.
Revision 1.167: download - view: text, markup, annotated - select for diffs
Wed Oct 25 22:01:54 2006 UTC (18 years, 3 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +9 -4
lines
Revisit mnt_vnodelist TAILQ patch. Remove all suspicious TAILQ_FOREACH()
loops where vnodes can get removed or added during the loops. This could
lead to panic's on unmount since nodes are skipped or otherwise
TAILQ_NEXT(0xdeadbeef, ...) was dereferenced.
Revision 1.164.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:43 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +16 -27
lines
sync with head
Revision 1.166: download - view: text, markup, annotated - select for diffs
Fri Oct 20 18:58:12 2006 UTC (18 years, 3 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +3 -3
lines
Replace the LIST structure mp->mnt_vnodelist to a TAILQ structure since all
vnodes were synced and processed backwards. This meant that the last
accessed node was processed first and the earlierst last.
An extra benefit is the removal of the ugly hack from the Berkly days on
LFS.
In the proces, i've also replaced the various variations hand written loops
by the TAILQ_FOREACH() macro's.
Revision 1.165: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:32:47 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +15 -26
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.151.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:59:25 2006 UTC (18 years, 4 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.151: preferred, colored; next MAIN 1.152: preferred, colored
Changes since revision 1.151: +112 -35
lines
sync with head
Revision 1.152.2.4: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:25:56 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.152.2.3: preferred, colored; branchpoint 1.152: preferred, colored; next MAIN 1.153: preferred, colored
Changes since revision 1.152.2.3: +61 -27
lines
sync with head.
Revision 1.164: download - view: text, markup, annotated - select for diffs
Sat Sep 2 13:37:52 2006 UTC (18 years, 4 months ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +6 -1
lines
nfs_fhtovp: try to detect stale or invalid handles by issuing VOP_GETATTR.
Revision 1.163: download - view: text, markup, annotated - select for diffs
Sat Sep 2 12:40:58 2006 UTC (18 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +51 -18
lines
implement vptofh and fhtovp for nfs.
Revision 1.162: download - view: text, markup, annotated - select for diffs
Sat Sep 2 07:26:47 2006 UTC (18 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +4 -2
lines
fix default type decls
fix incomplete initializer
Revision 1.161: download - view: text, markup, annotated - select for diffs
Thu Aug 24 12:40:39 2006 UTC (18 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +2 -3
lines
Don't free what we did not allocate.
Revision 1.160: download - view: text, markup, annotated - select for diffs
Wed Aug 23 17:19:32 2006 UTC (18 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +5 -10
lines
Change iostat_alloc() to take the parent pointer and the name directly, so
that callers are not responsible for initializing the fields. Store the name
inside the struct instead of maintaining a pointer to external storage, or
leaked memory (nfs case).
Revision 1.152.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:47:05 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.152.2.2: preferred, colored; branchpoint 1.152: preferred, colored
Changes since revision 1.152.2.2: +6 -5
lines
sync with head
Revision 1.159: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:14 2006 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +4 -4
lines
Use the LWP cached credentials where sane.
Revision 1.157.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:50:06 2006 UTC (18 years, 6 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.157: preferred, colored; next MAIN 1.158: preferred, colored
Changes since revision 1.157: +4 -3
lines
Merge from HEAD.
Revision 1.158: download - view: text, markup, annotated - select for diffs
Thu Jul 13 12:00:26 2006 UTC (18 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +4 -3
lines
Fix alignement problems for fhandle_t, exposed by gcc4.1.
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.
Discussed on tech-kern, with lots of help from yamt (thanks!).
Revision 1.152.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:54:28 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.152.2.1: preferred, colored; branchpoint 1.152: preferred, colored
Changes since revision 1.152.2.1: +16 -5
lines
sync with head.
Revision 1.148.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:11:59 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +102 -72
lines
sync with head.
Revision 1.155.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:10:37 2006 UTC (18 years, 7 months ago) by chap
Branches: chap-midi
Diff to: previous 1.155: preferred, colored; next MAIN 1.156: preferred, colored
Changes since revision 1.155: +21 -5
lines
Sync with head.
Revision 1.157: download - view: text, markup, annotated - select for diffs
Wed Jun 7 22:34:17 2006 UTC (18 years, 7 months ago) by kardel
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
gdamore-uart-base,
chap-midi-nbase,
chap-midi-base
Branch point for: gdamore-uart
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +16 -5
lines
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.151.6.3: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:39:13 2006 UTC (18 years, 7 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.151.6.2: preferred, colored; next MAIN 1.152: preferred, colored
Changes since revision 1.151.6.2: +24 -16
lines
Sync with head.
Revision 1.152.6.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:46 2006 UTC (18 years, 8 months ago) by tron
Branches: peter-altq
Diff to: previous 1.152: preferred, colored; next MAIN 1.153: preferred, colored
Changes since revision 1.152: +47 -16
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.152.2.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:59:15 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +47 -16
lines
sync with head.
Revision 1.156: download - view: text, markup, annotated - select for diffs
Sat May 20 07:42:02 2006 UTC (18 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base5,
simonb-timecounters-base
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +5 -0
lines
mountnfs: reject wrongly-sized filehandle for nfsv2.
Revision 1.155: download - view: text, markup, annotated - select for diffs
Sun May 14 21:32:21 2006 UTC (18 years, 8 months ago) by elad
Branches: MAIN
Branch point for: chap-midi
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +19 -16
lines
integrate kauth.
Revision 1.152.4.5: download - view: text, markup, annotated - select for diffs
Thu May 11 23:31:36 2006 UTC (18 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.152.4.4: preferred, colored; branchpoint 1.152: preferred, colored; next MAIN 1.153: preferred, colored
Changes since revision 1.152.4.4: +8 -6
lines
sync with head
Revision 1.152.4.4: download - view: text, markup, annotated - select for diffs
Sat May 6 23:32:11 2006 UTC (18 years, 8 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.152.4.3: preferred, colored; branchpoint 1.152: preferred, colored
Changes since revision 1.152.4.3: +3 -2
lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
that need it.
Approved by core.
Revision 1.151.6.2: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:40:16 2006 UTC (18 years, 9 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.151.6.1: preferred, colored
Changes since revision 1.151.6.1: +26 -3
lines
Sync with head.
Revision 1.154: download - view: text, markup, annotated - select for diffs
Thu Apr 20 12:13:53 2006 UTC (18 years, 9 months ago) by blymn
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +8 -6
lines
Prefix iostat structure elements with io_
Revision 1.152.4.3: download - view: text, markup, annotated - select for diffs
Wed Apr 19 05:06:37 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.152.4.2: preferred, colored; branchpoint 1.152: preferred, colored
Changes since revision 1.152.4.2: +23 -2
lines
sync with head.
Revision 1.153: download - view: text, markup, annotated - select for diffs
Fri Apr 14 13:09:06 2006 UTC (18 years, 9 months ago) by blymn
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +23 -2
lines
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.152.4.2: download - view: text, markup, annotated - select for diffs
Fri Apr 14 10:01:35 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.152.4.1: preferred, colored; branchpoint 1.152: preferred, colored
Changes since revision 1.152.4.1: +6 -2
lines
Store real/saved user/group ids too.
Revision 1.152.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:06:28 2006 UTC (18 years, 10 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +14 -16
lines
Adapt to kernel authorization KPI.
This could use some testing...
Revision 1.151.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 1 09:28:47 2006 UTC (18 years, 11 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.151: preferred, colored; next MAIN 1.152: preferred, colored
Changes since revision 1.151: +3 -3
lines
sync with head.
Revision 1.152: download - view: text, markup, annotated - select for diffs
Tue Feb 21 04:32:39 2006 UTC (18 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
peter-altq,
elad-kernelauth
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +3 -3
lines
Use device_class() instead of accessing dv_class directly.
Revision 1.151.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 4 14:10:02 2006 UTC (18 years, 11 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +16 -5
lines
In the timecounter case, call tc_setclock() instead of setting
time.tv_sec/tv_nsec directly.
Revision 1.151: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:25:17 2005 UTC (19 years, 1 month ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +44 -42
lines
merge ktrace-lwp.
Revision 1.131.2.10: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:11:56 2005 UTC (19 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.131.2.9: preferred, colored; next MAIN 1.132: preferred, colored
Changes since revision 1.131.2.9: +17 -31
lines
Sync with HEAD. Here we go again...
Revision 1.135.2.1.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 27 05:17:56 2005 UTC (19 years, 3 months ago) by riz
Branches: netbsd-2
Diff to: previous 1.135.2.1: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135.2.1: +3 -3
lines
Pull up following revision(s) (requested by christos in ticket #5863):
sys/nfs/nfs_subs.c: revision 1.152 via patch
sys/nfs/nfs.h: revision 1.49
sys/nfs/nfs_vfsops.c: revision 1.149 via patch
usr.sbin/amd/include/config.h: revision 1.36
sys/nfs/nfs_vnops.c: revision 1.227 via patch
sys/nfs/nfsmount.h: revision 1.34
Allow the attribute cache to be turned off, and allow amd to do it.
Revision 1.145.2.1: download - view: text, markup, annotated - select for diffs
Tue Sep 27 10:31:29 2005 UTC (19 years, 4 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Diff to: previous 1.145: preferred, colored; next MAIN 1.146: preferred, colored
Changes since revision 1.145: +3 -3
lines
Pull up following revision(s) (requested by christos in ticket #816):
sys/nfs/nfs_vfsops.c: revision 1.149
sys/nfs/nfs_vnops.c: revision 1.227
ATTRTIMEO takes 2 args.
Revision 1.150: download - view: text, markup, annotated - select for diffs
Fri Sep 23 12:10:33 2005 UTC (19 years, 4 months ago) by jmmv
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +2 -16
lines
Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
file sys/nfs/nfs_export.c. The former was becoming large and its code
is always compiled, regardless of the build options. Using the latter,
the code is only compiled in when NFSSERVER is enabled. While doing this,
also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
path and a set of export entries. At the moment it can only clear the
exports list or append entries, one by one, but it is done in a way that
allows setting the whole set of entries atomically in the future (see the
comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
that it becomes file system agnostic. In fact, all this whole thing was
done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
exports initialization; done internally by the kernel when initializing
the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
subsystems can run arbitrary code upon receipt of specific VFS events.
At the moment, this only provides support for unmount and is used to
destroy NFS exports lists from the file systems being unmounted, though it
has room for extension.
Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
Revision 1.149: download - view: text, markup, annotated - select for diffs
Mon Sep 19 00:49:52 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +3 -3
lines
ATTRTIMEO takes 2 args.
Revision 1.148: download - view: text, markup, annotated - select for diffs
Thu Jun 9 02:19:59 2005 UTC (19 years, 7 months ago) by atatat
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +3 -4
lines
Properly fix the constipated lossage wrt -Wcast-qual and the sysctl
code. I know it's not the prettiest code, but it seems to work rather
well in spite of itself.
Revision 1.147: download - view: text, markup, annotated - select for diffs
Sun May 29 20:58:13 2005 UTC (19 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +17 -16
lines
- sprinkle const
- avoid shadowed variables
- mark bad const use with XXXUNCONST
Revision 1.144.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:37 2005 UTC (19 years, 9 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.144: preferred, colored; next MAIN 1.145: preferred, colored
Changes since revision 1.144: +6 -5
lines
sync with -current
Revision 1.131.2.9: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:32:11 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.131.2.8: preferred, colored
Changes since revision 1.131.2.8: +3 -2
lines
Sync with HEAD.
Revision 1.146: download - view: text, markup, annotated - select for diffs
Tue Mar 29 02:41:05 2005 UTC (19 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +3 -2
lines
- Define a VFS_ATTACH() macro that places a reference to a vfsops structure
into the "vfsops" link set.
- Use VFS_ATTACH() where vfsops are declared for individual file systems.
- In vfsinit(), traverse the "vfsops" link set, rather than vfs_list_initial[].
Revision 1.144.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:51 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.144: preferred, colored; next MAIN 1.145: preferred, colored
Changes since revision 1.144: +5 -5
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.131.2.8: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:54:21 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.131.2.7: preferred, colored
Changes since revision 1.131.2.7: +5 -5
lines
Sync with HEAD.
Hi Perry!
Revision 1.145: download - view: text, markup, annotated - select for diffs
Sat Feb 26 22:39:50 2005 UTC (19 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +5 -5
lines
nuke trailing whitespace
Revision 1.131.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:32:55 2005 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.131.2.6: preferred, colored
Changes since revision 1.131.2.6: +3 -2
lines
Sync with HEAD.
Revision 1.144: download - view: text, markup, annotated - select for diffs
Sun Jan 2 16:08:30 2005 UTC (20 years ago) by thorpej
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +3 -2
lines
Add the system call and VFS infrastructure for file system extended
attributes.
From FreeBSD.
Revision 1.131.2.6: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:38:41 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.131.2.5: preferred, colored
Changes since revision 1.131.2.5: +45 -43
lines
Fix the sync with head I botched.
Revision 1.131.2.5: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:56:20 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.131.2.4: preferred, colored
Changes since revision 1.131.2.4: +43 -45
lines
Sync with HEAD.
Revision 1.131.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:59:14 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.131.2.3: preferred, colored
Changes since revision 1.131.2.3: +3 -9
lines
Sync with HEAD.
Revision 1.131.2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 24 17:57:41 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.131.2.2: preferred, colored
Changes since revision 1.131.2.2: +8 -11
lines
Undo part of the ktrace/lwp changes. In particular:
* Remove the "lwp *" argument that was added to vget(). Turns out
that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
just to appease the above.
Revision 1.143: download - view: text, markup, annotated - select for diffs
Sun Aug 15 07:19:54 2004 UTC (20 years, 5 months ago) by mycroft
Branches: MAIN
CVS tags: kent-audio1-base,
kent-audio1
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +3 -9
lines
Fixing age old cruft:
* Rather than using mnt_maxsymlinklen to indicate that a file systems returns
d_type fields(!), add a new internal flag, IMNT_DTYPE.
Add 3 new elements to ufsmount:
* um_maxsymlinklen, replaces mnt_maxsymlinklen (which never should have existed
in the first place).
* um_dirblksiz, which tracks the current directory block size, eliminating the
FS-specific checks littered throughout the code. This may be used later to
make the block size variable.
* um_maxfilesize, which is the maximum file size, possibly adjusted lower due
to implementation issues.
Sync some bug fixes from FFS into ext2fs, particularly:
* ffs_lookup.c 1.21, 1.28, 1.33, 1.48
* ffs_inode.c 1.43, 1.44, 1.45, 1.66, 1.67
* ffs_vnops.c 1.84, 1.85, 1.86
Clean up some crappy pointer frobnication.
Revision 1.131.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:56:19 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.131.2.1: preferred, colored
Changes since revision 1.131.2.1: +91 -95
lines
Sync with HEAD
Revision 1.142: download - view: text, markup, annotated - select for diffs
Mon Jul 12 12:40:30 2004 UTC (20 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +4 -2
lines
nfs_fsinfo: when changing rsize/wsize,
keep mnt_fs_bshift in-sync. otherwise genfs_getpages behaves badly.
Revision 1.141: download - view: text, markup, annotated - select for diffs
Mon Jul 5 07:28:45 2004 UTC (20 years, 6 months ago) by pk
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +3 -3
lines
Call inittodr() from main(). Let file system code set the recorded `last
update' time (if any) through the new function setrootfstime().
Revision 1.135.2.1: download - view: text, markup, annotated - select for diffs
Sat May 29 09:04:02 2004 UTC (20 years, 8 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE
Branch point for: netbsd-2
Diff to: previous 1.135: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135: +8 -5
lines
Pull up revision 1.139 (requested by atatat in ticket #393):
Sysctl descriptions under vfs subtree
Revision 1.140: download - view: text, markup, annotated - select for diffs
Tue May 25 14:54:58 2004 UTC (20 years, 8 months ago) by hannken
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +3 -2
lines
Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.
- Not enabled by default. Needs kernel option FFS_SNAPSHOT.
- Change parameters of ffs_blkfree.
- Let the copy-on-write functions return an error so spec_strategy
may fail if the copy-on-write fails.
- Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock.
- Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer.
- Add a function ffs_checkfreefile needed for snapshot creation.
- Add special handling of snapshot files:
Snapshots may not be opened for writing and the attributes are read-only.
Use the mtime as the time this snapshot was taken.
Deny mtime updates for snapshot files.
- Add function transferlockers to transfer any waiting processes from
one lock to another.
- Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through
a vnode.
- Add snapshot support to ls, fsck_ffs and dump.
Welcome to 2.0F.
Approved by: Jason R. Thorpe <thorpej@netbsd.org>
Revision 1.139: download - view: text, markup, annotated - select for diffs
Tue May 25 04:44:44 2004 UTC (20 years, 8 months ago) by atatat
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +8 -5
lines
Sysctl descriptions under vfs subtree
Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat May 22 22:52:16 2004 UTC (20 years, 8 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +8 -7
lines
Eliminate several uses of `curproc' from the socket-layer code and from NFS.
Add a new explicit `struct proc *p' argument to socreate(), sosend().
Use that argument instead of curproc. Follow-on changes to pass that
argument to socreate(), sosend(), and (*so->so_send)() calls.
These changes reviewed and independently recoded by Matt Thomas.
Changes to soreceive() and (*dom->dom_exernalize() from Matt Thomas:
pass soreceive()'s struct uio* uio->uio_procp to unp_externalize().
Eliminate curproc from unp_externalize. Also, now soreceive() uses
its uio->uio_procp value, pass that same value downward to
((pr->pru_usrreq)() calls for consistency, instead of (struct proc * )0.
Similar changes in sys/nfs to eliminate (most) uses of curproc,
either via the req-> r_procp field of a struct nfsreq *req argument,
or by passing down new explicit struct proc * arguments.
Reviewed by: Matt Thomas, posted to tech-kern.
NB: The (*pr->pru_usrreq)() change should be tested on more (all!) protocols.
Revision 1.137: download - view: text, markup, annotated - select for diffs
Tue Apr 27 17:37:31 2004 UTC (20 years, 9 months ago) by jrf
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -3
lines
First pass for some caddr_t removal and changes to get rid of it where we
no longer use and/or need it
- removed casts from unionfs, deadfs and fdesc
(there are more to hunt down still)
- changed vfs_quotactl args argumet from caddr_t to void *
- changed vfs_quotactl structures/callers to reflect the api change
Compiled fine and ran for about a day. Approved/reviewed by
christos@netbsd.org and gimpy@netbsd.org.
Revision 1.136: download - view: text, markup, annotated - select for diffs
Wed Apr 21 01:05:43 2004 UTC (20 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +34 -28
lines
Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
Revision 1.135: download - view: text, markup, annotated - select for diffs
Wed Mar 24 15:34:55 2004 UTC (20 years, 10 months ago) by atatat
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +10 -6
lines
Tango on sysctl_createv() and flags. The flags have all been renamed,
and sysctl_createv() now uses more arguments.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Thu Dec 4 19:38:25 2003 UTC (21 years, 1 month ago) by atatat
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +37 -57
lines
Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al. Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.
Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded. Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.
All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.
PS - I'm sorry, but there's a distinct lack of documentation at the
moment. I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.
Revision 1.112.10.3: download - view: text, markup, annotated - select for diffs
Sat Oct 4 08:34:30 2003 UTC (21 years, 3 months ago) by tron
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002
Diff to: previous 1.112.10.2: preferred, colored; branchpoint 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112.10.2: +7 -4
lines
Pull up revision 1.133 (requested by martti in ticket #1506):
plug mbuf leak due to manual mbuf handling. PR kern/13807.
(martti confirmed that it stabilizes the situation described in kren/13807)
Revision 1.133: download - view: text, markup, annotated - select for diffs
Thu Oct 2 06:01:51 2003 UTC (21 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +7 -4
lines
plug mbuf leak due to manual mbuf handling. PR kern/13807.
(martti confirmed that it stabilizes the situation described in kren/13807)
Revision 1.132: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:33:54 2003 UTC (21 years, 5 months ago) by agc
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +3 -7
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.131.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:27:11 2003 UTC (21 years, 7 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +51 -46
lines
Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:32:19 2003 UTC (21 years, 7 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +40 -42
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Sun Jun 29 18:43:37 2003 UTC (21 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +8 -11
lines
Undo part of the ktrace/lwp changes. In particular:
* Remove the "lwp *" argument that was added to vget(). Turns out
that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
just to appease the above.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:22:18 2003 UTC (21 years, 7 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +51 -46
lines
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.128: download - view: text, markup, annotated - select for diffs
Wed May 21 13:50:55 2003 UTC (21 years, 8 months ago) by yamt
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +2 -5
lines
remove local definitions of TRUE and FALSE.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Sat May 3 16:28:58 2003 UTC (21 years, 8 months ago) by yamt
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +4 -2
lines
better handling of write verifier change.
Revision 1.126: download - view: text, markup, annotated - select for diffs
Thu Apr 24 21:21:06 2003 UTC (21 years, 9 months ago) by drochner
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +11 -8
lines
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.125: download - view: text, markup, annotated - select for diffs
Wed Apr 16 21:44:25 2003 UTC (21 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +6 -11
lines
PR/1796: John Kohl: statfs misbehaves under chrooted environments.
- Under chroot it displays only the visible filesystems with appropriate paths.
- The statfs f_mntonname gets adjusted to contain the real path from root.
- While was there, fixed a bug in ext2fs, locking problems with vfs_getfsstat(),
and factored out some of the vfsop statfs() code to copy_statfs_info(). This
fixes the problem where some filesystems forgot to set fsid.
- Made coda look more like a normal fs.
Revision 1.124: download - view: text, markup, annotated - select for diffs
Wed Apr 2 15:14:24 2003 UTC (21 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +3 -5
lines
use queue manipulation macros.
Revision 1.123: download - view: text, markup, annotated - select for diffs
Fri Mar 28 12:33:17 2003 UTC (21 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +6 -4
lines
if rsize was explicitly specified by mount_nfs,
prefer it to rtpref from nfsd. the same for wsize and wtpref.
ok'ed by fvdl.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Wed Feb 26 06:31:20 2003 UTC (21 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +6 -4
lines
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.121: download - view: text, markup, annotated - select for diffs
Sat Feb 1 06:23:49 2003 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +4 -2
lines
Add extensible malloc types, adapted from FreeBSD. This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant. Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.
Revision 1.101.2.13: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:46:51 2002 UTC (22 years, 1 month ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.101.2.12: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.2.12: +6 -4
lines
Sync with HEAD.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun Nov 24 11:02:57 2002 UTC (22 years, 2 months ago) by scw
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +6 -4
lines
Fix an uninitialised variable warning.
Revision 1.101.2.12: download - view: text, markup, annotated - select for diffs
Tue Oct 22 18:09:45 2002 UTC (22 years, 3 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.101.2.11: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.11: +20 -14
lines
Sync with HEAD.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Mon Oct 21 12:52:34 2002 UTC (22 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-aftermerge
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +4 -4
lines
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.118: download - view: text, markup, annotated - select for diffs
Mon Oct 21 03:58:07 2002 UTC (22 years, 3 months ago) by enami
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +18 -12
lines
When printing filesystem specific parameters, also print the address and
port of server numerically.
Revision 1.101.2.11: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:45:36 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.101.2.10: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.10: +25 -0
lines
Catch up to -current.
Revision 1.104.2.4: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:44:39 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.104.2.3: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.2.3: +27 -2
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.117: download - view: text, markup, annotated - select for diffs
Tue Oct 1 15:00:04 2002 UTC (22 years, 4 months ago) by christos
Branches: MAIN
CVS tags: kqueue-base
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -2
lines
forgot to set deadthresh; thanks to YAMAMOTO Takashi.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Sat Sep 21 18:08:27 2002 UTC (22 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +26 -2
lines
MNT_GETARGS support
Revision 1.104.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:49:50 2002 UTC (22 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.104.2.2: preferred, colored
Changes since revision 1.104.2.2: +27 -14
lines
sync kqueue branch with HEAD
Revision 1.112.8.1: download - view: text, markup, annotated - select for diffs
Thu Aug 29 00:56:57 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112: +27 -14
lines
catch up with -current.
Revision 1.101.2.10: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:46:56 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.101.2.9: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.9: +27 -14
lines
Catch up to -current.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Tue Jul 30 07:40:13 2002 UTC (22 years, 6 months ago) by soren
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +3 -3
lines
Die, qaddr_t, die! - mnt_data in struct mount is already effectively
a void *, so stop pretending otherwise.
Revision 1.112.10.2: download - view: text, markup, annotated - select for diffs
Mon Jul 29 15:00:57 2002 UTC (22 years, 6 months ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Diff to: previous 1.112.10.1: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.10.1: +18 -18
lines
Pull up revision 1.114 (requested by enami in ticket #555):
Synchronize code and comment again to prevent mbuf leak. Sprinkle some
KNF while I'm here.
Revision 1.112.10.1: download - view: text, markup, annotated - select for diffs
Mon Jul 29 14:59:46 2002 UTC (22 years, 6 months ago) by lukem
Branches: netbsd-1-6
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +28 -15
lines
Pull up revision 1.113 (requested by jaromir in ticket #555):
Reduce stack usage on the NFS mount code path. This fixes kernel stack
overflow when using IPsec on vax, as reported by Olaf Seibert on
current-users@.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Fri Jul 26 01:36:30 2002 UTC (22 years, 6 months ago) by enami
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +18 -18
lines
Synchronize code and comment again to prevent mbuf leak. Sprinkle some
KNF while I'm here.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Thu Jul 25 19:03:27 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +28 -15
lines
Reduce stack usage on the NFS mount code path. This fixes kernel stack
overflow when using IPsec on vax, as reported by Olaf Seibert on
current-users@.
Revision 1.101.2.9: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:40:36 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.101.2.8: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.8: +2 -3
lines
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.101.2.8: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:12:11 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.101.2.7: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.7: +3 -3
lines
Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).
Revision 1.104.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:04:27 2002 UTC (23 years ago) by thorpej
Branches: kqueue
Diff to: previous 1.104.2.1: preferred, colored
Changes since revision 1.104.2.1: +12 -5
lines
Sync kqueue branch with -current.
Revision 1.101.2.7: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:34:34 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.101.2.6: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.6: +4 -2
lines
Catch up to -current.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Tue Dec 4 18:38:08 2001 UTC (23 years, 1 month ago) by christos
Branches: MAIN
CVS tags: newlock-base,
newlock,
netbsd-1-6-base,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Branch point for: netbsd-1-6,
gehenna-devsw
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +4 -2
lines
PR/14817: Gregory McGarry: NFS_V2_ONLY doesn't seem to work.
Revision 1.101.2.6: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:18:47 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.101.2.5: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.5: +4 -1
lines
Catch up to -current.
Revision 1.110.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:19:38 2001 UTC (23 years, 2 months ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +4 -1
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Sat Nov 10 10:59:10 2001 UTC (23 years, 2 months ago) by lukem
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +4 -1
lines
add RCSIDs
Revision 1.101.2.5: download - view: text, markup, annotated - select for diffs
Mon Oct 22 20:42:10 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.101.2.4: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.4: +3 -3
lines
Catch up to -current.
Revision 1.106.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 11 00:02:34 2001 UTC (23 years, 3 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.106.2.1: preferred, colored; branchpoint 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106.2.1: +3 -3
lines
Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Mon Oct 8 00:22:13 2001 UTC (23 years, 3 months ago) by chs
Branches: MAIN
CVS tags: thorpej-devvp-base3
Branch point for: thorpej-mips-cache
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -3
lines
revert a change that I accidentally included with ubcperf.
Revision 1.106.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:48:03 2001 UTC (23 years, 4 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +8 -6
lines
Catch up with -current.
Revision 1.101.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:36:57 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.101.2.3: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.3: +8 -6
lines
Catch up to -current.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Thu Sep 20 08:22:04 2001 UTC (23 years, 4 months ago) by chs
Branches: MAIN
CVS tags: thorpej-devvp-base2
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +4 -3
lines
fix nfs_bmap() so that it works for both genfs_{get,put}pages() and swap/vnd.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Sat Sep 15 20:36:40 2001 UTC (23 years, 4 months ago) by chs
Branches: MAIN
CVS tags: post-chs-ubcperf
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +5 -5
lines
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.107: download - view: text, markup, annotated - select for diffs
Sat Sep 15 16:13:02 2001 UTC (23 years, 4 months ago) by chs
Branches: MAIN
CVS tags: pre-chs-ubcperf
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +2 -1
lines
add a new VFS op, vfs_reinit, which is called when desiredvnodes is
adjusted via sysctl. file systems that have hash tables which are
sized based on the value of this variable now resize those hash tables
using the new value. the max number of FFS softdeps is also recalculated.
convert various file systems to use the <sys/queue.h> macros for
their hash tables.
Revision 1.101.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:12:57 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.101.2.2: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.2: +4 -2
lines
Catch up with -current.
Revision 1.104.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:14:03 2001 UTC (23 years, 5 months ago) by lukem
Branches: kqueue
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -1
lines
update to -current
Revision 1.106: download - view: text, markup, annotated - select for diffs
Mon Jul 30 22:51:06 2001 UTC (23 years, 6 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +2 -2
lines
Check the passed file handle length _before_, not _after_ copyin()
Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Jul 30 22:23:42 2001 UTC (23 years, 6 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -1
lines
Check the length of a passed in filehandle to the mount call before
doing a copyin. From Ken Ashcraft @ Stanford via Constantine Sapuntzakis.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Sun Jul 1 02:13:36 2001 UTC (23 years, 7 months ago) by gmcgarry
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +2 -2
lines
Introduce NFS_DEFAULT_NIOTHREADS to define the default number
of nfs_niothreads instead of hard-coding 4.
This change has the advantage that the default can be specified
at compile time. If the root filesystem is mounted over NFS
we don't have an opportunity to use the syscall to limit the
number of threads. Useful on small-memory machines.
Revision 1.101.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:09:36 2001 UTC (23 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.101.2.1: preferred, colored; branchpoint 1.101: preferred, colored
Changes since revision 1.101.2.1: +6 -3
lines
Catch up to -current.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed May 30 11:42:14 2001 UTC (23 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +2 -2
lines
use _KERNEL_OPT
Revision 1.102: download - view: text, markup, annotated - select for diffs
Sat Apr 28 16:11:47 2001 UTC (23 years, 9 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +5 -2
lines
When NFS_V2_ONLY is defined, refuse to mount NFSv3 and NQNFS filesystems,
rather than pretending they're NFSv2 and hoping for the best. Fix based on
that supplied by Christian Groessler.
Revision 1.84.2.5: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:32:02 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.84.2.4: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.4: +13 -20
lines
Sync with HEAD.
Revision 1.101.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:50:00 2001 UTC (23 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -2
lines
Initial commit of scheduler activations and lightweight process support.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon Feb 12 20:02:30 2001 UTC (23 years, 11 months ago) by fvdl
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +13 -20
lines
Instead of storing the filehandle in the mount structure, store the
vnode pointer. This avoids a locking problem with nfs_nget, and
can be done because we always have a reference on the root vnode
of the filesystem.
Revision 1.84.2.4: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:17:35 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.84.2.3: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.2.3: +20 -16
lines
Sync with HEAD.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Tue Feb 6 11:40:02 2001 UTC (23 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +16 -12
lines
Do actual vnode locking for NFS.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Mon Jan 22 12:17:41 2001 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +5 -5
lines
make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const
Revision 1.91.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 14 23:37:22 2000 UTC (24 years, 1 month ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91: +2 -2
lines
Pull up revision 1.96 (requested by fvdl):
Improve NFS performance, possibly with as much as 100% in
throughput. Please note: this implies a kernel interface change,
VOP_FSYNC gains two arguments.
Revision 1.84.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:50:38 2000 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.84.2.2: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.2.2: +3 -2
lines
Sync with HEAD (for UBC fixes).
Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Dec 10 19:36:32 2000 UTC (24 years, 1 month ago) by chs
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +4 -3
lines
in *_sync(), don't skip vnodes which have (potentially dirty) pages.
Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:19:23 2000 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.84.2.1: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.2.1: +3 -1
lines
Sync with HEAD.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Mon Nov 27 08:39:50 2000 UTC (24 years, 2 months ago) by chs
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -1
lines
Initial integration of the Unified Buffer Cache project.
Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:11:20 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +69 -29
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.96: download - view: text, markup, annotated - select for diffs
Tue Sep 19 22:15:41 2000 UTC (24 years, 4 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -2
lines
Update for VOP_FSYNC parameter change.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Sep 19 17:04:51 2000 UTC (24 years, 4 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +19 -2
lines
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.94: download - view: text, markup, annotated - select for diffs
Wed Aug 23 09:59:22 2000 UTC (24 years, 5 months ago) by enami
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -3
lines
Update nfs mount flags correctly. Fixes a bug introduced in rev. 1.65.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Jul 30 06:22:04 2000 UTC (24 years, 6 months ago) by simonb
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +1 -2
lines
Remove inclusion of <uvm/uvm_extern.h> that was there only to keep
<sys/sysctl.h> happy.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Jun 27 17:52:35 2000 UTC (24 years, 7 months ago) by mrg
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +2 -2
lines
remove include of <vm/vm.h>
Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:10:19 2000 UTC (24 years, 7 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90: +2 -2
lines
Sync w/ netbsd-1-5-base.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Sat Jun 10 18:27:04 2000 UTC (24 years, 7 months ago) by assar
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -2
lines
make vfs_getnewfsid only take one argument and fetch the name of the
filesystem from the supplied mount argument. also make makefstype
take a const parameter. update all the callers.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun May 7 01:38:36 2000 UTC (24 years, 8 months ago) by tsarna
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +11 -1
lines
Auto-adjusting vfs.nfs.iothreads: when mounting the first nfs
filesystem, if the number of threads is "-1", meaning it's never been
set, then set it to 4. You can override by setting this to some other
number (including 0) before or after mounting, of course.
Thanks to whoever it was that suggested this on ICB... sorry I don't
remember who.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Apr 15 21:14:53 2000 UTC (24 years, 9 months ago) by tsarna
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +14 -1
lines
Death to nfsiod!
It is replaced by kernel threads that do the same thing. The number of
kernel threads used is set with the vfs.nfs.iothreads sysctl.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Mar 30 12:51:17 2000 UTC (24 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +22 -22
lines
Remove register declarations.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Mar 29 03:43:34 2000 UTC (24 years, 10 months ago) by simonb
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +1 -2
lines
Don't need to include <sys/conf.h> here.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Mar 16 18:08:30 2000 UTC (24 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -1
lines
Add new VFS op routine - vfs_done and call it on filesystem detach
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading. This fixes random panics
when LKM for filesystem using pools was loaded and unloaded several
times.
For each leaf filesystem, add appropriate vfs_done routine.
Revision 1.84.8.2: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:36:31 1999 UTC (25 years, 1 month ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.84.8.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.8.1: +3 -2
lines
Pull up to last week's -current.
Revision 1.84.8.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 23:20:03 1999 UTC (25 years, 1 month ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -2
lines
Initial commit of recent changes to make DEV_BSIZE go away.
Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.
cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.
Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".
Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Nov 15 18:49:11 1999 UTC (25 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
chs-ubc2-newbase
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -2
lines
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.83.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 5 07:13:25 1999 UTC (25 years, 2 months ago) by cgd
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +8 -5
lines
pull up rev 1.84 from trunk (requested by fvdl):
Avoid a panic when forcibly unmounting a hung NFS mount, e.g. at
reboot.
Revision 1.84.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 19 12:50:23 1999 UTC (25 years, 3 months ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +3 -2
lines
Bring in Kirk McKusick's FFS softdep code on a branch.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Aug 29 18:32:15 1999 UTC (25 years, 5 months ago) by sommerfeld
Branches: MAIN
CVS tags: fvdl-softdep-base,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +8 -5
lines
Once the mount structure is definitely doomed, always set the
NFSMNT_DISMNT bit in it so that any waiters can go away cleanly.
(formerly, we did this only in the NQNFS/KERB cases).
Revision 1.83.4.1: download - view: text, markup, annotated - select for diffs
Sun Jul 4 01:46:31 1999 UTC (25 years, 7 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +3 -1
lines
initialize new struct mount fields in nfs_mountfs().
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Mar 6 05:34:41 1999 UTC (25 years, 10 months ago) by fair
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame,
chs-ubc2-base
Branch point for: netbsd-1-4,
chs-ubc2
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +7 -7
lines
Snatch a patch from OpenBSD to fix PRs 6529 and 7074.
Adjust fxdr_hyper() and txdr_hyper() macros.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Mar 5 07:27:58 1999 UTC (25 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +8 -8
lines
Clean up some sign extension bogosity in statfs, so negative numbers are
actually negative on a LP64 client.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Feb 26 23:44:47 1999 UTC (25 years, 11 months ago) by wrstuden
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +13 -3
lines
Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now
only handles the file handle to vnode conversion, and a new call,
vfs_checkexp(), performs the export verification.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun Feb 21 15:11:09 1999 UTC (25 years, 11 months ago) by drochner
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +7 -69
lines
-call nfs_boot_cleanup() if mount failed
-g/c diskless swap initialization
Revision 1.79: download - view: text, markup, annotated - select for diffs
Thu Nov 12 22:31:02 1998 UTC (26 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -2
lines
Use different names for the "nfscon" label to tsleep(), so that it can
be seen in which one a process is sleeping.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Sep 28 21:20:52 1998 UTC (26 years, 4 months ago) by drochner
Branches: MAIN
CVS tags: chs-ubc-base,
chs-ubc
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -2
lines
Use the "atime" instead of "mtime" of the remote root directory as
base for inittodr() - it is closer to the current time.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Aug 9 21:19:52 1998 UTC (26 years, 5 months ago) by perry
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +12 -12
lines
bzero->memset, bcopy->memcpy, bcmp->memcmp
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Jul 5 08:49:48 1998 UTC (26 years, 6 months ago) by jonathan
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +5 -1
lines
* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Jun 24 20:58:46 1998 UTC (26 years, 7 months ago) by sommerfe
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +1 -7
lines
Always include fifos; "not an option any more".
Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Jun 22 22:01:06 1998 UTC (26 years, 7 months ago) by sommerfe
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -1
lines
defopt for options FIFO
Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Jun 5 19:53:01 1998 UTC (26 years, 7 months ago) by kleink
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -2
lines
Convert fsync vnode operator implementations and usage from the old `waitfor'
argument and MNT_WAIT/MNT_NOWAIT to `flags' and FSYNC_WAIT.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Mar 24 13:49:21 1998 UTC (26 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2
lines
Re-instate call to "safe" disconnect function that got lost during the
Lite2 merge.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Mar 3 19:07:20 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +7 -2
lines
Historical practice assumes that NFS root mounts are initially read/write.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Tue Mar 3 13:32:28 1998 UTC (26 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -2
lines
Don't try to apply the cookie endian heuristic on a mounted file (e.g.
a swapfile). From Matthias Drochner.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:24:28 1998 UTC (26 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +24 -45
lines
Merge with Lite2 + local changes
Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:13:47 1998 UTC (26 years, 11 months ago) by fvdl
Branches: WFJ-920714,
CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +338 -147
lines
Import 4.4BSD-Lite2
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:10:41 1998 UTC (26 years, 11 months ago) by fvdl
Branches: WFJ-920714,
CSRG
CVS tags: lite-1,
date-03-may-96
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +326 -185
lines
Import 4.4BSD-Lite for reference
Revision 1.68: download - view: text, markup, annotated - select for diffs
Wed Feb 18 07:05:49 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +18 -1
lines
Place a pointer to an array of our vnodeopv_desc *'s in our vfsops
structure, for use by vfs_attach().
Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 7 05:41:48 1998 UTC (26 years, 11 months ago) by mellon
Branches: netbsd-1-3
CVS tags: 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
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +2 -2
lines
Pull up 1.67 (fvdl)
Revision 1.67: download - view: text, markup, annotated - select for diffs
Fri Jan 30 22:44:15 1998 UTC (27 years ago) by fvdl
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -2
lines
Only take the receive lock before disconnecting when doing it from
nfs_decode_args. Otherwise we might just end up locking against ourselves.
XXX workaround, will do ok for now. Proper fix forthcoming.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Oct 19 01:46:40 1997 UTC (27 years, 3 months ago) by fvdl
Branches: MAIN
CVS tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-BETA
Branch point for: netbsd-1-3
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +13 -4
lines
* 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.62.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 14 15:58:45 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.62.2.2: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.2.2: +37 -25
lines
Update marc-pcmcia branch from trunk.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Oct 10 01:53:29 1997 UTC (27 years, 3 months ago) by fvdl
Branches: MAIN
CVS tags: marc-pcmcia-base
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +37 -25
lines
* 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.62.2.2: download - view: text, markup, annotated - select for diffs
Tue Sep 16 03:51:25 1997 UTC (27 years, 4 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.62.2.1: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.1: +1 -10
lines
Update marc-pcmcia branch from trunk.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Sep 9 21:39:19 1997 UTC (27 years, 4 months ago) by gwr
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +1 -10
lines
Move the call to nfs_boot_getfh() from nfs_vfsops.c to nfs_boot.c
(just for better isolation - it can now be static)
Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 1 21:02:59 1997 UTC (27 years, 5 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +32 -27
lines
Update marc-pcmcia branch from trunk.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Aug 29 16:12:51 1997 UTC (27 years, 5 months ago) by gwr
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +32 -27
lines
Supporting changes for the new BOOTP support in nfs_mountroot.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Jul 18 17:31:46 1997 UTC (27 years, 6 months ago) by christos
Branches: MAIN
CVS tags: marc-pcmcia-bp
Branch point for: marc-pcmcia
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -2
lines
Fix reversed test for version 3 that broke nfs version 2 mounts.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Jul 17 23:54:31 1997 UTC (27 years, 6 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +22 -7
lines
* 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.60: download - view: text, markup, annotated - select for diffs
Thu Jun 12 17:14:54 1997 UTC (27 years, 7 months ago) by mrg
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -4
lines
remove swap configuration.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue May 27 23:37:41 1997 UTC (27 years, 8 months ago) by gwr
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +39 -20
lines
Minor reorganization of nfs_mountroot code to simplify BOOTP support.
The RPC/bootparamd calls to get the root and swap paths are now done
in nfs_boot_init() instead of nfs_boot_getfh(), so the latter now just
does the RPC/mountd call. Also changed some panics into error returns.
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 12 21:25:16 1997 UTC (27 years, 10 months ago) by is
Branches: is-newarp
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +8 -1
lines
Merge in changes from Trunk
Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Sun Mar 2 16:20:23 1997 UTC (27 years, 11 months ago) by mrg
Branches: mrg-vm-swap
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +5 -8
lines
swap configuration is no longer done at boot time.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Feb 22 02:48:26 1997 UTC (27 years, 11 months ago) by fvdl
Branches: MAIN
CVS tags: is-newarp-before-merge
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +8 -1
lines
Silently clear NFSMNT_NOCONN if it's a TCP mount.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Feb 4 21:33:21 1997 UTC (27 years, 11 months ago) by fvdl
Branches: MAIN
CVS tags: is-newarp-base
Branch point for: mrg-vm-swap,
is-newarp
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -1
lines
* Make sure a new socket is created when switching to/from NOCONN with
a mount
* Add extra printf statements to hopefully get some more info on lockups,
specifically when a send error is ignored.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Jan 31 03:00:31 1997 UTC (28 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +9 -2
lines
- Add nfs_mountroot to nfs_vfsops.
- Only attempt to mount NFS root on a DV_IFNET class device.
- If nfs_boot_init() failes, return the error code to the caller.
Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 14 21:27:22 1997 UTC (28 years ago) by thorpej
Branches: thorpej-setroot
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +9 -2
lines
Snapshot of work-in-progress, committed to private branch.
These changes implement machine-independent root device and file system
selection. Notable features:
- All ports behave in a consistent manner regarding root
device selection.
- No more "options GENERIC"; all kernels have the ability
to boot with RB_ASKNAME to select root device and file system
type.
- Root file system type can be wildcarded; a machine-independent
function will try all possible file systems for the selected
root device until one succeeds.
- If the root file system fails to mount, the operator will
be given the chance to select a new root device and file
system type, rather than having the machine simply panic.
- nfs_mountroot() no longer panics if any part of the NFS
mount process fails; it now returns an error, giving the
operator a chance to recover.
- New, more consistent, config(8) grammar. The constructs:
config netbsd swap generic
config netbsd root on nfs
have been replaced with:
config netbsd root on ? type ?
config netbsd root on ? type nfs
Additionally, the operator may select or wildcard root file
system type in the kernel configuration file:
config netbsd root on cd0a type cd9660
config(8) now requires that a "root" specification be
made. "root" may be wired down or wildcarded. "swap" and
"dump" specifications are optional, and follow previous
semantics.
- config(8) has a new "file-system" keyword, used to configure
file systems into the kernel. Eventually, this will be used
to generate the default vfssw[].
- "options NFSCLIENT" is obsolete, and is replaced by
"file-system NFS". "options NFSSERVER" still exists, since
NFS server support is independent of the NFS file system
client.
- sys/arch/<foo>/<foo>/swapgeneric.c is no longer used, and
will be removed; all information is now generated by config(8).
As of this commit, all ports except arm32 have been updated to use
the new setroot(). Only SPARC, i386, and Alpha ports have been
tested at this time. Port masters should test these changes on their
ports, and report any problems back to me.
More changes are on their way, including RB_ASKNAME support in
nfs_mountroot() (to prompt for server address and path) and, potentially,
the ability to select rarp/bootparam or bootp in nfs_mountroot().
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Dec 22 10:10:35 1996 UTC (28 years, 1 month ago) by cgd
Branches: MAIN
Branch point for: thorpej-setroot
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +7 -6
lines
Change the second and third args to struct vfsops' (*vfs_mount)() to
'const char *', and 'void *', respectively. The second arg is taken directly
from user arguments, and is const there, so must be const in the prototypes
and functions. The third arg is also taken directly from user arguments.
It doesn't have to be changed, but since it's cleaner to keep the type
the same as the user arg's type, and I'm already making the 'const char *'
change...
Revision 1.46.4.2: download - view: text, markup, annotated - select for diffs
Wed Dec 11 09:53:49 1996 UTC (28 years, 1 month ago) by mycroft
Branches: netbsd-1-2
CVS tags: netbsd-1-2-PATCH001
Diff to: previous 1.46.4.1: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.4.1: +2 -2
lines
From trunk:
Ignore reference count when using MNT_FORCE.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Dec 3 00:22:48 1996 UTC (28 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3
lines
Make NFSSERVER work without NFSCLIENT. This is achieved by splitting
the client and server/shared data initialization into separate functions,
and calling the server/shared initialization directly from main().
Problem noted in PR #1308 (Kenneth Stailey) and PR #1780 (Chris Demetriou).
Fix suggested in PR #1780 by Chris Demetriou, and munged a bit by me,
and OK'd by Frank van der Linden <fvdl@netbsd.org>.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Dec 2 22:55:44 1996 UTC (28 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -1
lines
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.52: download - view: text, markup, annotated - select for diffs
Sun Oct 20 13:13:26 1996 UTC (28 years, 3 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +14 -32
lines
Enhancements from Matthias Drochner:
- Try V3 first for diskless booting. Fall back to V2 if V3 fails.
- optionally (option NFS_BOOT_TCP) try a TCP mount first
for diskless booting. Fall back to UDP if it fails.
- Enable switching between UDP and TCP for remounts.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Oct 13 01:39:10 1996 UTC (28 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +7 -7
lines
revert kprintf changes
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Oct 10 23:31:25 1996 UTC (28 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +7 -7
lines
printf -> kprintf, sprintf -> ksprintf
Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Jun 24 10:26:40 1996 UTC (28 years, 7 months ago) by pk
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2
lines
Ignore the mountpoint's `v_usecount' in nfs_unmount() if MNT_FORCE is on.
This takes care of two related problems:
- `umount -f' wouldn't work if someone's working directory is
the filesystem root.
- vfs_unmountall() would complain about a busy `/' on a
diskless setup.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Jun 14 22:22:33 1996 UTC (28 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +1 -3
lines
avoid unnecessary checks of m_get/MGET/etc.'s return values. When
they're called with M_WAIT, they are defined to never return NULL.
Revision 1.46.4.1: download - view: text, markup, annotated - select for diffs
Sat May 25 22:40:35 1996 UTC (28 years, 8 months ago) by fvdl
Branches: netbsd-1-2
CVS tags: netbsd-1-2-RELEASE,
netbsd-1-2-BETA
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +11 -2
lines
Pull in bugfixes from main branch.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu May 23 22:47:29 1996 UTC (28 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +10 -1
lines
* Make mounts with symlinks work (needed for direct mounts with amd). PR #1917
* Never change the NQNFS flag and/or version when just doing an update mount.
Fixes a problem that made diskless booting impossible under some
circumstances.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Mar 24 23:58:10 1996 UTC (28 years, 10 months ago) by fvdl
Branches: MAIN
CVS tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +8 -4
lines
Return earlier on error in nfs_statfs. Should fix problem reported by
both mrg and cgd.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Mar 17 02:38:20 1996 UTC (28 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -4
lines
Fix printf format strings.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Mar 13 00:38:55 1996 UTC (28 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -2
lines
Make readdirsize default to rsize if rsize is explicitly specified,
and readdirsize isn't.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Feb 18 11:53:56 1996 UTC (28 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +243 -55
lines
Bring in a merge of Rick Macklem's NFSv3 code from Lite2
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Feb 13 17:53:35 1996 UTC (28 years, 11 months ago) by gwr
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -2
lines
Do the RPC to bootparamd a little later (just before the mountd call)
so that we do not ask for the "swap" path when swapping on disk.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:48:38 1996 UTC (28 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +22 -18
lines
nfs prototype changes
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Feb 1 00:41:05 1996 UTC (29 years ago) by jtc
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2
lines
Rename struct timespec fields to conform to POSIX.1b
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Dec 19 23:07:49 1995 UTC (29 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +8 -8
lines
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.38: download - view: text, markup, annotated - select for diffs
Sun Aug 13 00:00:08 1995 UTC (29 years, 5 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2
lines
splnet --> splsoftnet
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Jun 18 14:48:04 1995 UTC (29 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -3
lines
don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN
Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri Jun 2 19:50:17 1995 UTC (29 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2
lines
Fix more off by one errors.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Mar 18 05:54:10 1995 UTC (29 years, 10 months ago) by gwr
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +10 -3
lines
Print the "root/swap on ..." messages here.
Add NFS_BOOT_OPTIONS for things like NFSMNT_NOCONN.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Mar 9 12:06:06 1995 UTC (29 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2
lines
copy*str() should use size_t.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Jan 18 06:15:19 1995 UTC (30 years ago) by mycroft
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -8
lines
Turn mountlist into a CIRCLEQ, and handle setting and checking of MNT_ROOTFS
differently.
Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 23 09:31:01 1994 UTC (30 years, 5 months ago) by pk
Branches: netbsd-1-0
Diff to: previous 1.32.2.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.1: +785 -0
lines
When updating an NFS mountpoint, we cannot just increase `rsize' or `wsize'
without also adjusting the corresponding socket buffers. We could probably
call sbrelease/sbreserve/soreserve ourselves without much harm, but we'd
have to duplicate much of the logic in nfs_connect(). In stead, blow the
socket away entirely and let nfs_connect() do its job again.
Revision 1.32.2.1
Tue Aug 23 09:31:00 1994 UTC (30 years, 5 months ago) by pk
Branches: netbsd-1-0
FILE REMOVED
Changes since revision 1.32: +0 -785
lines
file nfs_vfsops.c was added on branch netbsd-1-0 on 1994-08-23 09:31:01 +0000
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Aug 23 09:31:00 1994 UTC (30 years, 5 months ago) by pk
Branches: MAIN
CVS tags: netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0
Branch point for: netbsd-1-0
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +20 -0
lines
When updating an NFS mountpoint, we cannot just increase `rsize' or `wsize'
without also adjusting the corresponding socket buffers. We could probably
call sbrelease/sbreserve/soreserve ourselves without much harm, but we'd
have to duplicate much of the logic in nfs_connect(). In stead, blow the
socket away entirely and let nfs_connect() do its job again.
Revision 1.27.2.4: download - view: text, markup, annotated - select for diffs
Fri Aug 19 12:10:40 1994 UTC (30 years, 5 months ago) by mycroft
Diff to: previous 1.27.2.3: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.3: +2 -3
lines
update from trunk
Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Aug 18 22:48:00 1994 UTC (30 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -3
lines
More LIST/CIRCLEQ migration.
Revision 1.27.2.3: download - view: text, markup, annotated - select for diffs
Sun Aug 14 08:18:10 1994 UTC (30 years, 5 months ago) by mycroft
Diff to: previous 1.27.2.2: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.2.2: +13 -2
lines
update from trunk
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Aug 14 03:35:27 1994 UTC (30 years, 5 months ago) by gwr
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +13 -2
lines
Add the option NFS_BOOT_RWSIZE to allow diskless boot configuration
to start with a reduced NFS read and write size (need for wd8003).
Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 12 06:42:00 1994 UTC (30 years, 5 months ago) by mycroft
Diff to: previous 1.27.2.1: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.2.1: +3 -3
lines
update from trunk
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Aug 12 03:49:24 1994 UTC (30 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
kill two errant spaces.
Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 11 23:48:30 1994 UTC (30 years, 5 months ago) by mycroft
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -1
lines
update from trunk
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Aug 11 22:25:38 1994 UTC (30 years, 5 months ago) by gwr
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -1
lines
Diskless boot will now bind the local socket to a reserved port to
satisfy picky servers. Also fix some missing initializations.
(Thanks to Chuck Cranor for PR#394 -- now fixed.)
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jul 3 09:24:01 1994 UTC (30 years, 7 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-0-base
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -1
lines
Save FS type at mount time for some later tests.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:42:26 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -2
lines
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jun 28 19:12:59 1994 UTC (30 years, 7 months ago) by gwr
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4
lines
Minor nits: replace ... with ...
p->p_cred->pc_ucred p->p_ucred
x / DEV_BSIZE x >> DEV_BSHIFT
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Jun 22 14:01:45 1994 UTC (30 years, 7 months ago) by pk
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +6 -9
lines
straighten out diskless swap code somewhat.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Jun 14 03:29:12 1994 UTC (30 years, 7 months ago) by gwr
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +16 -3
lines
Fix false "hits" in the attribute cache when booting diskless.
(Yet another thing that breaks when time.tv_sec is near zero...)
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Jun 13 15:29:01 1994 UTC (30 years, 7 months ago) by gwr
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +100 -135
lines
New diskless boot code (uses RARP, bootparamd).
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jun 8 11:37:03 1994 UTC (30 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +332 -209
lines
Update to 4.4-Lite fs code, with local changes.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed May 18 00:35:17 1994 UTC (30 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -5
lines
put sync printing in one place
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri May 13 06:12:51 1994 UTC (30 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2
lines
Trivial function name change.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed May 11 22:26:09 1994 UTC (30 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -5
lines
Cast some args to caddr_t.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Apr 23 07:55:13 1994 UTC (30 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2
lines
make fs types consistent over new kernels. also, some proto foo.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Apr 21 07:49:11 1994 UTC (30 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -7
lines
Convert mount, vnode, and buf structs to use <sys/queue.h>. Also,
some knf and structure frobbing to do along with it.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Apr 18 06:18:22 1994 UTC (30 years, 9 months ago) by glass
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +77 -33
lines
revised nfs diskless support. uses bootp+rpc to gather parameters
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Apr 14 04:06:26 1994 UTC (30 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +10 -3
lines
fs types are names now.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Apr 10 01:22:23 1994 UTC (30 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1
lines
make damn sure nothing's holding on the the mount point vnode
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Mar 31 05:44:49 1994 UTC (30 years, 10 months ago) by glass
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
make panic string unique
Revision 1.4.4.5: download - view: text, markup, annotated - select for diffs
Tue Dec 21 08:07:19 1993 UTC (31 years, 1 month ago) by cgd
Branches: magnum
Diff to: previous 1.4.4.4: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.4: +3 -1
lines
update from trunk
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Dec 21 08:07:09 1993 UTC (31 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -1
lines
oops; fix last
Revision 1.4.4.4: download - view: text, markup, annotated - select for diffs
Tue Dec 21 07:50:49 1993 UTC (31 years, 1 month ago) by cgd
Branches: magnum
Diff to: previous 1.4.4.3: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.3: +4 -2
lines
update from trunk
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Dec 21 07:49:30 1993 UTC (31 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -2
lines
from jsp: Changed to get attributes of root node and
generate correct type, rather than assuming it's a directory.
This allows Amd direct mounts to work correctly.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 18 00:45:41 1993 UTC (31 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +24 -23
lines
Canonicalize all #includes.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Dec 7 23:37:43 1993 UTC (31 years, 1 month ago) by pk
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -1
lines
Exclusive access when manipulating flag field in mount structure.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Dec 7 23:29:27 1993 UTC (31 years, 1 month ago) by pk
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -3
lines
Don't allow the NFS_LOCKBITS to be set or reset from user land.
Allow other flags (SOFT,HARD,SPONGY, etc) to be altered by `mount -u'.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Dec 6 23:38:14 1993 UTC (31 years, 1 month ago) by pk
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +58 -42
lines
Allow changing of various NFS parameters by using `mount -u ...'.
Revision 1.4.4.3: download - view: text, markup, annotated - select for diffs
Sat Nov 20 02:02:11 1993 UTC (31 years, 2 months ago) by cgd
Branches: magnum
Diff to: previous 1.4.4.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.2: +3 -30
lines
update from trunk
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Nov 19 02:32:34 1993 UTC (31 years, 2 months ago) by cgd
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -30
lines
patch from Ukai Fumitoshi <ukai@kmc.kyoto-u.ac.jp>
to do the right thing with NFS fsid's and getnewfsid()
Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Sun Nov 14 22:22:31 1993 UTC (31 years, 2 months ago) by mycroft
Branches: magnum
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.4.1: +23 -23
lines
Canonicalize all #includes.
Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Fri Sep 24 08:56:42 1993 UTC (31 years, 4 months ago) by mycroft
Branches: magnum
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
Make all files using spl*() #include cpu.h. Changes from trunk.
nfs_vfsops.c, nfsmount.h: Make nfs_quotactl() take an int rather than a uid_t,
as it might be -1.
nfs_vnops.c: va_size and va_bytes are now quads.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jul 13 10:04:29 1993 UTC (31 years, 6 months ago) by cgd
Branches: 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,
magnum-base
Branch point for: magnum
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
diskless changes made last time were hosed; were using NULL for
"no credentials" rather than NOCRED.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jul 7 12:06:36 1993 UTC (31 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -2
lines
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.2: download - view: text, markup, annotated - select for diffs
Thu May 20 03:18:53 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1
lines
more rcs id adding and header cleanup. i like vi macros!
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 10 months ago) by cgd
Branches: WFJ-920714,
CSRG
CVS tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-8,
WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
initial import of 386bsd-0.1 sources
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 10 months ago) by cgd
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>