Date: Wed, 15 Jun 2011 11:42:02 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: "Justin T. Gibbs" <gibbs@FreeBSD.org> 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 Message-ID: <20110615094202.GB1975@garage.freebsd.pl> In-Reply-To: <201106141710.p5EHAXYS044119@svn.freebsd.org> References: <201106141710.p5EHAXYS044119@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--+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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110615094202.GB1975>