opnsense-src/sys/sys
David Greenman 61f5d51062 Changes to fix the following bugs:
1) Files weren't properly synced on filesystems other than UFS. In some
   cases, this lead to lost data. Most likely would be noticed on NFS.
   The fix is to make the VM page sync/object_clean general rather than
   in each filesystem.
2) Mixing regular and mmaped file I/O on NFS was very broken. It caused
   chunks of files to end up as zeroes rather than the intended contents.
   The fix was to fix several race conditions and to kludge up the
   "b_dirtyoff" and "b_dirtyend" that NFS relies upon - paying attention
   to page modifications that occurred via the mmapping.

Reviewed by:	David Greenman
Submitted by:	John Dyson
1995-05-21 21:39:31 +00:00
..
_sigset.h Correct a name of one structure member in the sigaltstack structure. 1995-01-29 01:19:25 +00:00
acct.h Process accounting implementation by Chris Demetriou, with minor local 1994-09-26 21:09:15 +00:00
bio.h New flag: B_PAGING. Added as part of the vn driver hack. 1995-04-19 10:32:11 +00:00
bitstring.h BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
buf.h New flag: B_PAGING. Added as part of the vn driver hack. 1995-04-19 10:32:11 +00:00
callout.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
cdefs.h Warning and weak reference macros which are used to generate link-time 1994-12-23 22:38:54 +00:00
cdio.h Part of Frank Durda IV's new matcd driver CD audio support. 1995-04-09 15:50:48 +00:00
chio.h New version of scsi code from Julian 1993-11-18 05:03:27 +00:00
clist.h Got rid of unused nclist declaration. 1995-01-07 06:08:15 +00:00
conf.h Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
cons.h Undo the move of `#include "sc.h"' etc. to cons.h. It broke anything 1995-04-24 16:43:01 +00:00
dataacq.h Rename "aio.h" to "dataacq.h" 1995-04-28 12:08:03 +00:00
devconf.h Make class names easier to type 1995-04-13 20:37:51 +00:00
device.h Added $Id$ 1994-08-02 07:55:43 +00:00
dir.h Added $Id$ 1994-08-02 07:55:43 +00:00
dirent.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
disk.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
disklabel.h Changes to support the "new" bad144. Adds a "BADSCAN" ioctl and support. 1995-05-16 07:52:17 +00:00
diskmbr.h Changes to support the "new" bad144. Adds a "BADSCAN" ioctl and support. 1995-05-16 07:52:17 +00:00
diskpc98.h Changes to support the "new" bad144. Adds a "BADSCAN" ioctl and support. 1995-05-16 07:52:17 +00:00
diskslice.h Declare dssize(). 1995-05-08 16:27:10 +00:00
dkbad.h Define DKBAD_NOTRKSEC. Cosmetic except it is required for recent changes 1995-04-15 23:21:28 +00:00
dkstat.h Fix comments on dk_wds and dk_wpms to match code. Improve comment on 1994-12-24 10:11:18 +00:00
dmap.h Added $Id$ 1994-08-02 07:55:43 +00:00
domain.h Removed unnecessary extern declaration that was causing compiler warnings. 1995-05-15 22:55:18 +00:00
errno.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
exec.h Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
fbio.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
fcntl.h Added $Id$ 1994-08-02 07:55:43 +00:00
fdcio.h Included the command definition for FD_DEBUG. 1994-10-30 19:17:39 +00:00
file.h Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
filedesc.h Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
filio.h Added $Id$ 1994-08-02 07:55:43 +00:00
ftape.h Pulled over missing ftape.h from 1.1.5 1994-08-14 01:52:48 +00:00
gmon.h Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
imgact.h Prototypes, prototypes and even more prototypes. Not quite done yet, but 1994-10-02 17:25:04 +00:00
imgact_aout.h Avoid compiler warnings for overflow in ~(__LDPGSZ - 1). 1994-12-30 08:06:19 +00:00
inflate.h Changes needed for kzip to work. 1995-04-15 06:54:13 +00:00
ioccom.h Added $Id$ 1994-08-02 07:55:43 +00:00
ioctl.h Added $Id$ 1994-08-02 07:55:43 +00:00
ioctl_compat.h Added $Id$ 1994-08-02 07:55:43 +00:00
ipc.h Fix specification of octal constants. 1994-12-30 05:38:14 +00:00
joystick.h Put the joystick status in a struct {int x, y, b1, b2;} rather than in a 1995-02-22 23:34:58 +00:00
kernel.h Support for pseudo-device LKMs. Note that this is restricted to only 1995-03-20 19:20:44 +00:00
ktrace.h Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
libkern.h inline -> __inline. 1995-04-23 08:05:49 +00:00
linedisc.h Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
link_aout.h Weak symbol support from NetBSD. This should bring us in sync with the 1995-03-04 17:49:20 +00:00
link_elf.h Weak symbol support from NetBSD. This should bring us in sync with the 1995-03-04 17:49:20 +00:00
lkm.h Undo the stupidity I inflicted on these files and replace it with 1995-04-20 05:08:53 +00:00
lockf.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
malloc.h Reviewed by: no-one yet, but non-intrusive 1995-04-20 03:18:19 +00:00
map.h Removed unimplemented subr_rmap.c and unused references to it. 1994-09-25 22:31:11 +00:00
mbuf.h Declare a complete prototype for the function pointer *ext_free and the 1994-11-14 13:54:20 +00:00
md5.h Added "const" to the arguments here and there. 1994-11-07 20:48:35 +00:00
mdioctl.h A substantial change to the way this works. Not the "TEST_LABELING" is 1995-03-11 09:32:45 +00:00
mman.h Prototype for madvise() is missing from sys/mman.h 1995-05-14 19:19:07 +00:00
mount.h Changes to fix the following bugs: 1995-05-21 21:39:31 +00:00
mouse.h Added the psm driver from 1.1.5. 1994-09-09 11:27:50 +00:00
msg.h Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
msgbuf.h Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
mtio.h Julian's suport of compressed tape drives. 1995-03-21 11:21:37 +00:00
namei.h Clean up and improve the namecache. 1995-03-09 20:27:21 +00:00
nlist_aout.h Document some of the fields used by the new shlib code. 1994-12-23 22:32:48 +00:00
param.h Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
proc.h Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
protosw.h Merge in the socket-level support for Transaction TCP from the OLAH_TTCP 1995-02-07 02:01:57 +00:00
ptrace.h Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
queue.h Added $Id$ 1994-08-02 07:55:43 +00:00
reboot.h Added RB_CDROM flag, meaning "use CDROM as root". 1995-04-20 06:06:42 +00:00
resource.h #Include <sys/types.h> so that <sys/resource.h> can be #included without 1995-01-21 14:58:25 +00:00
resourcevar.h Declare fuswintr() and suswintr() the same as fusword() and susword(). 1994-11-14 14:09:38 +00:00
rlist.h Got rid of map.h. It's a leftover from the rmap code, and we use rlists. 1994-10-09 07:35:18 +00:00
rtprio.h "idle priority" support. Based on code from Henrik Vestergaard Draboel, 1994-10-02 04:48:21 +00:00
scsiio.h Add ioctl calls for Freeze/Thaw. 1995-04-28 19:26:02 +00:00
select.h Added $Id$ 1994-08-02 07:55:43 +00:00
selinfo.h Added $Id$ 1994-08-02 07:55:43 +00:00
sem.h Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
shm.h Prototypes, prototypes and even more prototypes. Not quite done yet, but 1994-10-02 17:25:04 +00:00
signal.h Correct a name of one structure member in the sigaltstack structure. 1995-01-29 01:19:25 +00:00
signalvar.h Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
snoop.h Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-28 07:58:53 +00:00
socket.h Merge in the socket-level support for Transaction TCP from the OLAH_TTCP 1995-02-07 02:01:57 +00:00
socketvar.h Prototypes, prototypes and even more prototypes. Not quite done yet, but 1994-10-02 17:25:04 +00:00
sockio.h Add generic part of generic multiple-physical-interface support (the 1994-12-21 22:57:05 +00:00
soundcard.h Remove redundant IORW definition.. 1995-03-08 18:43:49 +00:00
stat.h Prototypes, prototypes and even more prototypes. Not quite done yet, but 1994-10-02 17:25:04 +00:00
syscall-hide.h Make setreuid/setregid active syscalls 1995-04-23 12:22:06 +00:00
syscall.h Make setreuid/setregid active syscalls 1995-04-23 12:22:06 +00:00
sysctl.h The death of `options NODUMP'. Now the dump area can be dynamically 1995-05-12 19:17:31 +00:00
sysent.h Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
syslimits.h Make CHILD_MAX and OPEN_MAX a tunable parameter. 1994-12-03 17:36:37 +00:00
syslog.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
systm.h Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
tablet.h Added $Id$ 1994-08-02 07:55:43 +00:00
termios.h Define _POSIX_VDISABLE so that it can be used in #if expressions. 1995-05-11 07:52:49 +00:00
time.h Cosmetics. (sort of) Added 19 prototypes. 1994-10-10 00:58:36 +00:00
timeb.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
times.h Added $Id$ 1994-08-02 07:55:43 +00:00
timetc.h Cosmetics. (sort of) Added 19 prototypes. 1994-10-10 00:58:36 +00:00
timex.h Redo Kernel NTP PLL support, kernel side. 1994-09-18 20:40:01 +00:00
tprintf.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
trace.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
tty.h Define IBUFSIZ as 384. This goes with speeding up ttnread(). 1995-04-15 20:59:28 +00:00
ttychars.h remove unnecessary occurrence of 1994-08-22 19:34:03 +00:00
ttycom.h Move DSIMICROCODE ioctl to 85, 1995-03-30 05:17:50 +00:00
ttydefaults.h Define _POSIX_VDISABLE so that it can be used in #if expressions. 1995-05-11 07:52:49 +00:00
ttydev.h Bring back our support for 57K and 115K. 1994-08-26 12:07:31 +00:00
types.h Extended minor number to include bits 16-31. It was done this way rather 1994-09-25 15:56:25 +00:00
ucred.h Correct the type of the `acflag' arg to suser(). 1995-04-23 08:31:02 +00:00
uio.h Added UIO_NOCOPY. 1995-04-04 17:01:49 +00:00
un.h Prototypes, prototypes and even more prototypes. Not quite done yet, but 1994-10-02 17:25:04 +00:00
unistd.h Define _POSIX_VDISABLE so that it can be used in #if expressions. 1995-05-11 07:52:49 +00:00
unpcb.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
user.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
utsname.h Added $Id$ 1994-08-02 07:55:43 +00:00
vadvise.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
vcmd.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
vlimit.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
vmmeter.h Removed (almost) meaningless "object cache lookups/hits" statistic. In 1995-03-25 08:42:14 +00:00
vnioctl.h A substantial change to the way this works. Not the "TEST_LABELING" is 1995-03-11 09:32:45 +00:00
vnode.h Reviewed by: no-one yet, but non-intrusive 1995-04-20 03:18:19 +00:00
vsio.h Made them all idempotent. 1994-08-21 04:42:17 +00:00
wait.h Made them all idempotent. 1994-08-21 04:42:17 +00:00