freebsd-src/sys
Doug Rabson 5d81e553a2 I believe that the following fix to nfs_vnops.c should do the trick w.r.t.
the problem "when a file is truncated on the server after being written on
a client under NFSv3, the client doesn't see the size drop to zero".
(As you noted, the problem is that NMODIFIED wasn't being cleared by nfs_close
 when it flushed the buffers. After checking through the code, the only place
 where NMODIFIED was used to test for the possibility of dirty blocks was in
 nfs_setattr(). The two cases are safe to do when there aren't dirty blocks,
 so I just took out the tests. Unfortunately, testing for
 v_dirtyblkhd.lh_first being non-null is not sufficient, since there are
 times when the code moves blocks to the clean list and then back to the
 dirty list.)

Submitted by:	rick@snowhite.cis.uoguelph.ca
1995-07-13 17:55:12 +00:00
..
alpha First incarnation of our Linux emulator or rather compatibility code. 1995-06-25 17:32:43 +00:00
amd64 NOTE: libkvm, w, ps, 'top', and any other utility which depends on struct 1995-07-13 08:48:48 +00:00
compat/linux First incarnation of our Linux emulator or rather compatibility code. 1995-06-25 17:32:43 +00:00
compile Stop cvs up -P from removing empty compile directories. 1994-08-25 16:20:16 +00:00
conf This is a major rework of newvers.sh to put it back much closer to 1995-07-13 10:54:23 +00:00
ddb Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
dev Fix races in scstart(). q_to_b() wasn't called at spltty(), so there 1995-07-11 18:34:30 +00:00
fs NOTE: libkvm, w, ps, 'top', and any other utility which depends on struct 1995-07-13 08:48:48 +00:00
gnu Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
i386 The following patch for v1.8 (2.0.5R) of seagate.c allows it to work with 1995-07-13 15:01:38 +00:00
isa Fix races in scstart(). q_to_b() wasn't called at spltty(), so there 1995-07-11 18:34:30 +00:00
isofs/cd9660 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern NOTE: libkvm, w, ps, 'top', and any other utility which depends on struct 1995-07-13 08:48:48 +00:00
libkern Rearrange the inner loop of scanc() to get better code on i*86's 1995-07-11 18:50:47 +00:00
miscfs NOTE: libkvm, w, ps, 'top', and any other utility which depends on struct 1995-07-13 08:48:48 +00:00
modules First incarnation of our Linux emulator or rather compatibility code. 1995-06-25 17:32:43 +00:00
msdosfs Fixed VOP_LINK argument order botch. 1995-06-28 07:06:55 +00:00
net When adding a route, set rt_ifa and rt_ifp a little earlier so that 1995-07-10 15:22:37 +00:00
netccitt Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
netinet ICMP messages received from broken hosts which reply to multicast packets 1995-07-10 16:16:00 +00:00
netiso Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
netns Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
nfs I believe that the following fix to nfs_vnops.c should do the trick w.r.t. 1995-07-13 17:55:12 +00:00
nfsclient I believe that the following fix to nfs_vnops.c should do the trick w.r.t. 1995-07-13 17:55:12 +00:00
nfsserver NOTE: libkvm, w, ps, 'top', and any other utility which depends on struct 1995-07-13 08:48:48 +00:00
pci Put back second case of CC handler in NCR script. 1995-07-07 12:30:39 +00:00
powerpc/include Don't define CLK_TCK here. 1995-02-03 21:49:18 +00:00
rpc Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
scsi Fix benign function type mismatch. 1995-07-13 16:08:57 +00:00
sys NOTE: libkvm, w, ps, 'top', and any other utility which depends on struct 1995-07-13 08:48:48 +00:00
tools The generated VCALL always uses the first vp which in the case of /link/ 1995-07-07 13:41:28 +00:00
ufs NOTE: libkvm, w, ps, 'top', and any other utility which depends on struct 1995-07-13 08:48:48 +00:00
vm Added a copyright to this file. 1995-07-13 10:29:34 +00:00
Makefile Added ${MACHINE}/boot to build bootblocks. 1994-08-25 13:54:28 +00:00