Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2008 18:41:00 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Marcel Moolenaar <xcllnt@mac.com>
Cc:        geom@FreeBSD.org
Subject:   Re: Q: force/trigger a retaste 
Message-ID:  <6382.1206124860@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 21 Mar 2008 10:16:12 MST." <500B8D5E-A46F-48AF-A835-97C46ED36F91@mac.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <500B8D5E-A46F-48AF-A835-97C46ED36F91@mac.com>, Marcel Moolenaar wri
tes:

>What needs to
>happen is that an existing class (i.e. the GPART class) gets to taste
>all existing providers again, so that it can attach to providers it
>previously did not attach to (due to a change in the supported schemes).

>Is this correct?

Broadly speaking yes, but you must fire it off as an event so it
gets run in the event thread, otherwise the locking falls apart.

>Shall I make this a generic GEOM function or keep it private to
>GPART?

Make it generic, I can imagine other uses.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6382.1206124860>