freebsd-nq/sys
Matthew Dillon 54986abd15 Fix at least one source of the continued 'NFS append race'. close()
was calling nfs_flush() and then clearing the NMODIFIED bit.  This is
    not legal since there might still be dirty buffers after the nfs_flush
    (for example, pending commits).  The clearing of this bit in turn prevented
    a necessary vinvalbuf() from occuring leaving left over dirty buffers
    even after truncating the file in a new operation.  The fix is to
    simply not clear NMODIFIED.

    Also added a sysctl vfs.nfs.nfsv3_commit_on_close which, if set to 1,
    will cause close() to do a stage 1 write AND a stage 2 commit
    synchronously.  By default only the stage 1 write is done synchronously.

Reviewed by:	Alfred Perlstein <bright@wintelcom.net>
2000-01-05 00:32:18 +00:00
..
alpha Per BDE- make this more like the i386 code in that, as per the comment, 2000-01-04 11:30:01 +00:00
amd64 ISA device drivers use the ISA source interrupt number in locations where 2000-01-04 22:24:59 +00:00
boot Merge from the following changes. 2000-01-03 15:43:52 +00:00
cam Widen width of tag && initiator ids to u_int 2000-01-03 08:54:51 +00:00
coda Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
compat Need to #include vm_zone.h to pick up inline definition of zfree() so that 2000-01-03 20:34:39 +00:00
compile
conf Update some of the network driver documentation in the LINT file, which 2000-01-04 23:09:42 +00:00
contrib Garbage collect oltr_pci_shutdown 1999-12-21 08:21:36 +00:00
crypto Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
ddb Remove unused macro definition. 1999-11-02 22:40:15 +00:00
dev oop, use PRINTF not printf in MI code 2000-01-04 05:17:48 +00:00
fs Return ENXIO if there is no device. 2000-01-02 15:16:17 +00:00
geom Remove unused variable 1999-12-21 08:20:36 +00:00
gnu Don't allow mounting (or mounting R/W) of filesystems with unsupported 2000-01-02 17:40:02 +00:00
i4b update to isdn4bsd beta release 0.90 1999-12-14 20:54:38 +00:00
i386 Update some of the network driver documentation in the LINT file, which 2000-01-04 23:09:42 +00:00
isa ISA device drivers use the ISA source interrupt number in locations where 2000-01-04 22:24:59 +00:00
isofs/cd9660 Return ENXIO if there is no device. 2000-01-02 15:16:17 +00:00
kern ISA device drivers use the ISA source interrupt number in locations where 2000-01-04 22:24:59 +00:00
libkern Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
miscfs Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
modules Remove non-functional 'all:' target. 2000-01-04 23:46:41 +00:00
msdosfs Fix the mess with signed/unsigned longs and ints (inspired by bde). 2000-01-02 03:30:42 +00:00
net Prevent kernel panic at ifconfig up after Note PC resume. 1999-12-30 18:29:55 +00:00
netatalk Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
netatm Fix a warning (unused variable RCSid) 1999-11-18 08:18:13 +00:00
netgraph Fix race condition caused by missing splnet()'s. 2000-01-04 22:06:08 +00:00
netinet Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
netinet6 prevent kernel panic at suspend/resume. 2000-01-03 17:29:16 +00:00
netipx Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
netkey Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
netnatm Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
netncp Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
netns Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
nfs Fix at least one source of the continued 'NFS append race'. close() 2000-01-05 00:32:18 +00:00
nfsclient Fix at least one source of the continued 'NFS append race'. close() 2000-01-05 00:32:18 +00:00
nfsserver Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
ntfs Second pass commit to introduce new ACL and Extended Attribute system 1999-12-19 06:08:07 +00:00
nwfs Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
pc98 - Fixed warnings. 2000-01-04 04:46:50 +00:00
pccard Fill in the blanks for some of the Texas Instruments cardbus controllers. 1999-12-31 07:22:24 +00:00
pci Add first pass of the Intel Gigabit Ethernet (wiseman) driver. This 2000-01-04 11:12:42 +00:00
posix4 Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
powerpc untangle some includes and clean up for compilation cleanliness. 2000-01-03 09:36:55 +00:00
rpc $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
svr4 Need to #include vm_zone.h to pick up inline definition of zfree() so that 2000-01-03 20:34:39 +00:00
sys ISA device drivers use the ISA source interrupt number in locations where 2000-01-04 22:24:59 +00:00
tools Use a seperate -c and -h mode. The vnode_if.c file is compiled only into 1999-12-12 16:43:05 +00:00
ufs Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
vm Use MAP_NOSYNC for vnodes without any links in their filesystem. 2000-01-03 19:13:53 +00:00
Makefile ${MACHINE} -> ${MACHINE_ARCH} 1999-11-14 13:54:44 +00:00