Age | Commit message (Collapse) | Author |
|
should never be referenced outside the context of the process to which
this stack belongs unless we do the PHOLD/PRELE dance. Loads of code
doesn't follow the rules here. Instead of trying to track down all
offenders and fix this hairy situation, it makes much more sense
to not swap kernel stacks.
From art@, tested by many some time ago.
|
|
nfs_subs.c so it gets pulled in for NFSSERVER only
kernels.
ok deraadt@,krw@
|
|
out of bounds.
ok pedro@
|
|
|
|
in the case where NFSERR_TRYLATER is received from the server.
Adapted from NetBSD.
ok pedro@, tedu@
|
|
with Nicholas Marriott <nicm__@ntlworld.com>, closes PR 5036
|
|
requested by and ok pedro
|
|
|
|
ok tedu, 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
|
|
|
|
without breaking into ddb. doubles the size of rwlock [1], but moving
forward this really helps. ok/tested pedro fgsch millert krw
[1 - next person to add a field to this struct gets whipped with a wet noodle]
|
|
used and will never be used this way in VFS
requested by and ok pedro, ok krw, biorn
|
|
to hold all the entries a directory has, we can't signal EOF.
Okay deraadt@ and miod@.
|
|
|
|
|
|
problem experienced by Han Boetes; fix with "nfs4" rick at snowhite
dot cis dot uoguelph dot ca. ok pedro@ tedu@
|
|
become NULL if the nfs_reply() -> nfs_receive() -> nfs_reconnect() datapath
fails. pedro@ ok "I think this is a good fix"
|
|
Inspiration from miod@, okay deraadt@. Tested on i386, macppc and amd64.
|
|
which duplicates work done by uvm_swap_init().
|
|
anymore. Testing by jolan@, thanks.
|
|
|
|
of panics and bugfixes. Access curproc directly, do not expect a process
pointer as an argument. Should fix many "process context required" bugs.
Incentive and okay millert@, okay marc@. Various testing, thanks.
|
|
when earlier merges were done. Fixes PR 4250. ok millert@ deraadt@
|
|
|
|
|
|
|
|
ok pedro@
|
|
belonging to a mount point if we want to skip all of them, okay art@ a
couple of days ago, commit it deraadt@
|
|
|
|
<mark@2ls4agd.net> on several archs
|
|
|
|
> 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
> 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@
|
|
no change in compiler assembly output.
|
|
if () else since it is common to both cases and makes the code
clearer. OK pedro@
|
|
ok deraadt, jared, djm
|
|
|
|
these into larger ranges wherever possible.
this should speed up NFS writes quite a bit.
ok art@ millert@ pedro@ tedu@
|
|
to 8 bits only; found the hard way by henning@.
Ok deraadt@ marius@ millert@
|
|
ok art@ pedro@, "get it in" deraadt@
|
|
|
|
of those belonging to the given nfs mount. ok marius@, tedu@
|
|
use mode_t in syscalls.master and to use mode_t in more places in
the kernel. It also makes lint much more useful on kernel code.
I've also added a placeholder for st_birthtime to make a UFS2 import
easier at some future date.
Requested by and OK deraadt@
|
|
this fixes some problems people have experienced with NFS mounts freezing
on NFS server reboot/crash.
ok deraadt@ pedro@ tholo@
|
|
ok millert@
|
|
encapsulating all such access into wall-defined functions
that makes sure locking is done as needed.
It also cleans up some uses of wall time vs. uptime some
places, but there is sure to be more of these needed as
well, particularily in MD code. Also, many current calls
to microtime() should probably be changed to getmicrotime(),
or to the {,get}microuptime() versions.
ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others
"Oh, that is not your problem!" from miod@
|