Re: Linux/Pro -- clusters

Alan Cox
2001-12-10T20:26:16Z

> And it means we can get proper refcounting. Which as the maintainer of
> two block drivers that support dynamic volume create/destroy is remarkably
> good news.
>
> You say this as if that would be a difference between the two
> approaches. I don't think it is.

Its easier to make sure its correct when we have a single structure not
a pile of arrays. Object lifetime becomes explicit, and we don't have to
worry about re-use races since a new instance of that major,minor will have
a different object attached to the one in use that is about to be refcounted
into oblivion by currently active requests