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
-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to