Re: RFC - new raid superblock layout for md driver
Jeremy Fitzhardinge (jeremy@goop.org)
21 Nov 2002 23:11:28 -0800
On Tue, 2002-11-19 at 20:09, Neil Brown wrote:
> My current design looks like:
> 	/* constant array information - 128 bytes */
>     u32  md_magic
>     u32  major_version == 1
>     u32  feature_map     /* bit map of extra features in superblock */
>     u32  set_uuid[4]
>     u32  ctime
>     u32  level
>     u32  layout
>     u64  size		/* size of component devices, if they are all
> 			 * required to be the same (Raid 1/5 */
Can you make 64 bit fields 64 bit aligned?  I think PPC will lay this
structure out with padding before size, which may well cause confusion. 
If your routines to load and save the header don't depend on structure
layout, then it doesn't matter.
        J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/