cvs commit: src/sys/ufs/ffs ffs_vfsops.c
Jeff Roberson
jroberson at chesapeake.net
Sun Dec 12 06:32:16 PST 2004
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
>
More information about the cvs-all
mailing list