svn commit: r240822 - head/sys/geom

John Polstra jdp at polstra.com
Wed Sep 26 17:24:12 UTC 2012


On Sep 26, 2012, at 12:20 AM, Pawel Jakub Dawidek wrote:
> We might be able to change the topology lock to LIST_FOREACH_SAFE(), as
> g_wither_provider() can only destroy current provider. This is because
> CAM own the geom and nobody should be able to mess with its provider's
> list, apart from CAM itself. So I'd need to know how CAM ensures that
> two disk_gone() cannot be called for one geom. The answer might be that
> those geoms have always only one provider, but then I cannot explain why
> we have loop there. Maybe jdp@ will remember why.

No, I'm sorry but I don't remember.  It's been a long time!

John


More information about the svn-src-all mailing list