svn commit: r223089 - in head: sys/cam/ata sys/cam/scsi sys/geom
sys/sys usr.sbin/diskinfo
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Jun 15 09:42:38 UTC 2011
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
>
> 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?
--
Pawel Jakub Dawidek http://www.wheelsystems.com
FreeBSD committer http://www.FreeBSD.org
Am I Evil? Yes, I Am! http://yomoli.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20110615/4afaf1b2/attachment.pgp
More information about the svn-src-all
mailing list