From owner-cvs-all@FreeBSD.ORG Thu May 25 11:15:42 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 515CE16A43A; Thu, 25 May 2006 11:15:42 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB9B543D4C; Thu, 25 May 2006 11:15:40 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k4PBFdB1036563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 May 2006 15:15:39 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k4PBFdKC036562; Thu, 25 May 2006 15:15:39 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 25 May 2006 15:15:38 +0400 From: Gleb Smirnoff To: Stephan Uphoff Message-ID: <20060525111538.GK27819@FreeBSD.org> References: <200605250100.k4P10a3P002448@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200605250100.k4P10a3P002448@repoman.freebsd.org> User-Agent: Mutt/1.5.6i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: 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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 11:15:43 -0000 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