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

Gleb Smirnoff glebius at FreeBSD.org
Thu May 25 04:15:42 PDT 2006


On Thu, May 25, 2006 at 01:00:36AM +0000, Stephan Uphoff wrote:
S> ups         2006-05-25 01:00:36 UTC
S> 
S>   FreeBSD src repository
S> 
S>   Modified files:
S>     sys/kern             vfs_subr.c 
S>     sys/nfsclient        nfs_bio.c 
S>     sys/fs/smbfs         smbfs_io.c 
S>     sys/fs/nwfs          nwfs_io.c 
S>   Log:
S>   Do not set B_NOCACHE on buffers when releasing them in flushbuflist().
S>   If B_NOCACHE is set the pages of vm backed buffers will be invalidated.
S>   However clean buffers can be backed by dirty VM pages so invalidating them
S>   can lead to data loss.
S>   Add support for flush dirty page in the data invalidation function
S>   of some network file systems.
S>   
S>   This fixes data losses during vnode recycling (and other code paths
S>   using invalbuf(*,V_SAVE,*,*)) for data written using an mmaped file.
S>   
S>   Collaborative effort by: jhb@,mohans@,peter@,ps@,ups@
S>   Reviewed by:    tegge@
S>   MFC after:      7 days

Can this be related to reports like this:

http://freebsd.rambler.ru/bsdmail/freebsd-current_curr/msg00282.html

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the cvs-src mailing list