From owner-cvs-src-old@FreeBSD.ORG Mon Oct 12 21:08:22 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 992F4106568B for ; Mon, 12 Oct 2009 21:08:22 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8507F8FC1D for ; Mon, 12 Oct 2009 21:08:22 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9CL8MGt091625 for ; Mon, 12 Oct 2009 21:08:22 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9CL8MZb091624 for cvs-src-old@freebsd.org; Mon, 12 Oct 2009 21:08:22 GMT (envelope-from pjd@repoman.freebsd.org) Message-Id: <200910122108.n9CL8MZb091624@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to pjd@repoman.freebsd.org using -f From: Pawel Jakub Dawidek Date: Mon, 12 Oct 2009 21:08:06 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/geom/concat g_concat.c src/sys/geom/label g_label.c src/sys/geom/part g_part.c src/sys/geom/shsec g_shsec.c src/sys/geom/stripe g_stripe.c src/sys/geom/uzip g_uzip.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2009 21:08:22 -0000 pjd 2009-10-12 21:08:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/geom/concat g_concat.c sys/geom/label g_label.c sys/geom/part g_part.c sys/geom/shsec g_shsec.c sys/geom/stripe g_stripe.c sys/geom/uzip g_uzip.c Log: SVN rev 198003 on 2009-10-12 21:08:06Z by pjd MFC r197898: If provider is open for writing when we taste it, skip it for classes that depend on on-disk metadata. This was we won't attach to providers that are used by other classes. For example we don't want to configure partitions on da0 if it is part of gmirror, what we really want is partitions on mirror/foo. During regular work it works like this: if provider is open for writing a class receives the spoiled event from GEOM and detaches, once provider is closed the taste event is send again and class can rediscover its metadata if it is still there. This doesn't work that way when new class arrives, because GEOM gives all existing providers for it to taste, also those open for writing. Classes have to decided on their own if they want to deal with such providers (eg. geom_dev) or not (classes modified by this commit). Reported by: des, Oliver Lehmann Tested by: des, Oliver Lehmann Discussed with: phk, marcel Reviewed by: marcel Approved by: re (kib) Revision Changes Path 1.31.2.2 +4 -0 src/sys/geom/concat/g_concat.c 1.24.2.2 +4 -0 src/sys/geom/label/g_label.c 1.39.2.3 +4 -0 src/sys/geom/part/g_part.c 1.6.10.2 +4 -0 src/sys/geom/shsec/g_shsec.c 1.33.2.2 +4 -0 src/sys/geom/stripe/g_stripe.c 1.12.10.2 +5 -0 src/sys/geom/uzip/g_uzip.c