From owner-cvs-all Mon Feb 28 22: 8:39 2000 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 63C2837B564; Mon, 28 Feb 2000 22:08:36 -0800 (PST) (envelope-from grog@FreeBSD.org) Received: (from grog@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA15826; Mon, 28 Feb 2000 22:08:36 -0800 (PST) (envelope-from grog@FreeBSD.org) Message-Id: <200002290608.WAA15826@freefall.freebsd.org> From: Greg Lehey Date: Mon, 28 Feb 2000 22:08:35 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/vinum vinumconfig.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk grog 2000/02/28 22:08:35 PST Modified files: sys/dev/vinum vinumconfig.c Log: Add support for RAID-4, even though it is inferior in almost every way to RAID-5. peter claims that it might be faster for sequential reading, since the drive caches don't trip over the parity blocks. I have seen no evidence to support this, but it's a trivial change. Requested-by: peter Change checks for striped or RAID-5 plexes to a macro 'isstriped', which now also includes RAID-4. Change checks for RAID-5 plexes to a macro 'isparity', which now also includes RAID-4. atoi(): Remove, nobody was talking to it. give_sd_to_drive: If no space is available, make the subdisk down, don't delete it. Change the manner in which the subdisk count was maintained to avoid cases where the count was not adjusted correctly. config_drive: Check if we have subdisks referencing us, and add them if so. This fixes problems which arose when a drive is replaced in a running system. config_sd: Add support for a keyword 'partition', whose meaning will be revealed in the fullness of time. Cosmetic: Shorten some console messages. Approved-by: jkh Revision Changes Path 1.32 +73 -51 src/sys/dev/vinum/vinumconfig.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message