From owner-cvs-sys Sun May 21 14:39:39 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA29248 for cvs-sys-outgoing; Sun, 21 May 1995 14:39:39 -0700 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA29238 ; Sun, 21 May 1995 14:39:33 -0700 Date: Sun, 21 May 1995 14:39:33 -0700 From: David Greenman Message-Id: <199505212139.OAA29238@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/vm vm_object.c vm_pageout.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk davidg 95/05/21 14:39:32 Modified: sys/kern vfs_bio.c vfs_subr.c vfs_syscalls.c sys/nfs nfs_bio.c sys/sys mount.h sys/ufs/ffs ffs_vnops.c sys/vm vm_object.c vm_pageout.c Log: 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