Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 1995 14:39:33 -0700
From:      David Greenman <davidg>
To:        CVS-commiters, cvs-sys
Subject:   cvs commit: src/sys/vm vm_object.c vm_pageout.c
Message-ID:  <199505212139.OAA29238@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505212139.OAA29238>