Received: by mail.netbsd.org (Postfix, from userid 0) id 6D72A63B10B; Mon, 1 Nov 2010 02:35:27 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id DED4863B101 for ; Mon, 1 Nov 2010 02:35:25 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id C9996175DD; Mon, 1 Nov 2010 02:35:25 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Mon, 1 Nov 2010 02:35:25 +0000 From: "matthew green" Subject: CVS commit: src/sys/dev/raidframe To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20101101023525.C9996175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: list Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "matthew green" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: mrg Date: Mon Nov 1 02:35:25 UTC 2010 Modified Files: src/sys/dev/raidframe: raidframevar.h rf_copyback.c rf_disks.c rf_netbsdkintf.c rf_reconstruct.c Log Message: add support for >2TB raid devices. - add two new members to the component label: u_int numBlocksHi u_int partitionSizeHi and store the top 32 bits of the real number of blocks and partition size. modify rf_print_component_label(), rf_does_it_fit(), rf_AutoConfigureDisks() and rf_ReconstructFailedDiskBasic(). - call disk_blocksize() after disk_attach() [ from mlelstv ] - shift the block number relative to DEV_BSHIFT in raidstart() and InitBP() so that accesses work for non 512-byte devices. [ from mlelstv ] - update rf_getdisksize() to use the new getdisksize() [ from mlelstv. this part needs a separate change for netbsd-5. ] reviewed by: oster, christos and darrenr To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/dev/raidframe/raidframevar.h cvs rdiff -u -r1.42 -r1.43 src/sys/dev/raidframe/rf_copyback.c cvs rdiff -u -r1.73 -r1.74 src/sys/dev/raidframe/rf_disks.c cvs rdiff -u -r1.274 -r1.275 src/sys/dev/raidframe/rf_netbsdkintf.c cvs rdiff -u -r1.108 -r1.109 src/sys/dev/raidframe/rf_reconstruct.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.