Age | Commit message (Collapse) | Author |
|
ok thib@
|
|
Prevents weird things from happening.
ok tedu@,pedro@
|
|
NQNFS leftover.
- Remove setting of the NFSMNT_DISMINPROG flag, its set
and unset in the same function servering no purpose,
im however going to reuse it shortly.
- kill an if thats always true (NFSMNT_KERB cant be set)
- misc cleanup and KNF.
ok beck@
|
|
smallish cleanup (move prototypes and externs togather).
ok toby@
|
|
ok pedro@
|
|
requested by deraadt@
|
|
- new sysctl vfs.nfs.privport to require NFS mount requests to be on
reserved ports when set to 1 (the default).
- mountd now automatically sets the sysctl depending on the -n flag.
- add mountd_flags to rc.conf to enable the -n flag at boot.
deraadt@ ok
|
|
|
|
which duplicates work done by uvm_swap_init().
|
|
anymore. Testing by jolan@, thanks.
|
|
belonging to a mount point if we want to skip all of them, okay art@ a
couple of days ago, commit it deraadt@
|
|
> fix preposterous time warnings in the nfs client; caused by false hits
> in the attribute cache
> based on original fix by pedro@, ok pedro@, tedu@; testing kettenis@
was backed out because too close to release
put back in now, since tree is unlocked. unfortunately it appears that even
after MANY MAILS ON THIS SUBJECT, NOONE HAS DONE THIS. WTF? Noone wants
to FINISH jobs anymore?
|
|
fix preposterous time warnings in the nfs client; caused by false hits
in the attribute cache
too close to release, save for immediately after unlock
|
|
in the attribute cache
based on original fix by pedro@, ok pedro@, tedu@; testing kettenis@
|
|
things such that code that only need a second-resolution uptime or wall
time, and used to get that from time.tv_secs or mono_time.tv_secs now get
this from separate time_t globals time_second and time_uptime.
ok art@ niklas@ nordin@
|
|
from pedro martelletto, ok markus@
|
|
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
check system clock against root atime, not mtime, since the
later does not change that often and is a bad mark to sync unto.
remove a bogus splnet() i've put way back in 96 w/ v3 integration.
miod@ tested on diskless sparc and sparc64, mickey@ on hppa
|
|
|
|
Two days after commit people report serious lockups all over the place.
Back out nfs locking changes.
|
|
|
|
|
|
remove register
|
|
used by the nfs server.
|
|
machines or some configurations or in some phase of the moon (we actually
don't know when or why) files disappeared. Since we've not been able to
track down the problem in two weeks intense debugging and we need -current
to be stable, back out everything to a state it had before UBC.
We apologise for the inconvenience.
|
|
|
|
|
|
code is written mostly by Chuck Silvers <chuq@chuq.com>/<chs@netbsd.org>.
Tested for the past few weeks by many developers, should be in a pretty stable
state, but will require optimizations and additional cleanups.
|
|
|
|
it into is fixed and on the stack
|
|
Fix problem with diskless clients
|
|
|
|
nfs_nget.
Root vnode no longer pinned in inode cache. Also, forceable unmounts of an
nfs file system now work even if there are extra references to the NFS root.
|
|
|
|
|
|
Death to nfsiod!
It is replaced by kernel threads that do the same thing. The number of
kernel threads used is set with the vfs.nfs.iothreads sysctl.
|
|
|
|
|
|
struct statfs). Also, Make sure we do signed arithmatic when computing
f_bavail.
|
|
o that way zero fields in nfs_args get filled in
o changes via mount -u become visible
|
|
fstatfs(2), and getfsstat(2) so you will need to build a new kernel
before doing a "make build" or you will get "unimplemented syscall" errors.
The new struct statfs has the following featuires:
o Has a u_int32_t flags field--now softdep can have a real flag.
o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man
page used to lie about setting invalid/unused fields to -1. SunOS does
that but our code never has.
o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9
and having it there but always 0 is confusing. It is conceivable
that this may cause some old code to not compile but that is better
than silently breaking.
o Adds a mount_info union that contains the FSTYPE_args struct. This
means that "mount" can now tell you all the options a filesystem was
mounted with. This is especially nice for NFS.
Other changes:
o The linux statfs emulation didn't convert between BSD fs names
and linux f_type numbers. Now it does, since the BSD f_type
number is useless to linux apps (and has been removed anyway)
o FreeBSD's struct statfs is different from our (both old and new)
and thus needs conversion. Previously, the OpenBSD syscalls
were used without any real translation.
o mount(8) will now show extra info when invoked with no arguments.
However, to see *everything* you need to use the -v (verbose) flag.
|
|
of lvalues that ANSI abhors.
And it fixes df on NFS version 3 mounts on Sparcs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|