Age | Commit message (Collapse) | Author |
|
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@
|
|
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@
|
|
|
|
duplicated from UFS. Closes PR 3757; OK deraadt@
|
|
from pedro martelletto, ok markus@
|
|
in the host fs.
|
|
Fixes a panic that can occur when trying to link from a local filesystem
to an nfs-mounted one. Problem pointed out by Jim Rees, fix exists
in Net and Free. OK tedu@ csapuntz@
|
|
enough; tedu@ ok
|
|
|
|
also sync with header, and change spacing a little to prevent
line breaks;
|
|
now call the poll backend. With this change we implement greater
poll(2) functionality instead of emulating it via the select backend.
Adapted from NetBSD and including some changes from FreeBSD.
Tested by many, deraadt@ OK
|
|
argument. old cred only calls user suser_ucred. this will allow future
work to more flexibly implement the idea of a root process. looks like
something i saw in freebsd, but a little different.
use of suser_ucred vs suser in file system code should be looked at again,
for the moment semantics remain unchanged.
review and input from art@ testing and further review miod@
|
|
|
|
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
|
|
|
|
ok miod@
|
|
- cache_lookup
move common code from various fs's here
always return with vnode and parent locked
adjust return codes
- PDIRUNLOCK - new flag set if lookup couldn't lock parent vnode
- kernfs and procfs
lock vnode in get_root
don't unlock (again) in kernfs_freevp
fix memory leak in procfs
From tedu@stanford.edu
deraadt@ and various other ok
|
|
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
|
|
The inheritace is implemented by setting the default vnodeop to a
bypass op that repeats the operation on the spec/fifo vnodeop vector.
The overhead of one extra indirect function call is worth the cleanup
and improved correctness.
This actually solves a few bugs where some vnode ops were missing from
some vectors (like kqfilter or revoke). (and even more on the ubc
branch).
Inspired by the same thing done in FreeBSD.
|