[Sheepdog] [PATCH] sheep: use hash value for vdi attribute object id

Chris Webb chris at arachsys.com
Wed Aug 3 14:50:32 CEST 2011


MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp> writes:

> Sheepdog also uses a hash value of the vdi name to look up vdi
> objects, so it is already difficult to implement vdi rename simply,
> but I think it is not impossible.  For example, if we log all the vdi
> rename operations, we can traverse the renamed vdi name and get the
> correct hash value based on the old vdi name.

Or perhaps make the vdi 'name' an internal uniquely allocated 'id' value and
the displayed name be an attribute of the vdi? (This is what I'm already
doing with sheepdog in our system, as I want to be able to guarantee unique
'names'.)

Cheers,

Chris.



More information about the sheepdog mailing list