Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2007 19:08:29 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   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
Message-ID:  <200702121908.l1CJ8TuL081758@repoman.freebsd.org>

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



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