From owner-svn-src-all@FreeBSD.ORG Wed Jun 15 09:42:38 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82846106564A; Wed, 15 Jun 2011 09:42:38 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id C8F0C8FC0A; Wed, 15 Jun 2011 09:42:36 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 232F745C8C; Wed, 15 Jun 2011 11:42:21 +0200 (CEST) Received: from localhost (58.wheelsystems.com [83.12.187.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id F147B45684; Wed, 15 Jun 2011 11:42:05 +0200 (CEST) Date: Wed, 15 Jun 2011 11:42:02 +0200 From: Pawel Jakub Dawidek To: "Justin T. Gibbs" Message-ID: <20110615094202.GB1975@garage.freebsd.pl> References: <201106141710.p5EHAXYS044119@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+pHx0qQiF2pBVqBT" Content-Disposition: inline In-Reply-To: <201106141710.p5EHAXYS044119@svn.freebsd.org> X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.5 tests=ALL_TRUSTED,BAYES_00, RCVD_IN_SORBS_DUL autolearn=ham version=3.0.4 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r223089 - in head: sys/cam/ata sys/cam/scsi sys/geom sys/sys usr.sbin/diskinfo X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2011 09:42:38 -0000 --+pHx0qQiF2pBVqBT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 14, 2011 at 05:10:33PM +0000, Justin T. Gibbs wrote: > Author: gibbs > Date: Tue Jun 14 17:10:32 2011 > New Revision: 223089 > URL: http://svn.freebsd.org/changeset/base/223089 >=20 > Log: [...] > sys/sys/geom/geom.h: > sys/geom/geom_event.c: > - Provide the g_attr_changed() function that providers > can use to advertise attribute changes. > - Perform delivery of attribute change notifications > from a thread context via the standard GEOM event > mechanism. Would be nice to discuss it before the commit (or did I miss the dicussion?). I was working on something that could be easly merged with your changes. I had a patch to implement provider's properties change notification to consumers and devd: http://people.freebsd.org/~pjd/patches/geom_property_change.patch Currently it implements only mediasize changes, so the upper layers can act accordingly. The patch also implements ZFS bits to detect vdev size changes and eventually autoexpand the pool. Could you look at the patch and see how we could add property changes to your API? --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --+pHx0qQiF2pBVqBT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk34fmoACgkQForvXbEpPzQPxgCfQmhD3bNYwd09tgrcFu6JqHYo SN0AoIc8fICCR1uArljvsqVWP9/S7uFS =PFrh -----END PGP SIGNATURE----- --+pHx0qQiF2pBVqBT--