From owner-cvs-all@FreeBSD.ORG Tue Mar 1 14:22:32 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0298B16A4CE; Tue, 1 Mar 2005 14:22:32 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B06AE43D41; Tue, 1 Mar 2005 14:22:31 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j21EMVUI057477; Tue, 1 Mar 2005 14:22:31 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j21EMV5R057476; Tue, 1 Mar 2005 14:22:31 GMT (envelope-from pjd) Message-Id: <200503011422.j21EMV5R057476@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Tue, 1 Mar 2005 14:22:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sbin/geom/class/concat geom_concat.c src/sbin/geom/class/label geom_label.c src/sbin/geom/class/mirror geom_mirror.c src/sbin/geom/class/raid3 geom_raid3.c src/sbin/geom/class/stripe geom_stripe.c src/sys/geom/concat g_concat.c g_concat.h ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2005 14:22:32 -0000 pjd 2005-03-01 14:22:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sbin/geom/class/concat geom_concat.c sbin/geom/class/label geom_label.c sbin/geom/class/mirror geom_mirror.c sbin/geom/class/raid3 geom_raid3.c sbin/geom/class/stripe geom_stripe.c sys/geom/concat g_concat.c g_concat.h sys/geom/label g_label.c g_label.h sys/geom/mirror g_mirror.c g_mirror.h sys/geom/raid3 g_raid3.c g_raid3.h sys/geom/stripe g_stripe.c g_stripe.h Log: MFC: - Add md_provsize field to metadata, which will help with shared-last-sector problem. After this change, even if there is more than one provider with the same last sector, the proper one will be chosen based on its size. It still doesn't fix the 'c' partition problem (when da0s1 can be confused with da0s1c) and situation when 'a' partition starts at offset 0 (then da0s1a can be confused with da0s1 and da0s1c). One can use '-h' option there, when creating device or avoid sharing last sector. Actually, when providers share the same last sector and their size is equal, they provide exactly the same data, so the name (da0s1, da0s1a, da0s1c) isn't important at all. - Provide backward compatibility. - Update copyright's year. Revision Changes Path 1.5.2.2 +8 -1 src/sbin/geom/class/concat/geom_concat.c 1.3.2.2 +7 -1 src/sbin/geom/class/label/geom_label.c 1.3.2.6 +3 -1 src/sbin/geom/class/mirror/geom_mirror.c 1.1.2.5 +6 -4 src/sbin/geom/class/raid3/geom_raid3.c 1.6.2.4 +6 -4 src/sbin/geom/class/stripe/geom_stripe.c 1.18.2.3 +9 -2 src/sys/geom/concat/g_concat.c 1.10.2.1 +6 -2 src/sys/geom/concat/g_concat.h 1.7.2.4 +15 -1 src/sys/geom/label/g_label.c 1.3.2.1 +10 -2 src/sys/geom/label/g_label.h 1.19.2.8 +5 -1 src/sys/geom/mirror/g_mirror.c 1.8.2.5 +45 -4 src/sys/geom/mirror/g_mirror.h 1.4.2.7 +15 -7 src/sys/geom/raid3/g_raid3.c 1.1.2.5 +46 -4 src/sys/geom/raid3/g_raid3.h 1.16.2.3 +9 -2 src/sys/geom/stripe/g_stripe.c 1.5.2.1 +6 -2 src/sys/geom/stripe/g_stripe.h