freebsd-src/sys
Doug Rabson 09c6884729 Various fixes from frank@fwi.uva.nl (Frank van der Linden) via
rick@snowhite.cis.uoguelph.ca:

1. Clear B_NEEDCOMMIT in nfs_write to make sure that dirty data is
correctly send to the server.  If a buffer was dirtied when it was in
the B_DELWRI+B_NEEDCOMMIT state, the state of the buffer was left
unchanged and when the buffer was later cleaned, just a commit rpc was
made to the server to complete the previous write.  Clearing
B_NEEDCOMMIT ensures that another write is made to the server.

2. If a server returned a server (for whatever reason) returned an
answer to a write RPC that implied that fewer bytes than requested
were written, bad things would happen.

3. The setattr operation passed on the atime in stead of the mtime to
the server. The fix is trivial.

4. XIDs always started at 0, but this caused some servers (older DEC
OSF/1 3.0 so I've been told) who had very long-lasting XID caches to
get confused if, after a reboot of a BSD client, RPCs came in with a
XID that had in the past been used before from that client. Patch is
to use the current time in seconds as a starting point for XIDs. The
patch below is not perfect, because it requires the root fs to be
mounted first. This is because of the check BSD systems do, comparing
FS time to system time.

Reviewed by:	Bruce Evans, Terry Lambert.
Obtained from:  frank@fwi.uva.nl (Frank van der Linden) via rick@snowhite.cis.uoguelph.ca
1996-07-16 10:19:45 +00:00
..
alpha Change the way moused talk to syscons, now its only delivering mouseevents 1996-06-25 08:54:57 +00:00
amd64 Moved declaration of zbuf outside of #ifdef DEVFS code. 1996-07-15 18:22:07 +00:00
compat/linux Removed unused #include. Linux doesn't support SCO consoles. 1996-06-23 17:08:11 +00:00
compile
conf Turn SCSIDEBUG into a new-style option. 1996-07-14 10:46:56 +00:00
ddb A small bit of defensive programming in case the panic is during process 1996-06-15 07:08:02 +00:00
dev Enable transmit complete interrupt... 1996-07-13 10:49:53 +00:00
fs Implement locking for pfs nodes, when at the leaf. Concurrent access 1996-07-02 13:38:10 +00:00
geom Clean up -Wunused warnings. 1996-06-12 05:11:41 +00:00
gnu Added #include of <machine/md_var.h>. This will be needed when 1996-06-25 20:31:01 +00:00
i386 Moved declaration of zbuf outside of #ifdef DEVFS code. 1996-07-15 18:22:07 +00:00
isa Staticized a few variables. 1996-07-12 07:41:34 +00:00
isofs/cd9660 Moved the fsnode MALLOC to before the call to getnewvnode() so that the 1996-06-12 03:36:23 +00:00
kern A few minor mods (improvements) to support more efficient pipe 1996-07-13 22:52:50 +00:00
libkern General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
miscfs Comment out rootdev & rrootdev so a ls -l doesn't panic the machine. 1996-07-03 03:48:46 +00:00
modules Added or restored #include of <machine/md_var.h>. Some declarations 1996-07-01 20:29:10 +00:00
msdosfs The Great PC98 Merge. 1996-06-14 11:02:28 +00:00
net Modify the kernel to use the new pr_usrreqs interface rather than the old 1996-07-11 16:32:50 +00:00
netatalk Obtained from: Netatalk distribution. 1996-06-18 20:55:13 +00:00
netinet Switch back to logging accepted packets with the text "Allow" instead 1996-07-14 21:12:52 +00:00
netipx Clean up -Wunused warnings. 1996-06-12 05:11:41 +00:00
netkey This is the `netkey' kernel key-management service (the PF_KEY analogue 1996-06-14 17:22:18 +00:00
netns finish killing off netns. (For some reason, CVS `undeleted' these 1996-02-13 18:19:17 +00:00
nfs Various fixes from frank@fwi.uva.nl (Frank van der Linden) via 1996-07-16 10:19:45 +00:00
nfsclient Various fixes from frank@fwi.uva.nl (Frank van der Linden) via 1996-07-16 10:19:45 +00:00
nfsserver Various fixes from frank@fwi.uva.nl (Frank van der Linden) via 1996-07-16 10:19:45 +00:00
pc98 The PC98-specific files. 1996-06-14 10:04:54 +00:00
pccard Added #include of <machine/md_var.h>. This will be needed when 1996-06-25 20:31:01 +00:00
pci Don't use NULL in non-pointer contexts. 1996-07-12 04:12:25 +00:00
powerpc/include Add commands for ptrace get/set registers.. (Same numbers as NetBSD) 1996-01-24 18:51:48 +00:00
rpc Fix a bunch of spelling errors in the comment fields 1996-01-30 23:33:04 +00:00
scsi Turn SCSIDEBUG into a new-style option. 1996-07-14 10:46:56 +00:00
sys A few minor mods (improvements) to support more efficient pipe 1996-07-13 22:52:50 +00:00
tools Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
ufs Don't use NULL in non-pointer contexts. 1996-07-12 04:12:25 +00:00
vm Don't use NULL in non-pointer contexts. 1996-07-12 04:12:25 +00:00
Makefile The Great PC98 Merge. 1996-06-14 11:02:28 +00:00