[Sheepdog] Some setattr/getattr strangeness

Chris Webb chris at arachsys.com
Thu Oct 13 14:35:06 CEST 2011


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

> Sheepdog uses a corosync multicast for all global atomic operations,
> so I think the correct way is to implement a SD_OP_ATOMIC_WRITE_OBJ
> operation with the multicast.
>
> But this limits the size of a vdi attribute to the maximum multicast
> size (a few hundreds KB?).  Is it okay for you?

Hi. That definitely wouldn't cause me any problems, as I'm only using them
for locks (twenty bytes identifying uniquely what has claimed the vdi) and
very simple textual properties (like a drive name). To be honest, I had
assumed that they were intended for very small amounts of metadata like this
rather than for bulk data storage, for which we have vdis themselves, and
didn't realise they'd hold such large chunks of data successfully.

Cheers,

Chris.



More information about the sheepdog mailing list