Age | Commit message (Collapse) | Author |
|
since they have no business being export to userland.
OK blambert@
|
|
its used only once and nuke its definition.
Stolen from blambert's bag'o'diffs.
OK blambert@.
|
|
file shares the same sane style.
|
|
another comment.
|
|
hurt readability and it was just plain annoying seeing them defined
in every other .c file.
OK blambert@
|
|
|
|
|
|
blambert@--
Real solution is to fix NFS mbuf handling.
|
|
ok thib@
|
|
the server cache on shutdown.
ok thib@
|
|
#define's in nfs_var.h
ok thib@
|
|
|
|
shrinks, same thing as UFS does.
ok/pointers pedro@
ok blambert@
|
|
ok blambert@
|
|
ok tedu@, blambert@, art@
|
|
replaced by a function long ago..
ok blambert@
|
|
changes, okay beck@, tedu@ and thib@.
|
|
|
|
From NetBSD;
OK art@, blambert@
|
|
checks if the mount is actually interrutable, and if not sets it 0.
remove this argument from nfs_vinvalbuf and just do the checking inside
the function.
o give nfs_vinvalbuf() a makeover so it looks nice. (spacing, casts, &c);
o Actually pass PCATCH too tsleep() if the mount it interrutable.
ok art@, blambert@
|
|
and the dead code that was supposed todo that has been removed.
o rename the NFS_SMALLFH constant to NFS_MAXFHSIZE, since it better
reflects what it's for.
ok blambert@
|
|
nfs_iodwant array became unused. Garbage collect and free up
a few bytes.
ok thib@
|
|
as it was never used because there were 64-bit buffers already allocated
for filehandles in nfsnode structs.
ok thib@
|
|
wrong. But this was harmless anyway since sys_statfs() sets this field
corrently after calling VFS_STATFS();
ok pedro@, blambert@
|
|
ok thib@
|
|
|
|
them going negative - this consists of identifying a number of cases of
IO not going through the buffer cache and marking those buffers with
B_RAW - as well as fixing nfs_bio to show pending writes and reads through
the buffer cache via NFS
still has a problem with mishandling the counters I believe in the
async/sync fallback case where counters stay positive which will be
addressed seperately.
ok tedu@ deraadt@
|
|
not just a return value, nfs_lookitup treats it specially when *npp
is not NULL.
- nfs_lookitup - When we match the file handle to the directory
filehandle (lookup on '.'), initialize np so that we don't return
stack garbage to the caller. The function shouldn't ever be
called with '.' at this moment, but that's no reason to not do the
right thing in case future callers use it that way.
blambert@ thib@ ok
|
|
|
|
ok blambert@
|
|
|
|
a) we're attempting to wake a specific process which
b) sleeps on a unique address
which means that there's no need to continue traversing the sleep
queue once the process has been found and awakened.
"looks good too me" thib@
|
|
(its never set).
"please kill it" blambert@
|
|
for uid goo, mostly zapping unused members from various structures.
ok blambert@
|
|
mbuf that points to the rest of the chain (if it is a
chain).
ok blambert@
|
|
ok thib@
|
|
wasted hours tracking down a phantom mbuf leak.
ok thib@
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
ok blambert@
|
|
filehandle -> mbuf write macros.
Removes `magic' variable cp which was used only in these macros,
and should lead to marginally better mbuf packing as well.
`slap it in' thib@
|
|
the accidental situation that used to happen when it leaked buffers and allowed
the syncer to do it, however this puts a limit on how much of the buffer cache
it is allowed to consume to a sensible amount - improves nfs write performance
since we don't have to do tons of them synch now.
Modifies the existing code to use wakeup_one instead of cruft, and now
all nfsiod's tsleep the same way.
ok thib@ art@
|
|
conversions that should shave a few bytes off the kernel.
ok henning, krw, jsing, oga, miod, and thib (``even though i usually prefer
FOO|BAR''; thanks for looking.
|
|
ok blambert@
|
|
rest of NFS code, canonical for() -> LIST_FOREACH() change, minor
readability changes.
ANSIfy function while here.
ok thib@
|
|
ok blambert@
|
|
contents of this file inside #ifdef _KERNEL; there's nothing here that
userland should ever need/touch.
but then again, some userland programs define _KERNEL before they include
kernel header files *shrugh*...
survived a build, OK blambert@
|
|
depends on them being set. This should be the removal of the original
return-to-userland-to-authenticate code that was apparently an unfinished
experiment.
ok thib@
|
|
Rescue nfsm_reqhead macro name and rename nfsm_reqh.
End of one-liners from nfsm_subs.h.
ok thib@
|
|
|
|
ok blambert@
|