junneyang / zumastor

Automatically exported from code.google.com/p/zumastor
0 stars 1 forks source link

On-disk data not 64 bit clean. #157

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Because our on-disk superblock structure is not declared with the "packed"
attribute and includes elements not aligned to 64 bits, our superblock data
format can vary depending on whether it is initialized on a 32 bit or 64
bit system.

We also need packed attributes for all other on-disk structures, including
btree leaves and nodes.  Journal commit block layout is about the only
on-disk structure correctly declared at the moment.

We should clean this up for the next release and rev the superblock version
number.

Original issue reported on code.google.com by Daniel.R...@gmail.com on 13 Jun 2008 at 1:27