From owner-cvs-src@FreeBSD.ORG Sun Dec 12 14:19:11 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B77B916A4CE; Sun, 12 Dec 2004 14:19:11 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A947B43D54; Sun, 12 Dec 2004 14:19:11 +0000 (GMT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iBCEJBKb048789; Sun, 12 Dec 2004 14:19:11 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iBCEJBg4048788; Sun, 12 Dec 2004 14:19:11 GMT (envelope-from phk) Message-Id: <200412121419.iBCEJBg4048788@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sun, 12 Dec 2004 14:19:11 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ufs/ffs ffs_vfsops.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2004 14:19:11 -0000 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