[sheepdog] [PATCH v2] sheep: make config file compatible with the previous one
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Tue Aug 21 05:40:55 CEST 2012
At Tue, 21 Aug 2012 10:57:38 +0800,
Liu Yuan wrote:
>
> On 08/21/2012 02:37 AM, MORITA Kazutaka wrote:
> > + uint8_t __pad[5];
> > + uint64_t space;
>
> What is __pad[5] for?
If we don't add the padding, 32 and 64 bit machines read different
data from the same config file. All network protocols and disk
formats should be aligned to 8 bytes, though we support only x86_64
now.
Thanks,
Kazutaka
More information about the sheepdog
mailing list