From owner-cvs-all@FreeBSD.ORG Sun Dec 12 14:32:16 2004 Return-Path: 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 0F34416A4CE; Sun, 12 Dec 2004 14:32:16 +0000 (GMT) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9103143D78; Sun, 12 Dec 2004 14:32:15 +0000 (GMT) (envelope-from jroberson@chesapeake.net) Received: from mail.chesapeake.net (localhost [127.0.0.1]) by mail.chesapeake.net (8.12.10/8.12.10) with ESMTP id iBCEWEDB010777; Sun, 12 Dec 2004 09:32:14 -0500 (EST) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost)iBCEWEda010771; Sun, 12 Dec 2004 09:32:14 -0500 (EST) (envelope-from jroberson@chesapeake.net) X-Authentication-Warning: mail.chesapeake.net: jroberson owned process doing -bs Date: Sun, 12 Dec 2004 09:32:13 -0500 (EST) From: Jeff Roberson To: Poul-Henning Kamp In-Reply-To: <200412121419.iBCEJBg4048788@repoman.freebsd.org> Message-ID: <20041212093155.V9536@mail.chesapeake.net> References: <200412121419.iBCEJBg4048788@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/ufs/ffs ffs_vfsops.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 12 Dec 2004 14:32:16 -0000 Probably should push this back into RELENG_5 at some point. On Sun, 12 Dec 2004, Poul-Henning Kamp wrote: > phk 2004-12-12 14:19:11 UTC > > FreeBSD src repository > > Modified files: > sys/ufs/ffs ffs_vfsops.c > Log: > With the introduction of UFS2 we started looking for superblocks in > four different locations on a prospective filesystem. > > If we found none, we forgot to invalidate the four buffers, thus the > following sequence would fails: > > (md0 = blank disk) > mount /dev/md0 /mnt > (fails, no superblocks) > newfs /dev/md0 > (writes using physio which does not go through buffercache). > mount /dev/md0 /mnt > (still fails, the four cached buffers still contain no superblocks) > > Found by: ru > > Revision Changes Path > 1.263 +1 -0 src/sys/ufs/ffs/ffs_vfsops.c >