Date: Sat, 28 Aug 1999 18:41:54 -0700 (PDT) From: Greg Lehey <grog@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/vinum vinum.c vinumvar.h Message-ID: <199908290141.SAA77137@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
grog 1999/08/28 18:41:54 PDT
Modified files:
sys/dev/vinum vinum.c vinumvar.h
Log:
Initialize the si_bsize fields of the new dev structure. This fixes
some swapper problems analogous to those experienced with ccd.
This fix is a kludge: since we currently don't track the "sector size"
in a volume label, we guess a worst case (4 kB, as used by vnode
devices). If the concept of sector size is here to stay, I'll make
some changes to track the "sector size" of a volume. This will
probably be the maximum of the sector sizes of all component drives,
but things could get ugly if we start allowing non-standard sector
sizes such as 524 bytes.
Unkludged-version-submitted-by: phk
Revision Changes Path
1.31 +7 -1 src/sys/dev/vinum/vinum.c
1.26 +2 -1 src/sys/dev/vinum/vinumvar.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908290141.SAA77137>
