FreeBSD src
Go to file
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
bin add a reference to killall(1) 1996-07-03 22:19:50 +00:00
contrib/tcl General -Wall warning cleanup, part I. 1996-07-12 18:57:58 +00:00
eBones Whups! Missed a ${.OBJDIR} here. 1996-07-01 06:34:27 +00:00
etc Start sendmail after ldconfig. Put the nail in the coffin on misc/1346. 1996-07-13 17:27:39 +00:00
games Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
gnu General -Wall warning cleanup, part I. 1996-07-12 19:08:36 +00:00
include General -Wall warning cleanup, part I. 1996-07-12 19:24:27 +00:00
lib In _yp_dobind(), if we find ourselves required to contact the local ypbind 1996-07-13 20:23:13 +00:00
libexec Include <sys/types.h> before including <grp.h> so that this doesn't 1996-07-12 05:55:38 +00:00
lkm Added or restored #include of <machine/md_var.h>. Some declarations 1996-07-01 20:29:10 +00:00
release Damn - looks like upgrade got broken along the way and it's not something 1996-07-14 01:54:39 +00:00
sbin Grammar fix described by wollman in response to PR 1363. 1996-07-14 17:51:08 +00:00
secure Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
share Put back reference to the Cyclades section which was recently removed 1996-07-16 00:15:53 +00:00
sys Various fixes from frank@fwi.uva.nl (Frank van der Linden) via 1996-07-16 10:19:45 +00:00
tools Update to use modern make meta-variables. Fix the $Id$ both. 1996-06-30 18:02:58 +00:00
usr.bin Do a bounds check on the strcpy of environment variables onto the stack. 1996-07-15 16:29:03 +00:00
usr.sbin Make crunchgen match the new obj/ convention. 1996-07-15 11:20:21 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile Add make to the bootstrap targets (I thought I committed this 3 days ago - 1996-07-01 06:13:31 +00:00