CVS log for src/sys/nfs/nfs_subs.c
Up to [cvs.NetBSD.org] / src / sys / nfs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.242: download - view: text, markup, annotated - select for diffs
Wed Feb 9 21:50:24 2022 UTC (2 years, 9 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.241: preferred, colored
Changes since revision 1.241: +3 -3
lines
s/ony/only/
Revision 1.241: download - view: text, markup, annotated - select for diffs
Sat Sep 5 16:30:12 2020 UTC (4 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.240: preferred, colored
Changes since revision 1.240: +3 -3
lines
Round of uvm.h cleanup.
The poorly named uvm.h is generally supposed to be for uvm-internal
users only.
- Narrow it to files that actually need it -- mostly files that need
to query whether curlwp is the pagedaemon, which should maybe be
exposed by an external header.
- Use uvm_extern.h where feasible and uvm_*.h for things not exposed
by it. We should split up uvm_extern.h but this will serve for now
to reduce the uvm.h dependencies.
- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use
UVMHIST(ubchist), since ubchist is declared in uvm.h but the
reference evaporates if UVMHIST is not defined, so we reduce header
file dependencies.
- Make uvm_device.h and uvm_swap.h independently includable while
here.
ok chs@
Revision 1.240: download - view: text, markup, annotated - select for diffs
Mon May 25 21:15:10 2020 UTC (4 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.239: preferred, colored
Changes since revision 1.239: +5 -5
lines
- Alter the convention for uvm_page_array slightly, so the basic search
parameters can't change part way through a search: move the "uobj" and
"flags" arguments over to uvm_page_array_init() and store those with the
array.
- With that, detect when it's not possible to find any more pages in the
tree with the given search parameters, and avoid repeated tree lookups if
the caller loops over uvm_page_array_fill_and_peek().
Revision 1.232.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:59 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.232.2.1: preferred, colored; branchpoint 1.232: preferred, colored; next MAIN 1.233: preferred, colored
Changes since revision 1.232.2.1: +40 -16
lines
Merge changes from current as of 20200406
Revision 1.239: download - view: text, markup, annotated - select for diffs
Sat Apr 4 07:07:20 2020 UTC (4 years, 8 months ago) by mlelstv
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Diff to: previous 1.238: preferred, colored
Changes since revision 1.238: +4 -4
lines
NFSv2 is limited to use only 32bit in metadata. Prevent that larger
metadata values are simply truncated.
-> clamp filesystem block counts to signed 32bit.
-> clamp file sizes to signed 32bit (*)
Some NFSv2 clients also have problems to handle buffer sizes larger
than (signed) 16bit.
-> clamp buffer sizes to signed 16bit for better compatibility.
(*) This can lead to erroneous behaviour for files larger than 2GB
that NFSv2 cannot handle but it is still better than before.
An alternative would be to (partially) reject operations on files
larger than 2GB, but which causes other problems.
Revision 1.238: download - view: text, markup, annotated - select for diffs
Sun Mar 8 22:12:42 2020 UTC (4 years, 8 months ago) by mgorny
Branches: MAIN
Diff to: previous 1.237: preferred, colored
Changes since revision 1.237: +8 -4
lines
Update NFS errno mapping and add assert for correctness
Add the mapping for errno values missing in nfsrv_v2errmap[]. While
at it, add a compile-time assert to make sure that the array does not
become out-of-date again.
Revision 1.236.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:08 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.236: preferred, colored; next MAIN 1.237: preferred, colored
Changes since revision 1.236: +31 -20
lines
Sync with head.
Revision 1.237: download - view: text, markup, annotated - select for diffs
Mon Feb 24 20:18:53 2020 UTC (4 years, 9 months ago) by ad
Branches: MAIN
CVS tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3
Diff to: previous 1.236: preferred, colored
Changes since revision 1.236: +31 -20
lines
v_interlock -> vmobjlock
Revision 1.236: download - view: text, markup, annotated - select for diffs
Sun Dec 15 21:11:34 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.235: preferred, colored
Changes since revision 1.235: +12 -3
lines
Merge from yamt-pagecache:
- do gang lookup of pages using radixtree.
- remove now unused uvm_object::uo_memq and vm_page::listq.queue.
Revision 1.232.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:49 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.232: preferred, colored
Changes since revision 1.232: +8 -8
lines
Sync with HEAD
Revision 1.230.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:05 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.230.2.3: preferred, colored; branchpoint 1.230: preferred, colored; next MAIN 1.231: preferred, colored
Changes since revision 1.230.2.3: +5 -5
lines
Sync with HEAD, resolve a few conflicts
Revision 1.235: download - view: text, markup, annotated - select for diffs
Sat Dec 22 14:28:57 2018 UTC (5 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.234: preferred, colored
Changes since revision 1.234: +4 -4
lines
Replace M_ALIGN and MH_ALIGN by m_align.
Revision 1.234: download - view: text, markup, annotated - select for diffs
Sat Dec 22 13:11:38 2018 UTC (5 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.233: preferred, colored
Changes since revision 1.233: +3 -3
lines
Replace: M_MOVE_PKTHDR -> m_move_pkthdr. No functional change, since the
former is a macro to the latter.
Revision 1.230.2.3: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:45 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.230.2.2: preferred, colored; branchpoint 1.230: preferred, colored
Changes since revision 1.230.2.2: +5 -5
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.233: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:36 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Diff to: previous 1.232: preferred, colored
Changes since revision 1.232: +5 -5
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.229.6.1: download - view: text, markup, annotated - select for diffs
Fri Jun 8 10:25:23 2018 UTC (6 years, 5 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2
Diff to: previous 1.229: preferred, colored; next MAIN 1.230: preferred, colored
Changes since revision 1.229: +4 -2
lines
Pull up following revision(s) (requested by maya in ticket #856):
sys/nfs/nfs.h: revision 1.76
sys/nfs/nfs_subs.c: revision 1.230
sys/nfs/nfs_socket.c: revision 1.199
sys/nfs/nfs_clntsocket.c: revision 1.6
PR/40491: From Tobias Ulmer in tech-kern@:
1. Protect the nfs request queue with its own mutex
2. make the nfs_receive queue check for signals so that intr mounts
can be interrupted.
XXX: pullup-8
Revision 1.230.2.2: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:17 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.230.2.1: preferred, colored; branchpoint 1.230: preferred, colored
Changes since revision 1.230.2.1: +3 -6
lines
Sync with HEAD
Revision 1.232: download - view: text, markup, annotated - select for diffs
Tue May 8 16:47:58 2018 UTC (6 years, 6 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.231: preferred, colored
Changes since revision 1.231: +3 -6
lines
Use M_MOVE_PKTHDR.
Revision 1.230.2.1: download - view: text, markup, annotated - select for diffs
Wed May 2 07:20:24 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +3 -3
lines
Synch with HEAD
Revision 1.231: download - view: text, markup, annotated - select for diffs
Thu Apr 26 20:10:44 2018 UTC (6 years, 7 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-0502
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +3 -3
lines
Hum. This should be M_READONLY, not M_ROMAP.
M_ROMAP tells us whether the mbuf storage is mapped on a read-only page.
But an mbuf can still be read-only in the sense that the storage is
shared with other mbufs.
Revision 1.230: download - view: text, markup, annotated - select for diffs
Sun Jan 21 20:36:49 2018 UTC (6 years, 10 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +4 -2
lines
PR/40491: From Tobias Ulmer in tech-kern@:
1. Protect the nfs request queue with its own mutex
2. make the nfs_receive queue check for signals so that intr mounts
can be interrupted.
XXX: pullup-8
Revision 1.222.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:06 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.222.8.1: preferred, colored; branchpoint 1.222: preferred, colored; next MAIN 1.223: preferred, colored
Changes since revision 1.222.8.1: +3 -1
lines
update from HEAD
Revision 1.227.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:13 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.227.4.1: preferred, colored; branchpoint 1.227: preferred, colored; next MAIN 1.228: preferred, colored
Changes since revision 1.227.4.1: +4 -2
lines
Sync with HEAD
Revision 1.228.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:30 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.228: preferred, colored; next MAIN 1.229: preferred, colored
Changes since revision 1.228: +4 -2
lines
Sync with HEAD
Revision 1.228.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:07 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.228: preferred, colored; next MAIN 1.229: preferred, colored
Changes since revision 1.228: +4 -2
lines
Sync with HEAD
Revision 1.229: download - view: text, markup, annotated - select for diffs
Sat Apr 1 19:35:57 2017 UTC (7 years, 8 months ago) by riastradh
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,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.228: preferred, colored
Changes since revision 1.228: +4 -2
lines
KASSERT(mutex_owned(vp->v_interlock)) in vnode iterator selector.
Revision 1.227.4.1: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:23 2016 UTC (8 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +3 -3
lines
Sync with HEAD
Revision 1.228: download - view: text, markup, annotated - select for diffs
Fri Jun 10 13:27:16 2016 UTC (8 years, 5 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20170320,
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,
localcount-20160914,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
bouyer-socketcan
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +3 -3
lines
Introduce m_set_rcvif and m_reset_rcvif
The API is used to set (or reset) a received interface of a mbuf.
They are counterpart of m_get_rcvif, which will come in another
commit, hide internal of rcvif operation, and reduce the diff of
the upcoming change.
No functional change.
Revision 1.222.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:36 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.222: preferred, colored
Changes since revision 1.222: +59 -33
lines
Rebase to HEAD as of a few days ago.
Revision 1.227: download - view: text, markup, annotated - select for diffs
Sun Aug 10 16:44:36 2014 UTC (10 years, 3 months ago) by tls
Branches: MAIN
CVS tags: tls-maxphys-base,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +6 -3
lines
Merge tls-earlyentropy branch into HEAD.
Revision 1.225.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:45 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.225.2.1: preferred, colored; branchpoint 1.225: preferred, colored; next MAIN 1.226: preferred, colored
Changes since revision 1.225.2.1: +31 -23
lines
Rebase.
Revision 1.225.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 17 14:03:33 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +6 -3
lines
Adjustments to the "earlyentropy" branch in response to the various
discussions beginning with my initial proposal
http://mail-index.netbsd.org/tech-kern/2014/04/08/msg016876.html and
particularly the long discussion of cprng_fast() performance (e.g.
https://mail-index.netbsd.org/tech-crypto/2014/04/21/msg000642.html).
In particular:
* Per-CPU, lockless cprng_fast replacement using Dennis Ferguson's
"ccrand" implementation of ChaCha8.
* libkern arc4random() is gone, gone, gone.
* Entropy estimator reverted to 32-bit recordkeeping and timestamps
per Dennis' comments and analysis.
* LZF entropy estimator removed: it required a great deal of state,
and rejected only truly pathological input.
I have not yet reverted the changes that provide LZF in the kernel
as generic functionality; I will likely revert those changes prior
to any merge of this branch to HEAD.
Revision 1.226: download - view: text, markup, annotated - select for diffs
Sat May 24 16:34:04 2014 UTC (10 years, 6 months ago) by christos
Branches: MAIN
CVS tags: tls-earlyentropy-base
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +31 -23
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.221.2.6: download - view: text, markup, annotated - select for diffs
Thu May 22 19:11:37 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.221.2.5: preferred, colored; branchpoint 1.221: preferred, colored; next MAIN 1.222: preferred, colored
Changes since revision 1.221.2.5: +5 -2
lines
fix a merge botch
Revision 1.221.2.5: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:11 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.221.2.4: preferred, colored; branchpoint 1.221: preferred, colored
Changes since revision 1.221.2.4: +33 -19
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.222.12.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:14 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.222: preferred, colored; next MAIN 1.223: preferred, colored
Changes since revision 1.222: +31 -16
lines
sync with head
Revision 1.225: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:35:24 2014 UTC (10 years, 8 months ago) by hannken
Branches: MAIN
CVS tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +10 -10
lines
Change nfs_clearcommit() to use vfs_vnode_iterator.
Revision 1.224: download - view: text, markup, annotated - select for diffs
Wed Sep 18 23:27:38 2013 UTC (11 years, 2 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +4 -2
lines
knf (blank line even if there are no local declarations)
Revision 1.223: download - view: text, markup, annotated - select for diffs
Wed Sep 18 16:33:14 2013 UTC (11 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.222: preferred, colored
Changes since revision 1.222: +23 -10
lines
Use reference counting to keep track of construction and destruction of the
structures used by both the nfs server and client code. Tested by pgoyette@
1. mount remote fs via nfs (my /home directory), which autoloads nfs module
2. manually modload nfsserver
3. wait a bit
4. manually modunload nfsserver
5. wait a couple minutes
6. verify that client access still works (/bin/ls ~paul home dir)
7. manually modload nfsserver again
8. start an nfsd process
9. wait a bit
10. kill nfsd process
11. wait
12. manually modunload nfsserver again
13. verify continued client access
XXX: Note that nfs_vfs_init() calls nfs_init(), but nfs_vfs_done() does not
call nfs_fini(). Also note that the destruction order is wrong in it,
but probably does not matter. "someone" (!= me) should fix it :-) and
run the above tests.
Revision 1.221.2.4: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:47 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.221.2.3: preferred, colored; branchpoint 1.221: preferred, colored
Changes since revision 1.221.2.3: +4 -3
lines
sync with head
Revision 1.221.2.3: download - view: text, markup, annotated - select for diffs
Sat Nov 26 15:37:50 2011 UTC (13 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.221.2.2: preferred, colored; branchpoint 1.221: preferred, colored
Changes since revision 1.221.2.2: +1 -1
lines
update after radixtree.h api changes
Revision 1.222: download - view: text, markup, annotated - select for diffs
Sat Nov 19 22:51:30 2011 UTC (13 years ago) by tls
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
khorben-n900,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
rmind-smpnet
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +4 -3
lines
First step of random number subsystem rework described in
<20111022023242.BA26F14A158@mail.netbsd.org>. This change includes
the following:
An initial cleanup and minor reorganization of the entropy pool
code in sys/dev/rnd.c and sys/dev/rndpool.c. Several bugs are
fixed. Some effort is made to accumulate entropy more quickly at
boot time.
A generic interface, "rndsink", is added, for stream generators to
request that they be re-keyed with good quality entropy from the pool
as soon as it is available.
The arc4random()/arc4randbytes() implementation in libkern is
adjusted to use the rndsink interface for rekeying, which helps
address the problem of low-quality keys at boot time.
An implementation of the FIPS 140-2 statistical tests for random
number generator quality is provided (libkern/rngtest.c). This
is based on Greg Rose's implementation from Qualcomm.
A new random stream generator, nist_ctr_drbg, is provided. It is
based on an implementation of the NIST SP800-90 CTR_DRBG by
Henric Jungheim. This generator users AES in a modified counter
mode to generate a backtracking-resistant random stream.
An abstraction layer, "cprng", is provided for in-kernel consumers
of randomness. The arc4random/arc4randbytes API is deprecated for
in-kernel use. It is replaced by "cprng_strong". The current
cprng_fast implementation wraps the existing arc4random
implementation. The current cprng_strong implementation wraps the
new CTR_DRBG implementation. Both interfaces are rekeyed from
the entropy pool automatically at intervals justifiable from best
current cryptographic practice.
In some quick tests, cprng_fast() is about the same speed as
the old arc4randbytes(), and cprng_strong() is about 20% faster
than rnd_extract_data(). Performance is expected to improve.
The AES code in src/crypto/rijndael is no longer an optional
kernel component, as it is required by cprng_strong, which is
not an optional kernel component.
The entropy pool output is subjected to the rngtest tests at
startup time; if it fails, the system will reboot. There is
approximately a 3/10000 chance of a false positive from these
tests. Entropy pool _input_ from hardware random numbers is
subjected to the rngtest tests at attach time, as well as the
FIPS continuous-output test, to detect bad or stuck hardware
RNGs; if any are detected, they are detached, but the system
continues to run.
A problem with rndctl(8) is fixed -- datastructures with
pointers in arrays are no longer passed to userspace (this
was not a security problem, but rather a major issue for
compat32). A new kernel will require a new rndctl.
The sysctl kern.arandom() and kern.urandom() nodes are hooked
up to the new generators, but the /dev/*random pseudodevices
are not, yet.
Manual pages for the new kernel interfaces are forthcoming.
Revision 1.221.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 6 22:05:01 2011 UTC (13 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.221.2.1: preferred, colored; branchpoint 1.221: preferred, colored
Changes since revision 1.221.2.1: +11 -1
lines
remove pg->listq and uobj->memq
Revision 1.221.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 2 21:53:59 2011 UTC (13 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +19 -17
lines
page cache related changes
- maintain object pages in radix tree rather than rb tree.
- reduce unnecessary page scan in putpages. esp. when an object has a ton of
pages cached but only a few of them are dirty.
- reduce the number of pmap operations by tracking page dirtiness more
precisely in uvm layer.
- fix nfs commit range tracking.
- fix nfs write clustering. XXX hack
Revision 1.220.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:27 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.220: preferred, colored; next MAIN 1.221: preferred, colored
Changes since revision 1.220: +6 -6
lines
Catchup with rmind-uvmplock merge.
Revision 1.221: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:35:59 2011 UTC (13 years, 5 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +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.219.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:56:04 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.219.2.1: preferred, colored; branchpoint 1.219: preferred, colored; next MAIN 1.220: preferred, colored
Changes since revision 1.219.2.1: +3 -3
lines
sync with head
Revision 1.220: download - view: text, markup, annotated - select for diffs
Sat Nov 6 11:00:29 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: MAIN
CVS tags: 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.219: preferred, colored
Changes since revision 1.219: +3 -3
lines
Include uvm/uvm.h to use UVM internal type (struct vm_page).
Revision 1.201.4.7: download - view: text, markup, annotated - select for diffs
Sun Oct 10 08:29:39 2010 UTC (14 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.201.4.6: preferred, colored; branchpoint 1.201: preferred, colored; next MAIN 1.202: preferred, colored
Changes since revision 1.201.4.6: +2 -2
lines
some locking changes
Revision 1.201.4.6: download - view: text, markup, annotated - select for diffs
Sun Sep 26 03:58:55 2010 UTC (14 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.201.4.5: preferred, colored; branchpoint 1.201: preferred, colored
Changes since revision 1.201.4.5: +41 -5
lines
locking changes
Revision 1.218.2.2: download - view: text, markup, annotated - select for diffs
Thu May 27 04:40:14 2010 UTC (14 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.218.2.1: preferred, colored; branchpoint 1.218: preferred, colored; next MAIN 1.219: preferred, colored
Changes since revision 1.218.2.1: +1 -1
lines
Include uvm/uvm.h, because this touches uvm internal.
Revision 1.218.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:44:22 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.218: preferred, colored
Changes since revision 1.218: +2 -470
lines
Sync with HEAD.
Revision 1.219.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 16 15:38:12 2010 UTC (14 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +6 -6
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.201.4.5: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:31 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.201.4.4: preferred, colored; branchpoint 1.201: preferred, colored
Changes since revision 1.201.4.4: +3 -484
lines
sync with head
Revision 1.219: download - view: text, markup, annotated - select for diffs
Tue Mar 2 23:19:09 2010 UTC (14 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.218: preferred, colored
Changes since revision 1.218: +2 -470
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.218: download - view: text, markup, annotated - select for diffs
Thu Dec 31 20:01:33 2009 UTC (14 years, 11 months ago) by christos
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.217: preferred, colored
Changes since revision 1.217: +3 -2
lines
put nuidhash_max in a file that is shared between server and client code.
Revision 1.212.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:32:53 2009 UTC (15 years, 4 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.212.2.1: preferred, colored; branchpoint 1.212: preferred, colored; next MAIN 1.213: preferred, colored
Changes since revision 1.212.2.1: +8 -4
lines
Sync with HEAD.
Revision 1.201.4.4: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:51 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.201.4.3: preferred, colored; branchpoint 1.201: preferred, colored
Changes since revision 1.201.4.3: +8 -4
lines
sync with head
Revision 1.217: download - view: text, markup, annotated - select for diffs
Thu May 14 15:42:22 2009 UTC (15 years, 6 months ago) by yamt
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +8 -4
lines
nfs_clearcommit: fix a race with vnode cleaning.
Revision 1.212.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:22:51 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +46 -143
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.201.4.3: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:22 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.201.4.2: preferred, colored; branchpoint 1.201: preferred, colored
Changes since revision 1.201.4.2: +85 -640
lines
sync with head.
Revision 1.209.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:37:45 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.209.2.1: preferred, colored; branchpoint 1.209: preferred, colored; next MAIN 1.210: preferred, colored
Changes since revision 1.209.2.1: +46 -143
lines
Sync with HEAD.
Revision 1.216: download - view: text, markup, annotated - select for diffs
Sun Mar 15 17:20:10 2009 UTC (15 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jym-xensuspend-base
Diff to: previous 1.215: preferred, colored
Changes since revision 1.215: +9 -19
lines
ansify function definitions
Revision 1.215: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:04:25 2009 UTC (15 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +8 -20
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.214: download - view: text, markup, annotated - select for diffs
Sat Mar 14 15:36:24 2009 UTC (15 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +27 -102
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.213: download - view: text, markup, annotated - select for diffs
Sat Mar 14 14:46:11 2009 UTC (15 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +8 -8
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.209.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:20 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +27 -464
lines
Sync with HEAD.
Revision 1.199.6.6: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:34 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.199.6.5: preferred, colored; branchpoint 1.199: preferred, colored; next MAIN 1.200: preferred, colored
Changes since revision 1.199.6.5: +33 -495
lines
Sync with HEAD.
Revision 1.212: download - view: text, markup, annotated - select for diffs
Wed Dec 17 20:51:38 2008 UTC (15 years, 11 months ago) by cegger
Branches: MAIN
CVS tags: nick-hppapmap-base2,
mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +5 -5
lines
kill MALLOC and FREE macros.
Revision 1.204.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:28 2008 UTC (15 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.204.4.1: preferred, colored; branchpoint 1.204: preferred, colored; next MAIN 1.205: preferred, colored
Changes since revision 1.204.4.1: +24 -471
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.211: download - view: text, markup, annotated - select for diffs
Fri Nov 28 06:47:08 2008 UTC (16 years ago) by pooka
Branches: MAIN
CVS tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +2 -4
lines
g/c unused malloc types
Revision 1.210: download - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:09 2008 UTC (16 years ago) by ad
Branches: MAIN
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +24 -459
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.209: download - view: text, markup, annotated - select for diffs
Wed Oct 22 12:29:35 2008 UTC (16 years, 1 month ago) by matt
Branches: MAIN
CVS tags: netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
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
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +3 -8
lines
Don't need nfs_vfs_reinit anymore since we don't resize tables anymore.
Move reinit code to init case.
Revision 1.208: download - view: text, markup, annotated - select for diffs
Wed Oct 22 11:36:06 2008 UTC (16 years, 1 month ago) by matt
Branches: MAIN
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +2 -7
lines
Change NFS to use a RB-tree for its FH->nfsnode lookups.
Revision 1.204.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:17:59 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +19 -28
lines
Sync with HEAD.
Revision 1.202.2.3: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:35:43 2008 UTC (16 years, 1 month ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.202.2.2: preferred, colored; next MAIN 1.203: preferred, colored
Changes since revision 1.202.2.2: +17 -28
lines
Sync with HEAD.
Revision 1.207: download - view: text, markup, annotated - select for diffs
Thu Oct 9 00:11:39 2008 UTC (16 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
haad-dm-base1
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +10 -25
lines
Use atomic op to get next xid. Initialize value with arc4random()
at nfs init time instead system time based trickery intermingled
with the runtime code.
le bouef: kills last simple_lock from nfs
Revision 1.199.6.5: download - view: text, markup, annotated - select for diffs
Sun Oct 5 20:11:33 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.199.6.4: preferred, colored; branchpoint 1.199: preferred, colored
Changes since revision 1.199.6.4: +7 -3
lines
Sync with HEAD.
Revision 1.206: download - view: text, markup, annotated - select for diffs
Tue Sep 30 14:29:39 2008 UTC (16 years, 2 months ago) by pooka
Branches: MAIN
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +9 -5
lines
Initialize nfsnode pools and malloc type dynamically in the
constructor instead of depending on link sets. Consequently, rename
nfs_nh{init,reinit,done} to nfs_node_{init,reinit,done}, respectively,
to better convey the function.
Revision 1.199.6.4: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:41:00 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.199.6.3: preferred, colored; branchpoint 1.199: preferred, colored
Changes since revision 1.199.6.3: +2 -0
lines
Sync with HEAD.
Revision 1.202.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:37:02 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.202.2.1: preferred, colored
Changes since revision 1.202.2.1: +4 -2
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.204.2.1: download - view: text, markup, annotated - select for diffs
Fri Jul 18 16:37:57 2008 UTC (16 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.204: preferred, colored; next MAIN 1.205: preferred, colored
Changes since revision 1.204: +4 -2
lines
Sync with head.
Revision 1.205: download - view: text, markup, annotated - select for diffs
Tue Jul 15 16:06:58 2008 UTC (16 years, 4 months ago) by christos
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +4 -2
lines
explicitly set birthtime to VNOVAL, since there is no such thing in nfsv{2,3}
Revision 1.202.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:32:01 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +5 -3
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.201.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:15:16 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.201.2.1: preferred, colored; branchpoint 1.201: preferred, colored; next MAIN 1.202: preferred, colored
Changes since revision 1.201.2.1: +3 -3
lines
sync with head.
Revision 1.199.6.3: download - view: text, markup, annotated - select for diffs
Thu Jun 5 19:14:37 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.199.6.2: preferred, colored; branchpoint 1.199: preferred, colored
Changes since revision 1.199.6.2: +1 -1
lines
Sync with HEAD.
Also fix build.
Revision 1.204: download - view: text, markup, annotated - select for diffs
Wed Jun 4 12:41:40 2008 UTC (16 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Branch point for: simonb-wapbl,
haad-dm
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +3 -3
lines
vm_page: put TAILQ_ENTRY into a union with LIST_ENTRY, so we can use both.
Revision 1.199.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:30 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.199.6.1: preferred, colored; branchpoint 1.199: preferred, colored
Changes since revision 1.199.6.1: +5 -4
lines
Sync with HEAD.
Revision 1.201.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:45 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +7 -6
lines
sync with head.
Revision 1.201.4.2: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:49 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.201.4.1: preferred, colored; branchpoint 1.201: preferred, colored
Changes since revision 1.201.4.1: +7 -6
lines
sync with head.
Revision 1.203: download - view: text, markup, annotated - select for diffs
Sat May 10 02:26:10 2008 UTC (16 years, 6 months ago) by rumble
Branches: MAIN
CVS tags: yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +4 -2
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.202: download - view: text, markup, annotated - select for diffs
Mon May 5 17:11:17 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
Branch point for: wrstuden-revivesa
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +5 -6
lines
- Convert hashinit() to use kmem_alloc(). The hash tables can be large
and it's better to not have them in kmem_map.
- Convert a couple of minor items along the way to kmem_alloc().
- Fix some memory leaks.
Revision 1.201.4.1: download - view: text, markup, annotated - select for diffs
Sun Apr 27 12:52:50 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +24 -7
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.199.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:43:10 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +74 -36
lines
Sync with HEAD.
Revision 1.201: download - view: text, markup, annotated - select for diffs
Mon Mar 24 12:24:37 2008 UTC (16 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +63 -34
lines
merge yamt-lazymbuf branch.
Revision 1.199.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:27 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.199: preferred, colored; next MAIN 1.200: preferred, colored
Changes since revision 1.199: +13 -4
lines
sync with head.
Revision 1.191.6.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:08 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.191.6.2: preferred, colored; branchpoint 1.191: preferred, colored; next MAIN 1.192: preferred, colored
Changes since revision 1.191.6.2: +17 -40
lines
sync with HEAD
Revision 1.149.2.13: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:46 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.149.2.12: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149.2.12: +13 -4
lines
sync with head.
Revision 1.200: download - view: text, markup, annotated - select for diffs
Wed Mar 5 11:49:18 2008 UTC (16 years, 9 months ago) by elad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +13 -4
lines
Nuke a KAUTH_GENERIC_ISSUSER, this time in favor of an euid == 0, as
the traditional NFS maproot functionality goes.
Put in a note explaining why and who, also mark for future greps.
Okay yamt@.
Revision 1.149.2.12: download - view: text, markup, annotated - select for diffs
Wed Feb 27 09:10:57 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.149.2.11: preferred, colored
Changes since revision 1.149.2.11: +2 -3
lines
revert incomplete nfs client locking for now.
Revision 1.149.2.11: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:37:05 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.149.2.10: preferred, colored
Changes since revision 1.149.2.10: +5 -2
lines
sync with head.
Revision 1.192.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:18 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.192.2.2: preferred, colored; branchpoint 1.192: preferred, colored; next MAIN 1.193: preferred, colored
Changes since revision 1.192.2.2: +23 -54
lines
Sync with HEAD.
Revision 1.149.2.10: download - view: text, markup, annotated - select for diffs
Fri Feb 15 10:40:08 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.149.2.9: preferred, colored
Changes since revision 1.149.2.9: +3 -2
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.199: download - view: text, markup, annotated - select for diffs
Wed Feb 13 09:51:37 2008 UTC (16 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
hpcarm-cleanup-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +5 -2
lines
reject files larger than nm_maxfilesize.
Revision 1.149.2.9: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:24:44 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.149.2.8: preferred, colored
Changes since revision 1.149.2.8: +3 -38
lines
sync with head.
Revision 1.198: download - view: text, markup, annotated - select for diffs
Mon Jan 28 10:44:51 2008 UTC (16 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +2 -12
lines
nfs_check_wccdata: unifdef wcc kludge messages.
Revision 1.197: download - view: text, markup, annotated - select for diffs
Thu Jan 24 17:32:56 2008 UTC (16 years, 10 months ago) by ad
Branches: MAIN
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +3 -28
lines
specfs changes for PR kern/37717 (raidclose() is no longer called on
shutdown). There are still problems with device access and a PR will be
filed.
- Kill checkalias(). Allow multiple vnodes to reference a single device.
- Don't play dangerous tricks with block vnodes to ensure that only one
vnode can describe a block device. Instead, prohibit concurrent opens of
block devices. As a bonus remove the unreliable code that prevents
multiple file system mounts on the same device. It's no longer needed.
- Track opens by vnode and by device. Issue cdev_close() when the last open
goes away, instead of abusing vnode::v_usecount to tell if the device is
open.
Revision 1.149.2.8: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:47:35 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.149.2.7: preferred, colored
Changes since revision 1.149.2.7: +19 -19
lines
sync with head
Revision 1.191.6.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:57:53 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.191.6.1: preferred, colored; branchpoint 1.191: preferred, colored
Changes since revision 1.191.6.1: +20 -21
lines
sync with HEAD
Revision 1.194.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:57:44 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.194: preferred, colored; next MAIN 1.195: preferred, colored
Changes since revision 1.194: +19 -18
lines
Sync with HEAD
Revision 1.196: download - view: text, markup, annotated - select for diffs
Wed Jan 2 19:26:46 2008 UTC (16 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +10 -9
lines
use kmem_alloc instead of malloc.
Revision 1.195: download - view: text, markup, annotated - select for diffs
Wed Jan 2 11:49:04 2008 UTC (16 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +11 -11
lines
Merge vmlocking2 to head.
Revision 1.192.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:46:36 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.192.2.1: preferred, colored; branchpoint 1.192: preferred, colored
Changes since revision 1.192.2.1: +2 -3
lines
Sync with HEAD.
Revision 1.193.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 21:39:53 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.193.2.1: preferred, colored; branchpoint 1.193: preferred, colored; next MAIN 1.194: preferred, colored
Changes since revision 1.193.2.1: +2 -3
lines
Sync with head.
Revision 1.191.4.3: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:38:44 2007 UTC (16 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.191.4.2: preferred, colored; branchpoint 1.191: preferred, colored; next MAIN 1.192: preferred, colored
Changes since revision 1.191.4.2: +2 -3
lines
Sync with HEAD.
Revision 1.194: download - view: text, markup, annotated - select for diffs
Sat Dec 8 19:29:51 2007 UTC (17 years ago) by pooka
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +2 -3
lines
Remove cn_lwp from struct componentname. curlwp should be used
from on. The NDINIT() macro no longer takes the lwp parameter and
associates the credentials of the calling thread with the namei
structure.
Revision 1.192.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:21:24 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +3 -4
lines
Sync with HEAD.
Revision 1.149.2.7: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:34:44 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.149.2.6: preferred, colored
Changes since revision 1.149.2.6: +3 -4
lines
sync with head
Revision 1.193.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 4 13:03:35 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +11 -11
lines
Pull the vmlocking changes into a new branch.
Revision 1.191.4.2: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:39:02 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.191.4.1: preferred, colored; branchpoint 1.191: preferred, colored
Changes since revision 1.191.4.1: +3 -4
lines
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.193: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:02:21 2007 UTC (17 years ago) by pooka
Branches: MAIN
CVS tags: vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base
Branch point for: vmlocking2
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +3 -4
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.149.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:45:20 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.149.2.5: preferred, colored
Changes since revision 1.149.2.5: +26 -3
lines
sync with head.
Revision 1.191.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:03:08 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.191: preferred, colored; next MAIN 1.192: preferred, colored
Changes since revision 1.191: +26 -3
lines
Sync with HEAD
Revision 1.191.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:34:22 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +26 -3
lines
sync with HEAD
Revision 1.191.4.1: download - view: text, markup, annotated - select for diffs
Mon Oct 29 02:57:26 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +26 -3
lines
Sync with HEAD.
Revision 1.192: download - view: text, markup, annotated - select for diffs
Sun Oct 28 22:24:29 2007 UTC (17 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +26 -3
lines
make NFS_ATTRTIMEO a function.
Revision 1.184.2.9: download - view: text, markup, annotated - select for diffs
Wed Oct 24 16:47:02 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.184.2.8: preferred, colored; branchpoint 1.184: preferred, colored; next MAIN 1.185: preferred, colored
Changes since revision 1.184.2.8: +4 -3
lines
Do locking / use marker vnodes when traversing mountpoint vnode lists.
Revision 1.184.2.8: download - view: text, markup, annotated - select for diffs
Sun Sep 16 19:04:38 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.184.2.7: preferred, colored; branchpoint 1.184: preferred, colored
Changes since revision 1.184.2.7: +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.149.2.5: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:44:19 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.149.2.4: preferred, colored
Changes since revision 1.149.2.4: +74 -60
lines
sync with head.
Revision 1.184.2.7: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:28:12 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.184.2.6: preferred, colored; branchpoint 1.184: preferred, colored
Changes since revision 1.184.2.6: +3 -3
lines
Sync with HEAD.
Revision 1.190.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:50:03 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.190: preferred, colored; next MAIN 1.191: preferred, colored
Changes since revision 1.190: +3 -3
lines
Sync with HEAD.
Revision 1.191.12.2: download - view: text, markup, annotated - select for diffs
Fri Jul 27 10:03:59 2007 UTC (17 years, 4 months ago) by yamt
Branches: matt-mips64
Diff to: previous 1.191.12.1: preferred, colored; branchpoint 1.191: preferred, colored; next MAIN 1.192: preferred, colored
Changes since revision 1.191.12.1: +2994 -0
lines
stop nfs tick when we have nothing to do.
Revision 1.191.12.1
Fri Jul 27 10:03:58 2007 UTC (17 years, 4 months ago) by yamt
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.191: +0 -2994
lines
file nfs_subs.c was added on branch matt-mips64 on 2007-07-27 10:03:59 +0000
Revision 1.191: download - view: text, markup, annotated - select for diffs
Fri Jul 27 10:03:58 2007 UTC (17 years, 4 months ago) by yamt
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5,
matt-mips64-base,
hpcarm-cleanup
Branch point for: matt-mips64,
matt-armv6,
jmcneill-pm,
bouyer-xenamd64
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +3 -3
lines
stop nfs tick when we have nothing to do.
Revision 1.184.2.6: download - view: text, markup, annotated - select for diffs
Sun Jul 15 15:53:02 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.184.2.5: preferred, colored; branchpoint 1.184: preferred, colored
Changes since revision 1.184.2.5: +2 -5
lines
Sync with head.
Revision 1.184.2.5: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:28:06 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.184.2.4: preferred, colored; branchpoint 1.184: preferred, colored
Changes since revision 1.184.2.4: +6 -2
lines
Sync with head.
Revision 1.184.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:12:13 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.184: preferred, colored; next MAIN 1.185: preferred, colored
Changes since revision 1.184: +20 -17
lines
Sync with head.
Revision 1.190: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:29:09 2007 UTC (17 years, 5 months ago) by ad
Branches: MAIN
CVS tags: nick-csl-alignment-base,
mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +6 -5
lines
Fix build when not !NFSSERVER.
Revision 1.189: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:11:30 2007 UTC (17 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +7 -3
lines
Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
Revision 1.184.2.4: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:50:59 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.184.2.3: preferred, colored; branchpoint 1.184: preferred, colored
Changes since revision 1.184.2.3: +3 -3
lines
Adapt to callout API change.
Revision 1.184.2.3: download - view: text, markup, annotated - select for diffs
Mon Jun 18 13:39:12 2007 UTC (17 years, 5 months ago) by yamt
Branches: vmlocking
Diff to: previous 1.184.2.2: preferred, colored; branchpoint 1.184: preferred, colored
Changes since revision 1.184.2.2: +3 -2
lines
fix a merge botch.
Revision 1.184.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 9 23:58:15 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.184.2.1: preferred, colored; branchpoint 1.184: preferred, colored
Changes since revision 1.184.2.1: +7 -10
lines
Sync with head.
Revision 1.188: download - view: text, markup, annotated - select for diffs
Wed Jun 6 09:23:55 2007 UTC (17 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +7 -8
lines
nfs_getattrcache: simplify. no functional changes.
Revision 1.187: download - view: text, markup, annotated - select for diffs
Mon May 28 16:47:38 2007 UTC (17 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +0 -2
lines
- remove nfs_exit exit hook. ok'ed by christos@.
- as far as i understand the code, it shouldn't be necessary
because nfs_request can't return without removing its request
and r->r_lwp is either curlwp or NULL.
- even if it's necessary, leaking requests is not the correct way
to recover from the condition.
- nfs_request: add a related assertion.
Revision 1.180.2.3: download - view: text, markup, annotated - select for diffs
Mon May 7 10:56:11 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.180.2.2: preferred, colored; next MAIN 1.181: preferred, colored
Changes since revision 1.180.2.2: +9 -8
lines
sync with head.
Revision 1.186: download - view: text, markup, annotated - select for diffs
Sun Apr 29 10:30:18 2007 UTC (17 years, 7 months ago) by yamt
Branches: MAIN
CVS tags: yamt-idlelwp-base8
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +8 -8
lines
use mutex and condver.
Revision 1.185: download - view: text, markup, annotated - select for diffs
Sun Apr 22 08:30:01 2007 UTC (17 years, 7 months ago) by dsl
Branches: MAIN
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +3 -2
lines
Change the way that emulations locate files within the emulation root to
avoid having to allocate space in the 'stackgap'
- which is very LWP unfriendly.
The additional code for non-emulation namei() is trivial, the reduction for
the emulations is massive.
The vnode for a processes emulation root is saved in the cwdi structure
during process exec.
If the emulation root the TRYEMULROOT flag are set, namei() will do an initial
search for absolute pathnames in the emulation root, if that fails it will
retry from the normal root.
".." at the emulation root will always go to the real root, even in the middle
of paths and when expanding symlinks.
Absolute symlinks found using absolute paths in the emulation root will be
relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links
inside the emulation root don't need changing).
If the root of the emulation would be returned (for an emulation lookup), then
the real root is returned instead (matching the behaviour of emul_lookup,
but being a cheap comparison here) so that programs that scan "../.."
looking for the root dircetory don't loop forever.
The target for symbolic links is no longer mangled (it used to get the
CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended).
CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding
TRYEMULROOT to the flags to NDINIT().
A lot of the emulation system call stubs could now be deleted.
Revision 1.184.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 17:51:13 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +19 -15
lines
Pull in the initial set of changes for the vmlocking branch.
Revision 1.180.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 06:00:36 2007 UTC (17 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.180.2.1: preferred, colored
Changes since revision 1.180.2.1: +57 -46
lines
Sync with HEAD.
Revision 1.184: download - view: text, markup, annotated - select for diffs
Fri Mar 9 05:55:33 2007 UTC (17 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +18 -7
lines
nfs_check_wccdata: print timestamps.
Revision 1.183: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:37 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +41 -41
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.180.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 28 09:35:40 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +14 -14
lines
sync with head. (somehow missed in the previous)
Revision 1.149.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:12:06 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.149.2.3: preferred, colored
Changes since revision 1.149.2.3: +17 -17
lines
sync with head.
Revision 1.182: download - view: text, markup, annotated - select for diffs
Thu Feb 22 06:14:28 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +11 -11
lines
TRUE -> true, FALSE -> false
Revision 1.181: download - view: text, markup, annotated - select for diffs
Wed Feb 21 23:00:09 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +5 -5
lines
Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
Revision 1.177.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 17 23:27:51 2007 UTC (17 years, 9 months ago) by tron
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
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,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.177: preferred, colored; next MAIN 1.178: preferred, colored
Changes since revision 1.177: +23 -9
lines
Apply patch (requested by chs in ticket #422):
- Fix various deadlock problems with nullfs and unionfs.
- Speed up path lookups by upto 25%.
Revision 1.180: download - view: text, markup, annotated - select for diffs
Thu Feb 15 16:01:51 2007 UTC (17 years, 9 months ago) by yamt
Branches: MAIN
Branch point for: yamt-idlelwp
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +5 -5
lines
use mutex and rwlock rather than lockmgr.
Revision 1.170.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:19 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.170.2.1: preferred, colored; branchpoint 1.170: preferred, colored; next MAIN 1.171: preferred, colored
Changes since revision 1.170.2.1: +29 -71
lines
Sync with head.
Revision 1.149.2.3: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:52 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.149.2.2: preferred, colored
Changes since revision 1.149.2.2: +109 -107
lines
sync with head.
Revision 1.179: download - view: text, markup, annotated - select for diffs
Wed Dec 27 12:10:09 2006 UTC (17 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +8 -64
lines
remove nqnfs.
Revision 1.170.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:19:24 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.170.4.1: preferred, colored; branchpoint 1.170: preferred, colored; next MAIN 1.171: preferred, colored
Changes since revision 1.170.4.1: +31 -34
lines
sync with head.
Revision 1.178: download - view: text, markup, annotated - select for diffs
Sat Dec 9 16:11:52 2006 UTC (18 years ago) by chs
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +23 -9
lines
a smorgasbord of improvements to vnode locking and path lookup:
- LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP().
these now always return the parent vnode locked. namei() works as before.
lookup() and various other paths no longer acquire vnode locks in the
wrong order via vrele(). fixes PR 32535.
as a nice side effect, path lookup is also up to 25% faster.
- the above allows us to get rid of PDIRUNLOCK.
- also get rid of WANTPARENT (just use LOCKPARENT and unlock it).
- remove an assumption in layer_node_find() that all file systems implement
a recursive VOP_LOCK() (unionfs doesn't).
- require that all file systems supply vfs_vptofh and vfs_fhtovp routines.
fill in eopnotsupp() for file systems that don't support being exported
and remove the checks for NULL. (layerfs calls these without checking.)
- in union_lookup1(), don't change refcounts in the ISDOTDOT case, just
adjust which vnode is locked. fixes PR 33374.
- apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().
Revision 1.170.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:44 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +16 -26
lines
Sync with head.
Revision 1.177: download - view: text, markup, annotated - select for diffs
Thu Nov 9 09:53:57 2006 UTC (18 years ago) by yamt
Branches: MAIN
CVS tags: netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +10 -27
lines
remove some __unused in function parameters.
Revision 1.170.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:43 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +35 -28
lines
sync with head
Revision 1.176: download - view: text, markup, annotated - select for diffs
Fri Oct 20 18:58:12 2006 UTC (18 years, 1 month ago) by reinoud
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +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.175: download - view: text, markup, annotated - select for diffs
Tue Oct 17 18:21:29 2006 UTC (18 years, 1 month ago) by dogcow
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +2 -10
lines
now that we have -Wno-unused-parameter, back out all the tremendously ugly
code to gratuitously access said parameters.
Revision 1.174: download - view: text, markup, annotated - select for diffs
Sat Oct 14 09:18:57 2006 UTC (18 years, 1 month ago) by yamt
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +8 -2
lines
grab glock when calling uvm_unp_setsize, so that it doesn't interfere
mmap'ed accesses. this fixes an assertion failure in in nfs_doio_read.
("vp->v_size >= uiop->uio_offset + uiop->uio_resid")
Revision 1.173: download - view: text, markup, annotated - select for diffs
Fri Oct 13 20:53:59 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +14 -9
lines
more __unused
Revision 1.172: download - view: text, markup, annotated - select for diffs
Fri Oct 13 18:28:07 2006 UTC (18 years, 1 month ago) by dogcow
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +10 -2
lines
more unused variable fallout.
Revision 1.171: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:32:47 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +16 -20
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.158.2.5: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:32:00 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.158.2.4: preferred, colored; branchpoint 1.158: preferred, colored; next MAIN 1.159: preferred, colored
Changes since revision 1.158.2.4: +4 -4
lines
sync with head.
Revision 1.157.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:59:24 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.157: preferred, colored; next MAIN 1.158: preferred, colored
Changes since revision 1.157: +105 -108
lines
sync with head
Revision 1.170: download - view: text, markup, annotated - select for diffs
Mon Sep 4 08:38:16 2006 UTC (18 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +1 -1
lines
nfs_ispublicfh: fix another instance of cast-qual.
Revision 1.169: download - view: text, markup, annotated - select for diffs
Mon Sep 4 08:27:49 2006 UTC (18 years, 3 months ago) by yamt
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +1 -1
lines
remove (void *) cast from NFSRVFH_DATA as it sometimes
discards const qualifier. pointed out by Havard Eidnes.
(it wasn't detected by in-tree gcc4. seems like a compiler bug.)
Revision 1.158.2.4: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:25:56 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.158.2.3: preferred, colored; branchpoint 1.158: preferred, colored
Changes since revision 1.158.2.3: +70 -16
lines
sync with head.
Revision 1.168: download - view: text, markup, annotated - select for diffs
Sat Sep 2 12:40:36 2006 UTC (18 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base8
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +69 -16
lines
nfsd: deal with variable-sized filehandles.
Revision 1.167: download - view: text, markup, annotated - select for diffs
Sat Sep 2 07:26:47 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +3 -2
lines
fix default type decls
fix incomplete initializer
Revision 1.158.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:47:05 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.158.2.2: preferred, colored; branchpoint 1.158: preferred, colored
Changes since revision 1.158.2.2: +3 -3
lines
sync with head
Revision 1.165.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:50:06 2006 UTC (18 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.165: preferred, colored; next MAIN 1.166: preferred, colored
Changes since revision 1.165: +3 -3
lines
Merge from HEAD.
Revision 1.166: download - view: text, markup, annotated - select for diffs
Thu Jul 13 12:00:26 2006 UTC (18 years, 4 months ago) by martin
Branches: MAIN
CVS tags: yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +3 -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.158.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:54:28 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.158.2.1: preferred, colored; branchpoint 1.158: preferred, colored
Changes since revision 1.158.2.1: +5 -5
lines
sync with head.
Revision 1.149.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:11:59 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.149.2.1: preferred, colored
Changes since revision 1.149.2.1: +72 -110
lines
sync with head.
Revision 1.164.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:10:37 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.164.2.1: preferred, colored; branchpoint 1.164: preferred, colored; next MAIN 1.165: preferred, colored
Changes since revision 1.164.2.1: +2978 -0
lines
Sync with head.
Revision 1.165: download - view: text, markup, annotated - select for diffs
Wed Jun 7 22:34:17 2006 UTC (18 years, 6 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.164: preferred, colored
Changes since revision 1.164: +5 -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.157.4.3: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:39:13 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.157.4.2: preferred, colored; branchpoint 1.157: preferred, colored; next MAIN 1.158: preferred, colored
Changes since revision 1.157.4.2: +18 -61
lines
Sync with head.
Revision 1.158.6.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:46 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.158: preferred, colored; next MAIN 1.159: preferred, colored
Changes since revision 1.158: +20 -61
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.158.2.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:59:15 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +20 -61
lines
sync with head.
Revision 1.164.2.1
Fri May 19 13:53:11 2006 UTC (18 years, 6 months ago) by chap
Branches: chap-midi
FILE REMOVED
Changes since revision 1.164: +0 -2978
lines
file nfs_subs.c was added on branch chap-midi on 2006-06-19 04:10:37 +0000
Revision 1.164: download - view: text, markup, annotated - select for diffs
Fri May 19 13:53:11 2006 UTC (18 years, 6 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base5,
simonb-timecounters-base
Branch point for: chap-midi
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +4 -2
lines
- fix compilation problem for !NFSSERVER && NFS.
pointed by Tom Spindler on source-changes@.
- make nfs_srvdesc_pool static.
Revision 1.163: download - view: text, markup, annotated - select for diffs
Thu May 18 12:44:45 2006 UTC (18 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +0 -46
lines
- fix some leaks in nfsd, introduced by kauth changes.
- simplify code.
- add some assertions.
- wrap some long lines.
- remove an unnecessary ";".
Revision 1.162: download - view: text, markup, annotated - select for diffs
Sun May 14 21:32:21 2006 UTC (18 years, 6 months ago) by elad
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +27 -26
lines
integrate kauth.
Revision 1.161: download - view: text, markup, annotated - select for diffs
Sun May 14 05:42:43 2006 UTC (18 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +3 -3
lines
XXX: GCC uninitialized
Revision 1.158.4.9: download - view: text, markup, annotated - select for diffs
Sat May 6 23:32:11 2006 UTC (18 years, 7 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.158.4.8: preferred, colored; branchpoint 1.158: preferred, colored; next MAIN 1.159: preferred, colored
Changes since revision 1.158.4.8: +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.157.4.2: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:40:15 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.157.4.1: preferred, colored; branchpoint 1.157: preferred, colored
Changes since revision 1.157.4.1: +17 -31
lines
Sync with head.
Revision 1.158.4.8: download - view: text, markup, annotated - select for diffs
Wed Apr 19 05:06:37 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.158.4.7: preferred, colored; branchpoint 1.158: preferred, colored
Changes since revision 1.158.4.7: +4 -2
lines
sync with head.
Revision 1.160: download - view: text, markup, annotated - select for diffs
Sat Apr 15 01:45:15 2006 UTC (18 years, 7 months ago) by christos
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +3 -2
lines
Coverity CID 1141: Add a KASSERT before deref.
Revision 1.159: download - view: text, markup, annotated - select for diffs
Sat Apr 15 01:41:46 2006 UTC (18 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +3 -2
lines
Coverity CID 1142: Add a KASSERT before deref.
Revision 1.158.4.7: download - view: text, markup, annotated - select for diffs
Tue Mar 14 02:50:43 2006 UTC (18 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.158.4.6: preferred, colored; branchpoint 1.158: preferred, colored
Changes since revision 1.158.4.6: +3 -17
lines
Use kauth_cred_clone() where appropriate.
Revision 1.158.4.6: download - view: text, markup, annotated - select for diffs
Mon Mar 13 00:01:05 2006 UTC (18 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.158.4.5: preferred, colored; branchpoint 1.158: preferred, colored
Changes since revision 1.158.4.5: +2 -8
lines
kauth_cred_clone() takes care of the groups for us, remove redundant code.
Revision 1.158.4.5: download - view: text, markup, annotated - select for diffs
Sun Mar 12 17:32:26 2006 UTC (18 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.158.4.4: preferred, colored; branchpoint 1.158: preferred, colored
Changes since revision 1.158.4.4: +4 -4
lines
Fix group cleaning loop, as pointed out by yamt@.
While I'm here, add an XXX near the second loop that watches NGROUPS; this
should be internal to kauth(9).
Revision 1.158.4.4: download - view: text, markup, annotated - select for diffs
Sat Mar 11 21:22:42 2006 UTC (18 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.158.4.3: preferred, colored; branchpoint 1.158: preferred, colored
Changes since revision 1.158.4.3: +4 -3
lines
Replace check for euid == 0 with kauth_authorize_generic().
Revision 1.158.4.3: download - view: text, markup, annotated - select for diffs
Fri Mar 10 22:38:09 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.158.4.2: preferred, colored; branchpoint 1.158: preferred, colored
Changes since revision 1.158.4.2: +18 -8
lines
Cleanup more interface abuse.
Make nfsrv_setcred() take a kauth_cred_t * as outcred. The original code
just modified it directly; we can't do that, nor do we want to.
Get rid of another case of kauth_cred_zero() followed by kauth_cred_hold()
and use kauth_cred_clone() to make sure we don't leave out important
members.
Add another DIAGNOSTIC check for reference count of above one.
Again, this should be tested.
Revision 1.158.4.2: download - view: text, markup, annotated - select for diffs
Fri Mar 10 21:43:19 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.158.4.1: preferred, colored; branchpoint 1.158: preferred, colored
Changes since revision 1.158.4.1: +2 -11
lines
Remove some more no longer needed calls to kauth_cred_setngroups() and
nfsrvw_sort().
Revision 1.158.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:06:28 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +40 -22
lines
Adapt to kernel authorization KPI.
This could use some testing...
Revision 1.158: download - view: text, markup, annotated - select for diffs
Wed Mar 1 12:38:32 2006 UTC (18 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
peter-altq,
elad-kernelauth
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +15 -31
lines
merge yamt-uio_vmspace branch.
- use vmspace rather than proc or lwp where appropriate.
the latter is more natural to specify an address space.
(and less likely to be abused for random purposes.)
- fix a swdmover race.
Revision 1.157.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 4 14:12:50 2006 UTC (18 years, 10 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +5 -5
lines
Adapt for timecounters: mostly use get*time() and use "time_second"
instead of "time.tv_sec".
Revision 1.156.2.2: download - view: text, markup, annotated - select for diffs
Wed Feb 1 14:52:48 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.156.2.1: preferred, colored; next MAIN 1.157: preferred, colored
Changes since revision 1.156.2.1: +4 -3
lines
sync with head.
Revision 1.157: download - view: text, markup, annotated - select for diffs
Mon Jan 16 21:45:38 2006 UTC (18 years, 10 months ago) by yamt
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5
Branch point for: simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +4 -3
lines
- tweak RUN_ONCE api to allow init_func returns an error.
- physio: handle failure of workqueue_create.
Revision 1.156.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 31 16:29:01 2005 UTC (18 years, 11 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +15 -31
lines
- adapt nfs.
- nfs_doio_read: #if 0 out "killproc if text is modified" part of
the code as it's broken. (a process reading the modified text is not
necessarily a process which is using the file as a text.)
Revision 1.156: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:25:16 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +13 -13
lines
merge ktrace-lwp.
Revision 1.125.2.13: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:29:35 2005 UTC (18 years, 11 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.125.2.12: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125.2.12: +21 -10
lines
Sync with head.
Revision 1.153.6.2: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:33 2005 UTC (19 years ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.153.6.1: preferred, colored; branchpoint 1.153: preferred, colored; next MAIN 1.154: preferred, colored
Changes since revision 1.153.6.1: +16 -4
lines
sync with head.
Revision 1.155: download - view: text, markup, annotated - select for diffs
Fri Nov 25 20:01:38 2005 UTC (19 years ago) by thorpej
Branches: MAIN
CVS tags: yamt-readahead-base3,
ktrace-lwp-base
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +16 -4
lines
Use a once control to initialize the NFS server / client shared data
from nfs_vfs_init() or sys_nfssvc(). Remove the nfs_init() call from
main().
Revision 1.153.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 22 16:08:22 2005 UTC (19 years ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +7 -8
lines
sync with head.
Revision 1.154: download - view: text, markup, annotated - select for diffs
Tue Nov 22 04:44:29 2005 UTC (19 years ago) by yamt
Branches: MAIN
CVS tags: yamt-readahead-base2
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +7 -8
lines
- reduce number of linear search per rpc.
- coalesce mount_netexport_pair into netexport.
Revision 1.125.2.12: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:11:56 2005 UTC (19 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.125.2.11: preferred, colored
Changes since revision 1.125.2.11: +31 -24
lines
Sync with HEAD. Here we go again...
Revision 1.132.2.3.2.4: download - view: text, markup, annotated - select for diffs
Thu Oct 27 05:17:56 2005 UTC (19 years, 1 month ago) by riz
Branches: netbsd-2
Diff to: previous 1.132.2.3.2.3: preferred, colored; branchpoint 1.132.2.3: preferred, colored; next MAIN 1.132.2.4: preferred, colored
Changes since revision 1.132.2.3.2.3: +4 -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.148.2.1: download - view: text, markup, annotated - select for diffs
Tue Sep 27 10:28:53 2005 UTC (19 years, 2 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.148: preferred, colored; next MAIN 1.149: preferred, colored
Changes since revision 1.148: +4 -3
lines
Pull up following revision(s) (requested by christos in ticket #816):
sys/nfs/nfs_subs.c: revision 1.152
ATTRTIMEO takes 2 args.
Revision 1.153: download - view: text, markup, annotated - select for diffs
Fri Sep 23 12:10:33 2005 UTC (19 years, 2 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-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-readahead
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +7 -3
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.152: download - view: text, markup, annotated - select for diffs
Mon Sep 19 00:53:55 2005 UTC (19 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +4 -3
lines
ATTRTIMEO takes 2 args.
Revision 1.151: download - view: text, markup, annotated - select for diffs
Fri Aug 19 12:47:23 2005 UTC (19 years, 3 months ago) by yamt
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +4 -6
lines
as we now have 64bit ino_t, no need to truncate nfsv3 fileids.
Revision 1.149.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 7 11:53:25 2005 UTC (19 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +63 -34
lines
adapt to mbuf.h changes.
Revision 1.150: download - view: text, markup, annotated - select for diffs
Thu Jul 7 02:05:03 2005 UTC (19 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +12 -8
lines
1. use p = uio->uio_procp consistently and eliminate suspicious uses
of curproc (where uio->uio_procp should be used?). Don't do this
for nfs_commit(), because yamt says it is possibly wrong.
2. nfs_doio() does not use struct proc; remove it and the code to compute it.
3. use copyin_proc() and copyout_proc() instead of copyin() and copyout().
4. check return of copyout_proc(). and mark return from copyin_proc() XXX
5. Eliminate check p == curproc assertion check from nfs_write;
nfs_read does not have it and we might be called in a different
process context anyway (PR 20138).
Revision 1.149: download - view: text, markup, annotated - select for diffs
Sun May 29 20:58:13 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +12 -12
lines
- sprinkle const
- avoid shadowed variables
- mark bad const use with XXXUNCONST
Revision 1.140.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:36 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.140: preferred, colored; next MAIN 1.141: preferred, colored
Changes since revision 1.140: +112 -14
lines
sync with -current
Revision 1.143.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:51 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.143.2.2: preferred, colored; branchpoint 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143.2.2: +9 -9
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.132.2.3.2.3: download - view: text, markup, annotated - select for diffs
Wed Mar 16 11:54:53 2005 UTC (19 years, 8 months ago) by tron
Branches: netbsd-2
CVS tags: 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
Diff to: previous 1.132.2.3.2.2: preferred, colored; branchpoint 1.132.2.3: preferred, colored
Changes since revision 1.132.2.3.2.2: +3 -3
lines
Pull up revision 1.146 (requested by yamt in ticket #1148):
nfs_clearcommit: don't attempt to clear commit info (n_pushlo, etc)
unless the vnode is of VREG. union members used to keep commit info
are used for other purposes in the case of !VREG.
Revision 1.132.2.5: download - view: text, markup, annotated - select for diffs
Wed Mar 16 11:54:49 2005 UTC (19 years, 8 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE
Diff to: previous 1.132.2.4: preferred, colored; branchpoint 1.132: preferred, colored; next MAIN 1.133: preferred, colored
Changes since revision 1.132.2.4: +3 -3
lines
Pull up revision 1.146 (requested by yamt in ticket #1148):
nfs_clearcommit: don't attempt to clear commit info (n_pushlo, etc)
unless the vnode is of VREG. union members used to keep commit info
are used for other purposes in the case of !VREG.
Revision 1.125.2.11: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:54:20 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.125.2.10: preferred, colored
Changes since revision 1.125.2.10: +9 -9
lines
Sync with HEAD.
Hi Perry!
Revision 1.148: download - view: text, markup, annotated - select for diffs
Sat Feb 26 22:39:50 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
kent-audio2-base
Branch point for: netbsd-3
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +9 -9
lines
nuke trailing whitespace
Revision 1.143.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:55 2005 UTC (19 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.143.2.1: preferred, colored; branchpoint 1.143: preferred, colored
Changes since revision 1.143.2.1: +3016 -0
lines
sync with head.
Revision 1.125.2.10: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:48:04 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.125.2.9: preferred, colored
Changes since revision 1.125.2.9: +26 -9
lines
Sync with HEAD.
Revision 1.132.2.3.2.2: download - view: text, markup, annotated - select for diffs
Sun Jan 30 13:44:21 2005 UTC (19 years, 10 months ago) by he
Branches: netbsd-2
Diff to: previous 1.132.2.3.2.1: preferred, colored; branchpoint 1.132.2.3: preferred, colored
Changes since revision 1.132.2.3.2.1: +2 -14
lines
Pull up revision 1.138 (requested by yamt in ticket #968):
Since daddr_t is 64-bit these days, simply use nfs directory
cookies as buffer cache indexes. This should make the
regress/sys/fs/getdents test work. Fixes PR#27112.
Revision 1.147: download - view: text, markup, annotated - select for diffs
Fri Jan 28 10:12:23 2005 UTC (19 years, 10 months ago) by yamt
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +4 -2
lines
nfs_namei: return EACCES for empty filenames as rfc1813 says.
Revision 1.146: download - view: text, markup, annotated - select for diffs
Fri Jan 28 10:11:31 2005 UTC (19 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +3 -3
lines
nfs_clearcommit: don't attempt to clear commit info (n_pushlo, etc)
unless the vnode is of VREG. union members used to keep commit info
are used for other purposes in the case of !VREG.
Revision 1.145: download - view: text, markup, annotated - select for diffs
Thu Jan 27 11:33:26 2005 UTC (19 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +7 -5
lines
keep directory eof cache when inactivating vnode
because there's no reason to throw it away.
(fix an unintended side effect of nfs_subs.c rev.1.144.)
Revision 1.144: download - view: text, markup, annotated - select for diffs
Wed Jan 26 10:30:58 2005 UTC (19 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +4 -2
lines
handle a really empty directory, which doesn't have even the dot entry.
Revision 1.143.2.1
Tue Jan 25 12:20:32 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
FILE REMOVED
Changes since revision 1.143: +0 -3010
lines
file nfs_subs.c was added on branch yamt-km on 2005-02-12 18:17:55 +0000
Revision 1.143: download - view: text, markup, annotated - select for diffs
Tue Jan 25 12:20:32 2005 UTC (19 years, 10 months ago) by yamt
Branches: MAIN
CVS tags: yamt-km-base
Branch point for: yamt-km
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +17 -6
lines
nfs_check_wccdata: comment.
Revision 1.125.2.9: download - view: text, markup, annotated - select for diffs
Mon Jan 24 08:35:53 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.125.2.8: preferred, colored
Changes since revision 1.125.2.8: +85 -4
lines
Sync with HEAD.
Revision 1.142: download - view: text, markup, annotated - select for diffs
Fri Jan 21 14:31:29 2005 UTC (19 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +4 -4
lines
s/time/mono_time/ for n_attrstamp and n_accstamp. (parts of) PR/25641.
Revision 1.141: download - view: text, markup, annotated - select for diffs
Wed Jan 19 16:22:19 2005 UTC (19 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +83 -2
lines
implement inaccurate mtime/ctime detection.
namely, if mtime or ctime are same between pre_op_attr and post_op_attr
when we expected them to be changed, don't trust the server.
Revision 1.125.2.8: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:32:55 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.125.2.7: preferred, colored
Changes since revision 1.125.2.7: +24 -16
lines
Sync with HEAD.
Revision 1.132.2.3.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 11 06:42:19 2005 UTC (19 years, 10 months ago) by jmc
Branches: netbsd-2
Diff to: previous 1.132.2.3: preferred, colored
Changes since revision 1.132.2.3: +15 -10
lines
Pullup rev 1.140 (requested by yamt in ticket #1079)
Invalidate cache if filesize is changed besides our activity
because it means that were out of sync with the server.
Revision 1.132.2.4: download - view: text, markup, annotated - select for diffs
Tue Jan 11 06:41:35 2005 UTC (19 years, 10 months ago) by jmc
Branches: netbsd-2-0
CVS tags: netbsd-2-0-1-RELEASE
Diff to: previous 1.132.2.3: preferred, colored; branchpoint 1.132: preferred, colored
Changes since revision 1.132.2.3: +15 -10
lines
Pullup rev 1.140 (requested by yamt in ticket #1079)
Invalidate cache if filesize is changed besides our activity
because it means that were out of sync with the server.
Revision 1.140: download - view: text, markup, annotated - select for diffs
Sun Jan 9 01:32:32 2005 UTC (19 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: kent-audio1-beforemerge
Branch point for: kent-audio2
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +15 -10
lines
invalidate cache if filesize is changed besides our activity
because it means that we're out of sync with the server.
Revision 1.139: download - view: text, markup, annotated - select for diffs
Thu Jan 6 11:52:44 2005 UTC (19 years, 11 months ago) by yamt
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +11 -8
lines
nfs_loadattrcache: invalidate access cache when ctime is changed.
Revision 1.125.2.7: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:53:24 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.125.2.6: preferred, colored
Changes since revision 1.125.2.6: +2 -14
lines
Sync with HEAD.
Revision 1.138: download - view: text, markup, annotated - select for diffs
Tue Oct 26 04:34:46 2004 UTC (20 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: kent-audio1-base,
kent-audio1
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +2 -14
lines
since daddr_t is 64-bit these days, simply use nfs directory cookies
as buffer cache indexes. regress/sys/fs/getdents is now supposed to work.
fix PR/27112.
Revision 1.125.2.6: download - view: text, markup, annotated - select for diffs
Tue Oct 19 15:58:19 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.125.2.5: preferred, colored
Changes since revision 1.125.2.5: +3 -2
lines
Sync with HEAD
Revision 1.132.2.3: download - view: text, markup, annotated - select for diffs
Mon Oct 4 06:05:30 2004 UTC (20 years, 2 months ago) by jmc
Branches: netbsd-2-0
CVS tags: netbsd-2-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3
Branch point for: netbsd-2
Diff to: previous 1.132.2.2: preferred, colored; branchpoint 1.132: preferred, colored
Changes since revision 1.132.2.2: +3 -2
lines
Pullup rev 1.137 (requested by yamt in ticket #889)
nfs_enterdircache: initialize dc_flags of a newly allocated dircache entry.
Revision 1.137: download - view: text, markup, annotated - select for diffs
Sun Oct 3 10:51:28 2004 UTC (20 years, 2 months ago) by yamt
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -2
lines
nfs_enterdircache: initialize dc_flags of a newly allocated dircache entry.
provided by Greg Oster.
Revision 1.125.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:38:39 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.125.2.4: preferred, colored
Changes since revision 1.125.2.4: +11 -11
lines
Fix the sync with head I botched.
Revision 1.132.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 19:21:45 2004 UTC (20 years, 2 months ago) by he
Branches: netbsd-2-0
CVS tags: netbsd-2-0-RC2,
netbsd-2-0-RC1
Diff to: previous 1.132.2.1: preferred, colored; branchpoint 1.132: preferred, colored
Changes since revision 1.132.2.1: +145 -44
lines
Pull up revision 1.135 (requested by yamt in ticket #858):
Fix access-after-free bugs in dircache code by reference
counting nfsdircache. Fixes PR#26864.
Revision 1.125.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:56:20 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.125.2.3: preferred, colored
Changes since revision 1.125.2.3: +154 -53
lines
Sync with HEAD.
Revision 1.136: download - view: text, markup, annotated - select for diffs
Fri Sep 17 14:11:26 2004 UTC (20 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +4 -4
lines
There's no need to pass a proc value when using UIO_SYSSPACE with
vn_rdwr(9) and uiomove(9).
OK'd by Jason Thorpe
Revision 1.135: download - view: text, markup, annotated - select for diffs
Wed Sep 15 09:50:56 2004 UTC (20 years, 2 months ago) by yamt
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +145 -44
lines
fix access-after-free bugs in dircache code by refcounting nfsdircache.
PR/26864.
Revision 1.125.2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 24 17:57:41 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.125.2.2: preferred, colored
Changes since revision 1.125.2.2: +5 -6
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.125.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:56:17 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.125.2.1: preferred, colored
Changes since revision 1.125.2.1: +86 -40
lines
Sync with HEAD
Revision 1.132.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 10:15:57 2004 UTC (20 years, 5 months ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +5 -2
lines
Pull up revision 1.134 (requested by yamt in ticket #515):
nfs_searchdircache: fix a null dereference in the case that
offset!=0 and dircache hasn't been initialized yet.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Mon Jun 14 12:28:35 2004 UTC (20 years, 5 months ago) by yamt
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +5 -2
lines
nfs_searchdircache: fix a null dereference in the case that
offset!=0 and dircache hasn't been initialized yet.
Revision 1.133: download - view: text, markup, annotated - select for diffs
Wed Apr 21 01:05:42 2004 UTC (20 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +3 -3
lines
Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
Revision 1.132: download - view: text, markup, annotated - select for diffs
Fri Mar 19 13:53:28 2004 UTC (20 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +4 -3
lines
nfs_getattrcache: deal with timer wraparound.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Fri Mar 12 16:52:37 2004 UTC (20 years, 8 months ago) by yamt
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +5 -4
lines
shrink sizeof struct nfsnode by putting exclusive members into union.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Sat Nov 29 19:31:13 2003 UTC (21 years ago) by yamt
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +9 -6
lines
nfs_zeropad: remove an unneeded substitution (and clean up a little.)
Revision 1.103.6.1: download - view: text, markup, annotated - select for diffs
Sat Oct 4 08:34:22 2003 UTC (21 years, 2 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.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103: +15 -7
lines
Pull up revision 1.129 (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.129: download - view: text, markup, annotated - select for diffs
Thu Oct 2 06:01:51 2003 UTC (21 years, 2 months ago) by itojun
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +15 -7
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.128: download - view: text, markup, annotated - select for diffs
Fri Sep 26 11:51:53 2003 UTC (21 years, 2 months ago) by yamt
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +3 -3
lines
change n_mtime from time_t to timespec in order to improve
cache consistency.
(1 second granularity is too loose these days.)
Revision 1.127: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:33:53 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +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.126: download - view: text, markup, annotated - select for diffs
Wed Jul 23 13:52:24 2003 UTC (21 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +55 -21
lines
when rexmitting a request due to NFSERR_JUKEBOX,
use a new xid as RFC1813 says.
Revision 1.125.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:27:10 2003 UTC (21 years, 5 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +15 -14
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.125: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:32:18 2003 UTC (21 years, 5 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +11 -11
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.124: download - view: text, markup, annotated - select for diffs
Sun Jun 29 18:43:37 2003 UTC (21 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +5 -6
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.123: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:22:18 2003 UTC (21 years, 5 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +15 -14
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.122: download - view: text, markup, annotated - select for diffs
Mon Jun 9 13:10:31 2003 UTC (21 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +47 -53
lines
rework zero padding of rpc reply.
- for READ procedure, don't send back more bytes than requested.
- don't have doubtful assumptions on mbuf chain structure.
- rename a function (nfsm_adj -> nfs_zeropad) to avoid confusion as
the semantics of the function was changed.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Thu May 22 14:16:23 2003 UTC (21 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +4 -2
lines
poolify nfsrv_descript.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Thu May 22 14:14:02 2003 UTC (21 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +22 -10
lines
avoid double free with xlatecookie.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Wed May 7 16:18:53 2003 UTC (21 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +4 -2
lines
simple lock for nfs iod.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Sat May 3 18:07:42 2003 UTC (21 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +27 -3
lines
tweak nfsm_adj to pay attention to read only mbufs.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sat May 3 16:35:22 2003 UTC (21 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +5 -4
lines
more comment.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Sat May 3 16:28:57 2003 UTC (21 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +9 -5
lines
better handling of write verifier change.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Thu Apr 24 21:21:05 2003 UTC (21 years, 7 months ago) by drochner
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +10 -10
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.114: download - view: text, markup, annotated - select for diffs
Wed Apr 16 14:51:55 2003 UTC (21 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +5 -5
lines
sync a comment with reality.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Wed Apr 2 15:14:22 2003 UTC (21 years, 8 months ago) by yamt
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +9 -8
lines
use queue manipulation macros.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Tue Apr 1 11:59:03 2003 UTC (21 years, 8 months ago) by yamt
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +4 -2
lines
add an assertion.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Mon Mar 31 14:47:03 2003 UTC (21 years, 8 months ago) by yamt
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +7 -7
lines
rename fvdl_debug to NFS_DEBUG_COMMIT.
ok'ed by fvdl.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Fri Mar 28 13:05:48 2003 UTC (21 years, 8 months ago) by yamt
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -3
lines
reply ENAMETOOLONG properly instead of discarding request as BADRPC.
my own PR20791.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Wed Feb 26 06:31:19 2003 UTC (21 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +28 -19
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.108: download - view: text, markup, annotated - select for diffs
Mon Feb 10 17:31:01 2003 UTC (21 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +4 -2
lines
move the MALLOC decl for DIROFFS to nfs_subs.c
Revision 1.92.2.11: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:46:50 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.92.2.10: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.10: +0 -1
lines
Sync with HEAD.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Sun Dec 1 23:02:11 2002 UTC (22 years ago) by matt
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.106: preferred, colored
Changes since revision 1.106: +2 -3
lines
Make sure these all agree on the same definitons of various variables.
Revision 1.92.2.10: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:16:09 2002 UTC (22 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.92.2.9: preferred, colored
Changes since revision 1.92.2.9: +7 -2
lines
Catch up to -current
Revision 1.106: download - view: text, markup, annotated - select for diffs
Wed Oct 23 09:14:50 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: kqueue-aftermerge
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +7 -2
lines
merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
Revision 1.92.2.9: download - view: text, markup, annotated - select for diffs
Tue Oct 22 18:09:43 2002 UTC (22 years, 1 month ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.92.2.8: preferred, colored
Changes since revision 1.92.2.8: +30 -6
lines
Sync with HEAD.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Oct 21 12:52:33 2002 UTC (22 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: kqueue-beforemerge
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +30 -6
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.95.2.6: download - view: text, markup, annotated - select for diffs
Mon Sep 30 20:43:44 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.95.2.5: preferred, colored; branchpoint 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95.2.5: +7 -2
lines
add support for kevents to NFS
to detect file changes on server by other NFS clients, polling kernel thread
is used to periodically check for attribute changes of watched files;
the NFS server is only contacted when the vnode expires from local attrcache
(which takes 5-60 seconds currently), to keep network&CPU overhead low
the routine checking for remote changes is quite simplistic, but hopefully
doing it's job well enough
Revision 1.95.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:49:49 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.95.2.4: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.4: +4 -4
lines
sync kqueue branch with HEAD
Revision 1.103.4.1: download - view: text, markup, annotated - select for diffs
Thu Aug 29 00:56:56 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103: +4 -4
lines
catch up with -current.
Revision 1.92.2.8: download - view: text, markup, annotated - select for diffs
Tue Aug 27 23:48:21 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.92.2.7: preferred, colored
Changes since revision 1.92.2.7: +2 -2
lines
Catch up to -current.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Fri Aug 23 05:38:51 2002 UTC (22 years, 3 months ago) by enami
Branches: MAIN
CVS tags: kqueue-base,
gehenna-devsw-base
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +4 -4
lines
s/FREE/PNBUF_PUT/
Revision 1.95.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:51:49 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.95.2.3: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.3: +4 -2
lines
catch up with -current on kqueue branch
Revision 1.92.2.7: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:49:07 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.92.2.6: preferred, colored
Changes since revision 1.92.2.6: +24 -8
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.103: download - view: text, markup, annotated - select for diffs
Sun Mar 17 22:22:40 2002 UTC (22 years, 8 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
eeh-devprop-base,
eeh-devprop
Branch point for: netbsd-1-6,
gehenna-devsw
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +4 -2
lines
use the exithook mechanism to remove the exiting process from the list
of processes to be signalled in a soft mount.
Revision 1.95.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:02:20 2002 UTC (22 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.95.2.2: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.2: +22 -8
lines
Catch up with -current.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Mon Mar 11 22:56:47 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -3
lines
Cosmetic change for nfs_enterdircache() - since 'blkno' is last arg,
define it's type last, too.
Noted in kern/14742 by John Franklin.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Thu Feb 28 21:38:08 2002 UTC (22 years, 9 months ago) by fvdl
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +21 -7
lines
Invalidate the access cache when loading a new set of attributes into
the atribute cache. Fixes access cache problem seen by
Nathan Funk of the UofS, relayed by Greg Oster.
Revision 1.92.2.6: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:15:21 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.92.2.5: preferred, colored
Changes since revision 1.92.2.5: +4 -2
lines
Catch up to -current.
Revision 1.95.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:10:43 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.95.2.1: preferred, colored; branchpoint 1.95: preferred, colored
Changes since revision 1.95.2.1: +4 -2
lines
Sync w/ -current.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Sat Jan 26 02:52:20 2002 UTC (22 years, 10 months ago) by chs
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +4 -2
lines
re-enable NFSv3 commit RPCs by abandoning my new approach in favor of
frank's scheme, with one new twist: don't wait until we've totally run
out of free pages before committing, but instead notice when we've built
up a largish range of uncommitted pages and commit only the older half of
the range, which is likely to already be on disk on the server.
Revision 1.95.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:04:25 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +15 -12
lines
Sync kqueue branch with -current.
Revision 1.77.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 15 22:35:24 2001 UTC (23 years ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.77.2.4: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.2.4: +3 -2
lines
Pull up revision 1.98 (requested by fvdl):
Always initialize ni_rootdir in nfs_namei(). This fixes a problem
where use of ``..'' would instead use the information for ``.'',
when using NetBSD/alpha NFS servers, and fixes PR#11618 ands
PR#12953.
Revision 1.92.2.5: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:18:45 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.92.2.4: preferred, colored
Changes since revision 1.92.2.4: +4 -1
lines
Catch up to -current.
Revision 1.98.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:19:37 2001 UTC (23 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +4 -1
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Sat Nov 10 10:59:10 2001 UTC (23 years ago) by lukem
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +4 -1
lines
add RCSIDs
Revision 1.92.2.4: download - view: text, markup, annotated - select for diffs
Mon Oct 8 20:11:48 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.92.2.3: preferred, colored
Changes since revision 1.92.2.3: +3 -2
lines
Catch up to -current.
Revision 1.95.4.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:48:01 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +12 -12
lines
Catch up with -current.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Thu Sep 27 21:44:56 2001 UTC (23 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2
Branch point for: thorpej-mips-cache
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -2
lines
Always initialize ni_rootdir in nfs_namei. From Andrei Petrov.
Revision 1.92.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:36:56 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.92.2.2: preferred, colored
Changes since revision 1.92.2.2: +10 -11
lines
Catch up to -current.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Sat Sep 15 20:36:40 2001 UTC (23 years, 2 months ago) by chs
Branches: MAIN
CVS tags: post-chs-ubcperf
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +4 -4
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.96: download - view: text, markup, annotated - select for diffs
Sat Sep 15 16:13:01 2001 UTC (23 years, 2 months ago) by chs
Branches: MAIN
CVS tags: pre-chs-ubcperf
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +7 -8
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.92.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:09:35 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.92.2.1: preferred, colored
Changes since revision 1.92.2.1: +12 -7
lines
Catch up to -current.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Thu Jun 7 01:04:40 2001 UTC (23 years, 6 months ago) by lukem
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp,
kqueue
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +5 -3
lines
delint lvalue cast abuse
Revision 1.71.2.7: download - view: text, markup, annotated - select for diffs
Mon Apr 23 09:42:34 2001 UTC (23 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.71.2.6: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.6: +8 -5
lines
Sync with HEAD.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Sat Apr 21 21:35:53 2001 UTC (23 years, 7 months ago) by bjh21
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +8 -5
lines
In nfs_loadattrcache(), if checkalias() gives us a new vnode, lock it. This
prevents us losing the locked state of the old vnode.
fvdl thinks the old vnode is certain to be locked at this point. I've put in
a KASSERT to be on the safe side.
This seems to fix PR kern/12661.
Revision 1.92.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:58:57 2001 UTC (23 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -2
lines
Catch up with -current.
Revision 1.77.2.4: download - view: text, markup, annotated - select for diffs
Fri Apr 6 00:02:45 2001 UTC (23 years, 8 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.77.2.3: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.3: +3 -2
lines
Pull up revision 1.93 (requested by wrstuden):
Explicitly VOP_UNLOCK before setting v_op to spec_vnode_ops_p.
Works around a lock leak and eventual kernel panic.
Revision 1.71.2.6: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:32:44 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.71.2.5: preferred, colored
Changes since revision 1.71.2.5: +3 -2
lines
Sync with HEAD.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri Mar 23 21:11:44 2001 UTC (23 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -2
lines
Same change as in the UFS code: unlock vnode before setting v_op
to spec_vnode_ops. From Bill Studenmund.
Revision 1.71.2.5: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:32:01 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.71.2.4: preferred, colored
Changes since revision 1.71.2.4: +20 -12
lines
Sync with HEAD.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Wed Feb 21 21:39:57 2001 UTC (23 years, 9 months ago) by jdolecek
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +2 -2
lines
make some more constant arrays 'const'
Revision 1.91: download - view: text, markup, annotated - select for diffs
Wed Feb 14 15:36:45 2001 UTC (23 years, 9 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +19 -11
lines
Fix some possible locking errors in nfs_namei (XXX this function should die)
Revision 1.71.2.4: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:17:35 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.71.2.3: preferred, colored
Changes since revision 1.71.2.3: +36 -34
lines
Sync with HEAD.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu Jan 18 20:28:28 2001 UTC (23 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +36 -34
lines
constify
Revision 1.77.2.3: download - view: text, markup, annotated - select for diffs
Thu Dec 14 23:37:09 2000 UTC (23 years, 11 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.77.2.2: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.2: +231 -20
lines
Pull up revisions 1.85,1.87 (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.71.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:19:22 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.71.2.2: preferred, colored
Changes since revision 1.71.2.2: +39 -47
lines
Sync with HEAD.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Mon Nov 27 08:39:49 2000 UTC (24 years ago) by chs
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +40 -48
lines
Initial integration of the Unified Buffer Cache project.
Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:06:34 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.71.2.1: preferred, colored
Changes since revision 1.71.2.1: +5 -4
lines
Sync with HEAD.
Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:11:19 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +355 -108
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.88: download - view: text, markup, annotated - select for diffs
Wed Nov 8 14:28:15 2000 UTC (24 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +5 -4
lines
Update for hashinit() change.
Revision 1.77.2.2: download - view: text, markup, annotated - select for diffs
Mon Oct 30 22:22:58 2000 UTC (24 years, 1 month ago) by tv
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2
Diff to: previous 1.77.2.1: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.2.1: +2445 -0
lines
Pullup 1.87 [fvdl]:
Do not accept vnode type changes to an active node. This may wreak
havoc if the server erroneously uses the same filehandle for
different files. This changes back revision 1.28; the PR that
that revision fixed doesn't apply anymore, it has been verified
not to be a problem with this change.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Oct 24 12:02:04 2000 UTC (24 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +2 -2
lines
Do not accept vnode type changes to an active node. This may wreak
havoc if the server erroneously uses the same filehandle for
different files. This changes back revision 1.28; the PR that
that revision fixed doesn't apply anymore, it has been verified
not to be a problem with this change.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Sep 27 18:36:03 2000 UTC (24 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +5 -3
lines
Avoid unused variables for V2_ONLY case.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Sun Sep 24 06:59:21 2000 UTC (24 years, 2 months ago) by enami
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -2
lines
Don't bother to clear commit information for the vnode of type VNON.
It is not necessary since it is a vnode being initialized and it shouldn't
be done since filesystem private data may not be assigned yet.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Sep 19 23:26:26 2000 UTC (24 years, 2 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +5 -1
lines
Extend NFS_V2_ONLY to remove NQNFS lease support as well. Saves another 10k.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Sep 19 22:13:55 2000 UTC (24 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +229 -20
lines
Add functions to deal with keeping track of commit ranges.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Sep 19 17:04:51 2000 UTC (24 years, 2 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -1
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.81: download - view: text, markup, annotated - select for diffs
Thu Aug 3 20:41:32 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +12 -8
lines
Convert namei pathname buffer allocation to use the pool allocator.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Aug 3 06:15:05 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3
lines
MALLOC()/FREE() are not to be used for variable size allocations.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Jun 28 03:30:42 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +1 -3
lines
remove include of <vm/vm.h>
Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Jun 27 17:52:34 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +1 -3
lines
remove include of <vm/vm.h>
Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:10:18 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +23 -3
lines
Sync w/ netbsd-1-5-base.
Revision 1.77.2.1
Tue Jun 20 02:29:51 2000 UTC (24 years, 5 months ago) by tv
Branches: netbsd-1-5
FILE REMOVED
Changes since revision 1.77: +0 -2445
lines
file nfs_subs.c was added on branch netbsd-1-5 on 2000-10-30 22:22:58 +0000
Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Jun 20 02:29:51 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -2
lines
disable the bloated NFS structure check on 64bit sparc64.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Jun 9 00:00:18 2000 UTC (24 years, 6 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +22 -2
lines
Some tweaks to enable NFS over IPv6. The special-casing of AF_INET
should really be removed.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Mar 30 12:51:16 2000 UTC (24 years, 8 months ago) by augustss
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +61 -61
lines
Remove register declarations.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Mar 30 02:43:13 2000 UTC (24 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +1 -4
lines
Delete redundant decl of nfs_pub - it's in <sys/mount.h>.
Delete redundant decls of nfsv{2,3}_type - they're in <nfs/nfsproto.h>.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Mar 16 18:08:29 2000 UTC (24 years, 8 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +7 -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.71.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:36:30 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +16 -10
lines
Pull up to last week's -current.
Revision 1.71.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:42:16 1999 UTC (25 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +16 -10
lines
Sync with -current
Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Nov 1 21:32:41 1999 UTC (25 years, 1 month ago) by fvdl
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
fvdl-softdep-base,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-newbase
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +16 -10
lines
Stuff values in va_blocksize that are closer to reality.
Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 10 22:24:25 1999 UTC (25 years, 3 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +3 -3
lines
Pull up revision 1.71:
Don't truncate minor numbers > 255 on a NFS client. (is)
Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Sep 6 09:27:18 1999 UTC (25 years, 3 months ago) by is
Branches: MAIN
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3
lines
Don't truncate minor numbers >= 256.
Problem reported by Saitoh Masanobu, fix by Frank van der Linden.
Revision 1.69.4.1: download - view: text, markup, annotated - select for diffs
Mon Aug 2 22:38:27 1999 UTC (25 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +6 -4
lines
Update from trunk.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Jul 8 01:06:03 1999 UTC (25 years, 5 months ago) by wrstuden
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +6 -4
lines
Modify file systems to deal with struct lock in struct vnode. All leaf
fs's other than nfs use genfs_lock() for locking.
Modify lookup routines to set PDIRUNLOCK when they unlock the parrent.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:28 1999 UTC (25 years, 8 months ago) by mrg
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
Branch point for: netbsd-1-4,
chs-ubc2
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +1 -12
lines
completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Tue Mar 16 23:24:28 1999 UTC (25 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -1
lines
..JUKEBOX can happen on writes too.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Mar 16 23:22:57 1999 UTC (25 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -1
lines
The JUKEBOX error may be returned by the read operation, so don't
filter it out.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Mar 6 05:34:41 1999 UTC (25 years, 9 months ago) by fair
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +6 -6
lines
Snatch a patch from OpenBSD to fix PRs 6529 and 7074.
Adjust fxdr_hyper() and txdr_hyper() macros.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Feb 27 00:47:34 1999 UTC (25 years, 9 months ago) by wrstuden
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2
lines
Rationalize the vfs_checkexp macro to be VFS_CHECKEXP.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Feb 26 23:44:47 1999 UTC (25 years, 9 months ago) by wrstuden
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +5 -2
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.63: download - view: text, markup, annotated - select for diffs
Sun Aug 9 21:19:52 1998 UTC (26 years, 4 months ago) by perry
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base,
chs-ubc
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +15 -15
lines
bzero->memset, bcopy->memcpy, bcmp->memcmp
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Jul 5 04:37:44 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -1
lines
defopt ISO TPIP.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Jun 25 22:18:09 1998 UTC (26 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -1
lines
defopt NFSSERVER
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Jun 24 20:58:46 1998 UTC (26 years, 5 months ago) by sommerfe
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +1 -6
lines
Always include fifos; "not an option any more".
Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Jun 22 22:01:05 1998 UTC (26 years, 5 months ago) by sommerfe
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -1
lines
defopt for options FIFO
Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri May 8 18:26:54 1998 UTC (26 years, 7 months ago) by kleink
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
Fix some arithmetics lossage on typeless pointers.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Mar 3 13:38:32 1998 UTC (26 years, 9 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -3
lines
Only free cookies on error when they were actually allocated by the readdir vop.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:24:28 1998 UTC (26 years, 9 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -19
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:45 1998 UTC (26 years, 9 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: +887 -166
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:40 1998 UTC (26 years, 9 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: +485 -494
lines
Import 4.4BSD-Lite for reference
Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Feb 19 00:54:13 1998 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -1
lines
Include the NFS option header.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Feb 10 14:10:16 1998 UTC (26 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -1
lines
- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Feb 7 02:45:00 1998 UTC (26 years, 10 months ago) by chs
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3
lines
add flags arg to hashinit(), to pass to malloc().
Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri Feb 6 08:22:54 1998 UTC (26 years, 10 months ago) by mikel
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2
lines
ELAST incremented, update nfsrv_v2errmap[] initialization
Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Feb 5 08:00:24 1998 UTC (26 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +13 -1
lines
initial import of the new virtual memory system, UVM, into -current.
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.
this is the rest of the MI portion changes.
this will be KNF'd shortly. :-)
Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 29 12:13:23 1998 UTC (26 years, 10 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.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +9 -1
lines
Pull up 1.50 (fvdl)
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Jan 22 00:53:59 1998 UTC (26 years, 10 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +9 -1
lines
Refuse to create entries in the dir cache for offset 0. This is a special
case anyway, and amd(8) erroneously returns some entries with cookie 0.
Fixes PR 4844
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Oct 19 01:46:32 1997 UTC (27 years, 1 month 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.48: preferred, colored
Changes since revision 1.48: +187 -27
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.45.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 14 15:58:36 1997 UTC (27 years, 1 month ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +179 -88
lines
Update marc-pcmcia branch from trunk.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Oct 11 02:09:48 1997 UTC (27 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: marc-pcmcia-base
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +71 -71
lines
Move cookie heuristic function inside ifdef NFS, to make a kernel with server
code but without client code link again. From Erik Bertelsen, PR 4259
Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Oct 10 13:21:51 1997 UTC (27 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +8 -9
lines
Fix unitialized var warning (did not appear on i386, but did on sparc).
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Oct 10 01:53:25 1997 UTC (27 years, 2 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +180 -88
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.45: download - view: text, markup, annotated - select for diffs
Mon Jul 14 20:46:20 1997 UTC (27 years, 4 months ago) by fvdl
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal,
marc-pcmcia-bp
Branch point for: marc-pcmcia
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +23 -14
lines
Don't assume that pointers into mbuf data remain valid across nfsm_dissect.
In readdirplus, don't keep such pointers but store the file attributes
in a variable instead until they are needed. Change nfsm_loadattr*
a bit so it can accept a direct pointer to an nfs_fattr structure.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Jul 4 20:22:10 1997 UTC (27 years, 5 months ago) by drochner
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3
lines
Don't cast 64bit (off_t) file sizes to vm_offset_t (32bit on many
architectures), truncate them intelligently instead.
The truncation is done centralized in vnode_pager.c.
This prevents from wrap-over effects when parts of large (>2^32 byte) files
are mmapped.
Don't allow to mmap above the numerical range of vm_offset_t.
This is considered a temporary solution until the vm system handles the
object sizes/offsets more cleanly.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Jun 24 23:36:02 1997 UTC (27 years, 5 months ago) by fvdl
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +186 -32
lines
Extend lookup handling for WebNFS. This means that nfs_namei deals
with full pathname lookups if a public filehandle is used, and that
it translates the '%' escapes (URL-style) in the same case. Also,
make nfsrv_fhtovp convert the public filehandle to the vp of the
publicly exported filesystem, as stored in the nfs_pub structure.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu May 8 16:20:35 1997 UTC (27 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2
lines
Pass the vnode type to vaccess(), and use it when checking VEXEC. Make sure
that the mode bits passed to vaccess() and returned by foo_getattr() contain
only permission bits.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Mar 27 20:40:09 1997 UTC (27 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -7
lines
Update for new mbuf code.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Mar 23 20:55:51 1997 UTC (27 years, 8 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +11 -1
lines
Check for the use of reserved ports on a per-request basis, unless
MNT_EXNORESPORT is specified. The check is cheap and doesn't impose
any extra overhead.
Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 12 21:25:12 1997 UTC (27 years, 9 months ago) by is
Branches: is-newarp
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +96 -46
lines
Merge in changes from Trunk
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Feb 22 03:03:03 1997 UTC (27 years, 9 months ago) by fvdl
Branches: MAIN
CVS tags: is-newarp-before-merge
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +96 -46
lines
Fixes from BSDI (thanks go to Keith Bostic). Original RCS messages:
date: 1997/02/10 18:41:14; author: cp; state: Exp; lines: +110 -46
Make nfs_realign go away on sparc and add functionality to nfsm_disct.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jan 31 02:58:52 1997 UTC (27 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: mrg-vm-swap,
is-newarp-base
Branch point for: is-newarp
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3
lines
NFSCLIENT -> NFS.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 14 21:27:20 1997 UTC (27 years, 10 months ago) by thorpej
Branches: thorpej-setroot
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +3 -3
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.37: download - view: text, markup, annotated - select for diffs
Mon Dec 9 11:31:11 1996 UTC (28 years ago) by fvdl
Branches: MAIN
Branch point for: thorpej-setroot
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2
lines
Comment change in previous made for some bad english..
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Dec 9 10:46:20 1996 UTC (28 years ago) by fvdl
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3
lines
Move '#ifdef NFSSERVER' back to the right spot; NQNFS datastructures need
to be initialized on both the client and the server side. Remove misleading
comment about this being just server stuff.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Dec 3 00:22:44 1996 UTC (28 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +23 -13
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.34: download - view: text, markup, annotated - select for diffs
Mon Dec 2 22:55:42 1996 UTC (28 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4
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.33: download - view: text, markup, annotated - select for diffs
Fri Oct 25 23:14:09 1996 UTC (28 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
make the namei struct members ni_dirp and ni_next, and the componentname
struct member cn_nameptr 'const', since they should never be used to
modify the path name. (Only the pathname buffer, cn_pnbuf, should be
modified.) Propagate the const poisoning to code that uses the namei
and componentname structs.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Oct 13 01:39:08 1996 UTC (28 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +9 -9
lines
revert kprintf changes
Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Oct 10 23:31:22 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +9 -9
lines
printf -> kprintf, sprintf -> ksprintf
Revision 1.27.4.3: download - view: text, markup, annotated - select for diffs
Mon Jul 8 20:34:24 1996 UTC (28 years, 5 months ago) by jtc
Branches: netbsd-1-2
CVS tags: netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001
Diff to: previous 1.27.4.2: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.4.2: +18 -1
lines
Pulled up from rev 1.30 by request from Frank van der Linden
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Jul 7 12:23:49 1996 UTC (28 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +18 -1
lines
Start XIDs at a value based on the current time, not 0. This avoids nasty
XID confusions with servers that cache them over a long period and
with clients that reboot quickly.
Problems: because of the sanity check that is done by comparing the system
time with filesystem time, XIDs will start at 0 until root is mounted,
which means it isn't completely safe for diskless setups. But it's clearly
better than it was. It would also be cleaner if all XID handling (more
generally, all RPC handling) within the kernel went through the
same functions.
Revision 1.27.4.2: download - view: text, markup, annotated - select for diffs
Tue Jul 2 23:35:59 1996 UTC (28 years, 5 months ago) by jtc
Branches: netbsd-1-2
Diff to: previous 1.27.4.1: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.4.1: +10 -11
lines
Pulled up from rev 1.29 by request from fvdl
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Jul 1 10:22:47 1996 UTC (28 years, 5 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +10 -11
lines
We're only handling uio with iovcnt == 1, so don't ever attempt to increment
uio_iov, this will get us into nasty trouble. (Thanks to Matthias Drochner for
tracking this down).
Revision 1.27.4.1: download - view: text, markup, annotated - select for diffs
Sat May 25 22:40:34 1996 UTC (28 years, 6 months ago) by fvdl
Branches: netbsd-1-2
CVS tags: netbsd-1-2-BETA
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2
lines
Pull in bugfixes from main branch.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu May 23 22:47:31 1996 UTC (28 years, 6 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2
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.27: download - view: text, markup, annotated - select for diffs
Wed Apr 3 23:25:36 1996 UTC (28 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -1
lines
Make these link in the absense of "options FIFO".
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Mar 13 00:44:17 1996 UTC (28 years, 9 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -1
lines
Disable invalidating of directory offsets cookies. Should fix one or two
directory problems.
XXX There is no clean solution to the cookie/cookieverifier validity mess.
Together with the disabled strict cookie check, this puts us back at
what v2 did in this case. Slightly better solution possible by
consequently storing 64bit cookies in other places too.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Feb 18 11:53:51 1996 UTC (28 years, 9 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +913 -153
lines
Bring in a merge of Rick Macklem's NFSv3 code from Lite2
Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:48:34 1996 UTC (28 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +31 -13
lines
nfs prototype changes
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Feb 1 00:40:44 1996 UTC (28 years, 10 months ago) by jtc
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +10 -10
lines
Rename struct timespec fields to conform to POSIX.1b
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Dec 19 23:07:43 1995 UTC (28 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +29 -29
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.21: download - view: text, markup, annotated - select for diffs
Fri Sep 8 13:52:23 1995 UTC (29 years, 3 months ago) by ws
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -3
lines
No point in computing cn_hash here,
as it gets immediately recomputed in lookup
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Jun 2 18:35:50 1995 UTC (29 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
Exported group list now starts at offset 0, not 1.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:44:41 1995 UTC (29 years, 6 months ago) by jtc
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -2
lines
Moved egid credential from cr_groups[0] to new field cr_gid. POSIX.1
requires that sgid executables and the setuid() syscall *not* change
the supplemental group list.
Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 19 12:10:31 1994 UTC (30 years, 3 months ago) by mycroft
Branches: netbsd-1-0
CVS tags: netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.1: +19 -25
lines
update from trunk
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Aug 18 22:47:53 1994 UTC (30 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +11 -14
lines
More LIST/CIRCLEQ migration.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Aug 17 14:43:53 1994 UTC (30 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +8 -10
lines
Convert some more lists and queues.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Aug 17 11:41:44 1994 UTC (30 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -3
lines
Change the reply list to a TAILQ.
Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 24 01:37:30 1994 UTC (30 years, 4 months ago) by cgd
Branches: netbsd-1-0
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -1
lines
from trunk.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Jul 22 23:16:36 1994 UTC (30 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -1
lines
Set the group list length when copying credentials.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:42:22 1994 UTC (30 years, 5 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -2
lines
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Jun 13 16:00:41 1994 UTC (30 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
Move a misplaced #endif.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jun 8 11:37:00 1994 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +556 -417
lines
Update to 4.4-Lite fs code, with local changes.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Mar 9 21:24:36 1994 UTC (30 years, 9 months ago) by ws
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -4
lines
Make FFS optional
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Feb 6 11:28:37 1994 UTC (30 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +8 -1
lines
Eliminate some more uses of b_actl.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 18 00:45:25 1993 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +21 -21
lines
Canonicalize all #includes.
Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 14 22:22:28 1993 UTC (31 years ago) by mycroft
Branches: magnum
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +22 -22
lines
Canonicalize all #includes.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 24 08:56:40 1993 UTC (31 years, 2 months ago) by mycroft
Branches: magnum
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -1
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.8: download - view: text, markup, annotated - select for diffs
Tue Sep 7 15:41:45 1993 UTC (31 years, 3 months ago) by ws
Branches: MAIN
CVS tags: magnum-base
Branch point for: magnum
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -3
lines
Changes to VFS readdir semantics
NFS changes for better cookie support
ISOFS changes for better Rockridge support and support for generation numbers
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Aug 2 23:11:14 1993 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
Make bpos arg to nfsm_reqh a caddr_t*, not a caddr_t**, as that's what it
is actually passed.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jul 13 10:40:07 1993 UTC (31 years, 5 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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
bpos is really a caddr_t **. doesn't really make a diff to the code
generated...
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jul 13 10:04:28 1993 UTC (31 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
diskless changes made last time were hosed; were using NULL for
"no credentials" rather than NOCRED.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jul 7 12:06:34 1993 UTC (31 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +13 -6
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.3: download - view: text, markup, annotated - select for diffs
Fri May 21 07:38:05 1993 UTC (31 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1
lines
add rcsid again; fix RCS+crash fuckup
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Apr 10 20:19:24 1993 UTC (31 years, 8 months ago) by glass
Branches: MAIN
CVS tags: netbsd-alpha-1,
netbsd-0-8
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -158
lines
migrated code to make split possible
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, 8 months ago) by cgd
Branches: WFJ-920714,
CSRG
CVS tags: patchkit-0-2-2,
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, 8 months ago) by cgd
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>