Date: Sun, 12 Dec 2004 09:32:13 -0500 (EST) From: Jeff Roberson <jroberson@chesapeake.net> To: Poul-Henning Kamp <phk@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/ufs/ffs ffs_vfsops.c Message-ID: <20041212093155.V9536@mail.chesapeake.net> In-Reply-To: <200412121419.iBCEJBg4048788@repoman.freebsd.org> References: <200412121419.iBCEJBg4048788@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041212093155.V9536>