Date: Fri, 26 Mar 2004 12:43:43 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: Lukas Ertl <le@FreeBSD.org> Subject: Re: Problem with g_unload_class() Message-ID: <20040326114343.GG8930@darkness.comp.waw.pl> In-Reply-To: <1979.1080300848@critter.freebsd.dk> References: <20040326113251.GE8930@darkness.comp.waw.pl> <1979.1080300848@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
--jk5HhkA9Kov5Oxsi Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 26, 2004 at 12:34:08PM +0100, Poul-Henning Kamp wrote: +> >Anyway this will be a big change. +>=20 +> No it isn't. Hmm, we can simulate such functionality, by doing only tests (can we remove this geom? Yes - block geom, return 0; No - unblock all geoms, return an error) in *_destroy_geom() function and do real removals in *_fini(). We block geoms to avoid races between _destroy_geom and _fini, but I'm not sure race is possible there. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --jk5HhkA9Kov5Oxsi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAZBdvForvXbEpPzQRAoLLAJ4kc9zISHRwxXLY1HAhgVne9TYpWACfdou3 ooBFW/YCVf3UexVNH2OO8e0= =oX/V -----END PGP SIGNATURE----- --jk5HhkA9Kov5Oxsi--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040326114343.GG8930>