cvs commit: src/sys/fs/nwfs nwfs_io.c src/sys/fs/smbfs smbfs_io.c src/sys/kern vfs_subr.c src/sys/nfsclient nfs_bio.c

John Baldwin jhb at FreeBSD.org
Mon Feb 12 19:08:30 UTC 2007


jhb         2007-02-12 19:08:29 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/fs/nwfs          nwfs_io.c 
    sys/fs/smbfs         smbfs_io.c 
    sys/kern             vfs_subr.c 
    sys/nfsclient        nfs_bio.c 
  Log:
  MFC: Do not set B_NOCACHE on buffers when releasing them in flushbuflist().
  If B_NOCACHE is set the pages of vm backed buffers will be invalidated.
  However clean buffers can be backed by dirty VM pages so invalidating them
  can lead to data loss.
  Add support for flush dirty page in the data invalidation function
  of some network file systems.
  
  This fixes data losses during vnode recycling (and other code paths
  using invalbuf(*,V_SAVE,*,*)) for data written using an mmaped file.
  
  Revision    Changes    Path
  1.41.2.1    +7 -0      src/sys/fs/nwfs/nwfs_io.c
  1.33.2.1    +7 -0      src/sys/fs/smbfs/smbfs_io.c
  1.635.2.25  +1 -1      src/sys/kern/vfs_subr.c
  1.152.2.2   +13 -0     src/sys/nfsclient/nfs_bio.c


More information about the cvs-src mailing list