From owner-cvs-all Sat Aug 28 18:45: 4 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A509414D3C; Sat, 28 Aug 1999 18:45:01 -0700 (PDT) (envelope-from grog@FreeBSD.org) Received: (from grog@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA77137; Sat, 28 Aug 1999 18:41:54 -0700 (PDT) (envelope-from grog@FreeBSD.org) Message-Id: <199908290141.SAA77137@freefall.freebsd.org> From: Greg Lehey Date: Sat, 28 Aug 1999 18:41:54 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/vinum vinum.c vinumvar.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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